Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

VS2017 Appx Build Problems - Corrupt/Missing App Styles

$
0
0

We have recently upgraded our build server to VS2017 and are running into problems with the .Appx packages generated for a Windows Store build.
The project is a multi-platform, Xamarin.Forms project targeting UWP. Previously, we were building with VS 2015 with no issues.

The build completes OK and an .appx bundle is created, but when installed the app theme/styles appear to be missing.
It is almost like all the XAML styles are not included, the window bar is black and none of the styles defined in the Xamarin.Forms App.xaml file are applied.

However, everything is fine when building and deploying a debug build on VS2017.
We have found too that disabling .NET native, the resulting appx is fine. So the problem seems related to .NET native compilation.

Looking in the AppManifest.xml, here are the differences between a new package and one built under VS2015:

  • VisualStudio, Version = 14.0 -> 15.0
  • Microsoft.Build.AppxPackage.dll, Version = 14.0.25431.1 -> 15.0.26419.1
  • Microsoft.Windows.UI.Xaml.Build.Tasks.dll, Version = 14.0.25527.1 -> 15.0.26419.1
  • MakePri.exe, Version = 10.0.14393.33 (rs1_release_sec.160727-1952) -> 10.0.14393.795 (rs1_release_sec.170105-1850)

Any ideas?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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