I have a page with 2 datagrids which normally functions perfectly, but when I build in Release mode (with .NET tool chain enabled) the SfDataGrid is throwing an exception:
Exception thrown: 'System.Exception' in Oceaneering.AssetIntegrity.McgInterop.dll
Additional information: ResourceMap Not Found.
Attached is an image of what the grid normally looks like in debug mode and the call stack I recovered by running the release build in the debugger. I will attempt to gather more info (ie comment out various parts of the grid to see if I can debug further), but please let me know if you have any solution or any tips on how to debug this.
1>------ Build started: Project: CommonsIntegrationTests, Configuration: Release x64 ------
2>------ Build started: Project: CommonsTests, Configuration: Release x64 ------
3>------ Build started: Project: AssetIntegrityApp, Configuration: Release x64 ------
3> AssetIntegrityApp -> C:\dev\AssetIntegrityMobile\AssetIntegrityApp\bin\x64\Release\Oceaneering.AssetIntegrity.exe
1> CommonsIntegrationTests -> C:\dev\AssetIntegrityMobile\CommonsIntegrationTests\bin\x64\Release\FyrSoft.Oceaneering.CommonsIntegrationTests.exe
1> Starting .NET Native compilation
1> Processing application code
1>C:\dev\AssetIntegrityMobile\CommonsIntegrationTests\Resources.System.Linq.Expressions.rd.xml(35): warning : ILTransform_0027: Method 'CreateLambda' within 'System.Linq.Expressions.Expression' could not be found.
1>C:\dev\AssetIntegrityMobile\CommonsIntegrationTests\Resources.System.Linq.Expressions.rd.xml(91): warning : ILTransform_0027: Method 'ParameterIsAssignable' within 'System.Linq.Expressions.Expression' could not be found.
1> Computing application closure and generating interop code
1> Generating serialization code
1> Compiling interop code
1> Cleaning up unreferenced code
1> Generating native code
1> Generating fixups for native code
2> CommonsTests -> C:\dev\AssetIntegrityMobile\CommonsTests\bin\x64\Release\FyrSoft.Oceaneering.CommonsTests.exe
2> Starting .NET Native compilation
2> Processing application code
2>C:\dev\AssetIntegrityMobile\CommonsTests\Resources.System.Linq.Expressions.rd.xml(35): warning : ILTransform_0027: Method 'CreateLambda' within 'System.Linq.Expressions.Expression' could not be found.
2>C:\dev\AssetIntegrityMobile\CommonsTests\Resources.System.Linq.Expressions.rd.xml(91): warning : ILTransform_0027: Method 'ParameterIsAssignable' within 'System.Linq.Expressions.Expression' could not be found.
2> Computing application closure and generating interop code
2> Generating serialization code
2> Compiling interop code
2> Cleaning up unreferenced code
2> Generating native code
2> Generating fixups for native code
========== Build: 3 succeeded, 0 failed, 3 up-to-date, 0 skipped ==========