Building error when building for windows phone(UWP).

I was trying to build my project to UWP but unfortunately i faced 2 error messages

I am using windows 10 and visual studio 2015 community

ERROR 1

Exception: Failed to build Visual Studio project using arguments ‘C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe “C:\Users\Shubham\Desktop\Dan\New Unity Project.sln” /nologo /maxcpucount /p:Configuration=Master /p:Platform=x86 /p:SolutionDir=“C:\Users\Shubham\Desktop\Dan\” /t:Build /clp:Verbosity=minimal’.
Output: UnityInstallationDir “C:\Program Files\Unity\Editor”.
UnityWSAPlayerDir “C:\Program Files\Unity\Editor\Data\PlaybackEngines\metrosupport”.
UnityProjectDir “C:\Users\Shubham\Documents\New Unity Project”.
Copying unprocessed assemblies…
Running AssemblyConverter…
AssemblyConverter done.
New Unity Project → C:\Users\Shubham\Desktop\Dan\New Unity Project\bin\x86\Master\New Unity Project.exe
Starting .NET Native compilation
Processing application code
Computing application closure and generating interop code
Generating serialization code
Compiling interop code
C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\IlcInternals.targets(886,5): warning : Method ‘PropertyDispatcherFactory.Accessor(PropertyInfo, SetOrGet)’ will always throw an exception due to the missing method ‘PropertyInfo.GetSetMethod(bool)’. There may have been a missing assembly. [C:\Users\Shubham\Desktop\Dan\New Unity Project\New Unity Project.csproj]
C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\IlcInternals.targets(886,5): warning : Method ‘SliceDispatcherFactory.CreateSetter(MemberInfo)’ will always throw an exception due to the missing method ‘PropertyInfo.GetSetMethod(bool)’. There may have been a missing assembly. [C:\Users\Shubham\Desktop\Dan\New Unity Project\New Unity Project.csproj]
C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\IlcInternals.targets(886,5): warning : Method ‘SliceDispatcherFactory.d__f.MoveNext()’ will always throw an exception due to the missing method ‘PropertyInfo.GetSetMethod(bool)’. There may have been a missing assembly. [C:\Users\Shubham\Desktop\Dan\New Unity Project\New Unity Project.csproj]
C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\IlcInternals.targets(886,5): warning : Method ‘ExtensionRegistry.AddExtensionMembers(List, Type)’ will always throw an exception due to the missing method ‘Type.GetMembers(BindingFlags)’. There may have been a missing assembly. [C:\Users\Shubham\Desktop\Dan\New Unity Project\New Unity Project.csproj]
Cleaning up unreferenced code
Generating native code
Generating fixups for native code
Package.appxmanifest(18,101): error APPX1619: App manifest references the small logo image ‘Assets\SmallLogo.scale-100.png’ which does not have valid dimensions. It must be 44x44 pixels. [C:\Users\Shubham\Desktop\Dan\New Unity Project\New Unity Project.csproj]

ApplicationLauncherImpl.RunMSBuild (System.String args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:290)
ApplicationLauncherImpl.Build () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:174)
ApplicationLauncher.BuildAndRun (BuildLaunchPlayerArgs args, WSASDK wsaSDK) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:56)
ApplicationLauncher.BuildAndRun (BuildLaunchPlayerArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:46)
UnityEditor.Metro.BuildPostprocessor.LaunchPlayer (BuildLaunchPlayerArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:72)
UnityEditor.PostprocessBuildPlayer.Launch (BuildTarget target, System.String path, System.String productName, BuildOptions options) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:282)
UnityEditor.HostView:OnGUI()

ERROR 2

Exception: Failed to build Visual Studio project using arguments ‘C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe “C:\Users\Shubham\Desktop\Dan\New Unity Project.sln” /nologo /maxcpucount /p:Configuration=Master /p:Platform=x86 /p:SolutionDir=“C:\Users\Shubham\Desktop\Dan\” /t:Build /clp:Verbosity=minimal’.
Output: UnityInstallationDir “C:\Program Files\Unity\Editor”.
UnityWSAPlayerDir “C:\Program Files\Unity\Editor\Data\PlaybackEngines\metrosupport”.
UnityProjectDir “C:\Users\Shubham\Documents\New Unity Project”.
Copying unprocessed assemblies…
Running AssemblyConverter…
AssemblyConverter done.
New Unity Project → C:\Users\Shubham\Desktop\Dan\New Unity Project\bin\x86\Master\New Unity Project.exe
Starting .NET Native compilation
Processing application code
Computing application closure and generating interop code
Generating serialization code
Compiling interop code
C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\IlcInternals.targets(886,5): warning : Method ‘PropertyDispatcherFactory.Accessor(PropertyInfo, SetOrGet)’ will always throw an exception due to the missing method ‘PropertyInfo.GetSetMethod(bool)’. There may have been a missing assembly. [C:\Users\Shubham\Desktop\Dan\New Unity Project\New Unity Project.csproj]
C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\IlcInternals.targets(886,5): warning : Method ‘SliceDispatcherFactory.CreateSetter(MemberInfo)’ will always throw an exception due to the missing method ‘PropertyInfo.GetSetMethod(bool)’. There may have been a missing assembly. [C:\Users\Shubham\Desktop\Dan\New Unity Project\New Unity Project.csproj]
C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\IlcInternals.targets(886,5): warning : Method ‘SliceDispatcherFactory.d__f.MoveNext()’ will always throw an exception due to the missing method ‘PropertyInfo.GetSetMethod(bool)’. There may have been a missing assembly. [C:\Users\Shubham\Desktop\Dan\New Unity Project\New Unity Project.csproj]
C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\IlcInternals.targets(886,5): warning : Method ‘ExtensionRegistry.AddExtensionMembers(List, Type)’ will always throw an exception due to the missing method ‘Type.GetMembers(BindingFlags)’. There may have been a missing assembly. [C:\Users\Shubham\Desktop\Dan\New Unity Project\New Unity Project.csproj]
Cleaning up unreferenced code
Generating native code
Generating fixups for native code
Package.appxmanifest(18,101): error APPX1619: App manifest references the small logo image ‘Assets\SmallLogo.scale-100.png’ which does not have valid dimensions. It must be 44x44 pixels. [C:\Users\Shubham\Desktop\Dan\New Unity Project\New Unity Project.csproj]

Please help. I have been working on the project since 2 months and now this. :frowning:

THANK YOU

Maybe you should scale all of your images to scale 200% (default scale of UWP) and rebuild again. It worked when I had the same errors. Other scale didn’t work in my case. I got that solution from this blog: http://blogs.msdn.com/b/maartenb/archive/2015/10/06/missing-default-200-logos-and-appx3210.aspx
I hope this will help.