Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

Microsoft.NetNative.targets(788,5): error : Internal compiler error: Specified cast is not valid.

$
0
0

I am complete lost!!!

I using VS2019, project Xamarin Form

Compile perfect in DEBUG mode, but when I create a package to publish to the store

Same error

 C:\Users\JorgeGO\.nuget\packages\microsoft.net.native.compiler\2.1.8\tools\Microsoft.NetNative.targets(788,5): error : Internal compiler error: Specified cast is not valid.

I don't know how to fix it, please any help...!!

2>  Running 'GetType' transform, heap at 1275 MB.
2>  Running 'McgFixups' transform, heap at 1279 MB.
2>  Running 'ResourceManagerCtor' transform, heap at 1283 MB.
2>  Running 'TypeofTypeHandle' transform, heap at 1283 MB.
2>  Running 'DispatchProxyIntrinsics' transform, heap at 1301 MB.
2>  Running 'StaticInitData' transform, heap at 1305 MB.
2>  Running 'Delegate' transform, heap at 1363 MB.
2>  Running 'LazyGenerics' transform, heap at 1271 MB.
2>  Running 'AddReflectionBlockedAttributes' transform, heap at 1350 MB.
2>  Running 'DisableOptimization' transform, heap at 1350 MB.
2>  Running 'AddSatelliteAssembliesToList' transform, heap at 1350 MB.
2>  Running 'ResourceExtractor' transform, heap at 1360 MB.
2>  Running 'CreateMetadata' transform, heap at 1366 MB.
2>C:\Users\JorgeGO\.nuget\packages\microsoft.net.native.compiler\2.1.8\tools\Microsoft.NetNative.targets(788,5): error : Internal compiler error: Specified cast is not valid.
2>
2>Build FAILED.
2>


Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>