delegateas/XrmContext

GlobalOptionSets has a 'using DG.XrmContext'

Closed this issue · 3 comments

After generating the C# context, the file GlobalOptionSets.cs as a using statement to DG.XrmContext.

This using statement fails the overal compilation of the code.

Temp fix: I remove this statement.

See git-diff after re-generating the context:
error

It seems that the upgrade to 3.0.0 (which moved XrmExtensions.cs to the user specified namespace instead of DG.XrmContext) has caused this error, as this using statement was overlooked. This should only be an issue when using the onefile = "false" argument.

This should be fixed in 3.0.1

Thanks! I can validate that it works.