Closed tylersand closed 11 months ago
Adding DatabaseIdentifiers.cs and FetchXml.Extensions.cs from MarkMpn.Sql4Cds.Engine seems to have resolved my issue. I do see those added to the code share project in the latest repo; so not sure why they are not included in the NuGet package.
I added the MarkMpn.Sql4Cds.Engine.FetchXml NuGet package to a solution and it fails to build. Other than Microsoft.CrmSdk.CoreAssemblies, are there other dependencies? Sorry if this is documented but I did not see anything specific to this minimal NuGet package.
Severity Code Description Project File Line Suppression State
Error CS1061 'FetchType' does not contain a definition for 'DataSource' and no accessible extension method 'DataSource' accepting a first argument of type 'FetchType' could be found (are you missing a using directive or an assembly reference?) FetchToSQLTest ...\App_Packages\MarkMpn.Sql4Cds.Engine\FetchXml2Sql.cs 93 Active
Error CS1061 'FetchType' does not contain a definition for 'DataSource' and no accessible extension method 'DataSource' accepting a first argument of type 'FetchType' could be found (are you missing a using directive or an assembly reference?) FetchToSQLTest ...\App_Packages\MarkMpn.Sql4Cds.Engine\FetchXml2Sql.cs 100 Active
Error CS1061 'condition' does not contain a definition for 'ValueOf' and no accessible extension method 'ValueOf' accepting a first argument of type 'condition' could be found (are you missing a using directive or an assembly reference?) FetchToSQLTest ...\App_Packages\MarkMpn.Sql4Cds.Engine\FetchXml2Sql.cs 661 Active
Error CS0103 The name 'DatabaseIdentifiers' does not exist in the current context FetchToSQLTest ...\App_Packages\MarkMpn.Sql4Cds.Engine\FetchXml2Sql.cs 2496 Active