New to apx. Howto?

Hi

I want to publish my app to the store but new to packing unity3d windows store.
How do you pack it into apx to submit to windows store?
I published it and I have some error with c:/buildslave missing.
Nowhere it says to copy files there. What is that about?

In order to create an AppX package, in Visual Studio press Project → Store → Create AppX Package.

Could not copy the file “E:\UnityProjects\Straight3d-wstore\bin\Store 8.1\x86\Release\Unprocessed\Assembly-CSharp.dll” because it was not found.
I get these errors when I try this. Where do I find these files?

Build from Unity to an empty directory, open the solution, build Master configuration, then create package.

1>------ Rebuild All started: Project: Assembly-CSharp-firstpass-metro-vs2013, Configuration: Debug ARM ------
1>CSC : error CS1509: The referenced file ‘C:\Program Files\Reference Assemblies\Microsoft\Framework.NETCore\v4.5.1\System.EnterpriseServices.Wrapper.dll’ is not an assembly
1>CSC : error CS0009: Metadata file ‘C:\Program Files\Reference Assemblies\Microsoft\Framework.NETCore\v4.5.1\System.EnterpriseServices.Thunk.dll’ could not be opened – PE image doesn’t contain managed metadata.
2>------ Build started: Project: Assembly-CSharp-metro-vs2013, Configuration: Debug ARM ------
error MSB3030: Could not copy the file “E:\UnityProjects\Straight3d-wstore\bin\Store 8.1\ARM\Debug\Unprocessed\Assembly-CSharp.dll” because it was not found.

I tried rebuild and build and still get this error.

Does this file exist?

Yes I have it.
C:\Program Files\Reference Assemblies\Microsoft\Framework.NETCore\v4.5.1\System.EnterpriseServices.Thunk.dll

It doesn’t exist on my machine - it’s weird that it exists on yours. Where did you install the SDK from? Did you by any chance mess with files in that folder?

But how did you get it to work if its missing? I think I did have to rename the folder or something.
What do you remember?

That file isn’t needed, but its existence seems to be causing problems for you. I’d suggest reinstalling Windows 8.1 SDK and not mess with the SDK folders again.

[1>C:\Program Files\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
1

](Windows Dev Center | Microsoft Developer)
Windows Dev Center | Microsoft Developer
This is what Im reinstalling

Wait, something seems to be wrong here. When building from Unity which SDK do you choose?

I use 8.1 and I tried 8.0

For that you need 8.1 SDK. Have you installed it along with Visual Studio? Launching VS installer again can help you figure this out, as well as you can repair the installation.

alright I reinstalled visual studio 2015 but I get this answer on unity

UnityException: Reference assemblies directory not found.
Make sure Visual Studio 2013 is installed.

Must I rollback to 2013?

I tried to install 2013 but its not working. Ive got 2015 installed. What else do I need?

Could not start compilationDirectoryNotFoundException: Directory ‘C:\Program Files\Reference Assemblies\Microsoft\Framework.NETCore\v4.5.1’ not found.

This is the error I get. A solution I found is to rename my directory to that but maybe not a good idea.
Is rolling back to Visual Studio 2013 the solution?

If I remember correctly, it does not install properly if you install VS2013 when you already have VS2015. You don’t actually need VS2013, just when installing VS2015 you have to select 8.1 support, as it’s not installed by default.

Then what is this about
Could not start compilationDirectoryNotFoundException: Directory ‘C:\Program Files\Reference Assemblies\Microsoft\Framework.NETCore\v4.5.1’ not found.

You said you looked on your machine and this also dont exist.

That wasn’t me, it exists on my machine, except that it’s Program Files (x86), as I’m using 64-bit version of Windows.