Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by K_zero · Dec 26, 2014 at 10:54 PM · errorbuildwindowscompilephone

How to fix Unity compiler error when building WP8.1 game?

I made an adaption of the Roll-a-Ball tutorial game into a WP8.1 (windows phone 8.1) game. Upon attempting to build the game: I got this error:

 Could not start compilationException: 'References\CommonConfiguration\Neutral\Windows.winmd' not found, do you have Windows Phone 8.1 SDK installed?
 UnityEditor.Scripting.Compilers.MicrosoftCSharpCompiler.FillNETCoreCompilerOptions (MetroSDK metroSDK, System.Collections.Generic.List`1 arguments, System.String& argsPrefix) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/MicrosoftCSharpCompiler.cs:134)
 UnityEditor.Scripting.Compilers.MicrosoftCSharpCompiler.StartCompiler () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/MicrosoftCSharpCompiler.cs:225)
 UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:47)
 UnityEditor.HostView:OnGUI()
 

I then downloaded the 8.1 sdk on my D drive.

Same error on build.

I then copied the "Windows Kits" folder to "C:\Program Files (x86)".

Same error on build.

I then copied the "Windows Kits" folder back to my D drive and reinstalled the 8.1 sdk on my C drive.

Same error on build.

I discovered the "Windows Kits" folder was not in my "C:\Program Files (x86)" folder, so I copied it there from my old install.

Same error on build.

I tried copying the "Windows Kits" folder to "Program Files".

Same error on build.

What else can I do? How can I fix this problem?

EDIT: I fixed the problem and posted an answer about how I fixed it.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by K_zero · Dec 28, 2014 at 02:44 PM

I figured it out. It turned out the problem was nothing to do with the sdk, I actually needed to install visual studio 2013. I installed it to the default directory and had no build errors.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
11

Answer by DevGallie · Nov 04, 2015 at 09:45 PM

You can also get this error when on Windows 10 using Unity 5.2.1f1 and Visual Studio 2015. That is when the extra Visual Studio 2015 modules for Windows Phone 8.1 are not yet installed.

You can add the modules in Control Panel -> Programs and Features -> Microsoft Visual Studio ... 2015 -> Modify.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image zzzzzz789 · Jan 25, 2016 at 11:59 AM 0
Share

Thank you! This worked for me.

avatar image Anisoropos · Feb 11, 2016 at 11:31 PM 0
Share

Worked for me as well :) Should be marked as the correct answer, it's more elegant than keeping two VS versions.

avatar image ajaygh007 · Oct 27, 2016 at 09:07 AM 0
Share

but what we have to modify there? there are ton of options requires around 40 gigs of space.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Error to compile on windows phone plataform 1 Answer

Failed to add the asset file size for resources.resource UnityEditor.BuildPlayerWindow:BuildPlayerAndRun() 0 Answers

windows 8.1, won't export out to win8 1 Answer

Game not working after build 0 Answers

Why am I getting this error exporting to win 8 store? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges