xamarin.forms UWP cant compile in release mode
Hi,
We are having issues compiling our Xamarin.Forms UWP application in release mode. If we just keep trying it will sometimes compile and work but it takes like 10-20 times. Then submission to the store will fail with some unknown error. If we keep submitting it it will make it through... but again its very frustrating to wait an hour or 2 then resubmit again.
Yes we have tried the x64 compile flags, yes we have tried the single thread nutc driver flags.
Kind of stuck, any help please
Xamarin
Universal Windows Platform (UWP)
.NET Runtime
-
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,861 Reputation points
2022-03-10T02:51:28.273+00:00 It looks you have used some incompatible library cause ILT 0005 problem. could you mind share what nuget package you have used?
-
Curtis Conner 1 Reputation point
2022-03-10T03:48:06.14+00:00 Attached is the list of references we use. Question why does it compile and work if we just try to compile it over and over?
-
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,861 Reputation points
2022-03-10T04:16:10.077+00:00 Have you published to store successfully before?
-
Curtis Conner 1 Reputation point
2022-03-10T04:18:08.8+00:00 yes, again we try to build, it fails, then build again, takes about 5 to 10 times and then it will build. Then submitting to the store, same thing, fails and then we retry. finally it will make it but it takes about 10 submissions before it succeeds
-
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,861 Reputation points
2022-03-10T07:34:57.51+00:00 why VCLibs has waring ? can you try to re-add it ?
-
Curtis Conner 1 Reputation point
2022-03-10T08:57:01.367+00:00 re-added, no warnings and still the same error
-
Curtis Conner 1 Reputation point
2022-03-10T09:23:57.437+00:00 So how can we debug this? the builds are getting harder and harder to get right? What tools are there to use to debug this and get it fixed. Its becoming a huge priority
-
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,861 Reputation points
2022-03-10T09:32:18.637+00:00 Have you used
runtime.win10-arm64.runtime.native.system.io.compression
nuget. can you try remove it? by the way please don't add answer below if it could not answer the question pleas check When to use answers or comments . -
Curtis Conner 1 Reputation point
2022-03-10T10:16:30.913+00:00 Yes we were using it, i removed it and get the same
"C:\Users\curtisconner\Repos\ZiiDMS\Client\BrpGlobalDMS\BrpGlobalDMS.sln" (BrpGlobalDMS_UWP target) (1) ->
"C:\Users\curtisconner\Repos\ZiiDMS\Client\ClientApp\BrpGlobalDMS.UWP\BrpGlobalDMS.UWP.csproj" (default target) (2) ->
(BuildNativePackage target) ->
C:\Users\curtisconner.nuget\packages\microsoft.net.native.compiler\2.2.11-rel-30601-02\tools\Microsoft.NetNative.targets(805,5): error : ILT0005: 'C:\U
sers\curtisconner.nuget\packages\runtime.win10-x64.microsoft.net.native.compiler\2.2.11-rel-30601-02\tools\x64\ilc\Tools\nutc_driver.exe @"C:\Users\curti
sconner\Repos\ZiiDMS\Client\ClientApp\BrpGlobalDMS.UWP\obj\x64\Release\ilc\intermediate\MDIL\BrpGlobalDMS.UWP.rsp"' returned exit code 1 [C:\Users\curtisc
onner\Repos\ZiiDMS\Client\ClientApp\BrpGlobalDMS.UWP\BrpGlobalDMS.UWP.csproj] -
Curtis Conner 1 Reputation point
2022-03-11T02:25:18.24+00:00 No still the same error after removing it
C:\Users\curtisconner\Repos\ZiiDMS\Client\BrpGlobalDMS\BrpGlobalDMS.sln" (BrpGlobalDMS_UWP target) (1) ->
"C:\Users\curtisconner\Repos\ZiiDMS\Client\ClientApp\BrpGlobalDMS.UWP\BrpGlobalDMS.UWP.csproj" (default target) (2) ->
(BuildNativePackage target) ->
C:\Users\curtisconner.nuget\packages\microsoft.net.native.compiler\2.2.11-rel-30601-02\tools\Microsoft.NetNative.targets(805,5): error : ILT0005: 'C:\U
sers\curtisconner.nuget\packages\runtime.win10-x64.microsoft.net.native.compiler\2.2.11-rel-30601-02\tools\x64\ilc\Tools\nutc_driver.exe @"C:\Users\curti
sconner\Repos\ZiiDMS\Client\ClientApp\BrpGlobalDMS.UWP\obj\x64\Release\ilc\intermediate\MDIL\BrpGlobalDMS.UWP.rsp"' returned exit code 1 [C:\Users\curtisc
onner\Repos\ZiiDMS\Client\ClientApp\BrpGlobalDMS.UWP\BrpGlobalDMS.UWP.csproj]
Sign in to comment