microsoft / CDM

The Common Data Model (CDM) is a standard and extensible collection of schemas (entities, attributes, relationships) that represents business concepts and activities with well-defined semantics, to facilitate data interoperability. Examples of entities include: Account, Contact, Lead, Opportunity, Product, etc.
https://powerplatform.microsoft.com/en-us/common-data-model/
Creative Commons Attribution 4.0 International
1.67k stars 526 forks source link

Error while loading the .sln file of the CDM Samples #371

Closed sing-ideas closed 7 months ago

sing-ideas commented 9 months ago

Hi, We are getting these error message, when we tried to open the .sln file of How to use samples? 1-read-manifest

Last month in Nov 2023 it was working?

---------------------**------------------------------------ Severity Code Description Project File Line Suppression State Error NU1105 Unable to find project information for 'C:\Users\SingaraveluSStackRad\source\repos\Github\Microsoft.CDM\objectModel\CSharp\Microsoft.CommonDataModel.ObjectModel.Adapter.CdmStandards\Microsoft.CommonDataModel.ObjectModel.Adapter.CdmStandards.csproj'. If you are using Visual Studio, this may be because the project is unloaded or not part of the current solution so run a restore from the command-line. Otherwise, the project file may be invalid or missing targets required for restore. Microsoft.CommonDataModel.ObjectModel C:\Users\SingaraveluSStackRad\source\repos\Github\Microsoft.CDM\objectModel\CSharp\Microsoft.CommonDataModel.ObjectModel\Microsoft.CommonDataModel.ObjectModel.csproj 1
---------------------**------------------------------------

CDM Error Mssg - Samples - 1-read-manifest

### Tasks

CDM Error Mssg - Samples - 1-read-manifest - screenshot2

### Tasks
sing-ideas commented 9 months ago

.Net Runtime encountered the below error, how to fix this?

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0006?f1url=%3FappId%3Droslyn%26k%3Dk(CS0006)

"Failed to create CoreCLR, HRESULT: 0x80070057" indicates that the .NET runtime encountered a problem while trying to initialize itself when running your application read-manifest.exe.

mafrisci commented 7 months ago

This can be fixed by manually adding the Cdmstandards project file to the solution: https://github.com/microsoft/CDM/blob/master/objectModel/CSharp/Microsoft.CommonDataModel.ObjectModel.Adapter.CdmStandards/Microsoft.CommonDataModel.ObjectModel.Adapter.CdmStandards.csproj

We will also fix this issue in the next release.