Building windows store in visual studio error

When I try to run on local machine windows store exported project I get this error output

Severity Code Description Project File Line Suppression State
Error The command ““C:\Users\Nemanja\Desktop\WSA-Vungle1\Unity\Tools\AssemblyConverter.exe” -platform=uap -lock=“C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\project.lock.json” -bits=64 -configuration=Debug -removeDebuggableAttribute=False -uwpsdk=10.0.15063.0 -path=”." -path=“C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x64\Debug” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Assembly-CSharp-firstpass.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Assembly-CSharp.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityEngine.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Stores.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityEngine.Analytics.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\winrt.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\ChannelPurchase.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\nunit.framework.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityEngine.UI.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Purchasing.Common.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Security.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\DOTween46.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\FacebookStore.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\DOTween.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Apple.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityEngine.Networking.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\DOTween43.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityStore.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\DOTween50.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityEngine.Purchasing.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Newtonsoft.Json.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Facebook.Unity.Settings.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Tizen.dll”" exited with code 1.

I followed this link for help:
https://darkgenesis.zenithmoon.com/resolving-build-issues-for-uwp-packages-with-unity/

But only thing I did not do is upgrading to Unity 2017 because I need to build it with 5.6.1.

I did several builds before i reinstalled windows and this error started appearing ever since i reinstalled windows.

Thanks in advance.

Can you paste the contents of the output window in Unity? Did you mark any of your DLLs as “don’t process”? Did you modify the generated VS project in any way? Did you get any errors in Unity console when building your project?

I noticed now that all dll files are in Unprocessed folder in exported visual studio project. What should I put as a Build Action on these files?

You shouldn’t modify any of those settings.

But i didn’t modify them in first place. They are like that when I build WSA project from unity and open it in Visual Studio. I just thought it was relevant to your question because you asked if I marked any of DLLs as “dont’ process”, but I don’t know where are those options so I didn’t.

So they should stay in Unprocessed folder? Or is there something else I can do?

Marking “don’t process” is done in Unity in the plugin inspector when you click on a DLL. Not in Visual Studio - sorry for not making that clear.

These DLLs should stay in Unprocessed folder - build action Unity generates is correct.

I’ll wait for answers to my other questions before commenting further - I’m still not sure what causes this.

I didn’t modify VS generated project. There were no errors in Unity after build. And I don’t understand which output? Do you mean warnings?

Sorry, I meant “Output window” in Visual Studio, not Unity. Could you also attach your editor log after building the Unity project?

In my first post I copied output window in visual studio:

Severity Code Description Project File Line Suppression State
Error The command ““C:\Users\Nemanja\Desktop\WSA-Vungle1\Unity\Tools\AssemblyConverter.exe” -platform=uap -lock=“C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\project.lock.json” -bits=64 -configuration=Debug -removeDebuggableAttribute=False -uwpsdk=10.0.15063.0 -path=”." -path=“C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x64\Debug” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Assembly-CSharp-firstpass.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Assembly-CSharp.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityEngine.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Stores.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityEngine.Analytics.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\winrt.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\ChannelPurchase.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\nunit.framework.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityEngine.UI.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Purchasing.Common.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Security.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\DOTween46.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\FacebookStore.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\DOTween.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Apple.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityEngine.Networking.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\DOTween43.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityStore.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\DOTween50.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\UnityEngine.Purchasing.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Newtonsoft.Json.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Facebook.Unity.Settings.dll” “C:\Users\Nemanja\Desktop\WSA-Vungle1\Hidden Investigation Who did it\Tizen.dll”" exited with code 1.

I’ll attach Editor.log

3425580–270483–Editor.txt (683 KB)
3425580–270483–Editor.txt (683 KB)

You pasted the contents of the “error list” window. It does not contain enough information. I need to see what’s inside “Output” window. In either case, you’re on a pretty old Unity version. Could you at least update to latest 5.6 release?

I solved issue by installing visual studio 2015 and building WSA project from Unity with UWP SDK 10.0.14393.0