Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
This question was closed Dec 30, 2015 at 04:08 PM by Zythus for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by Zythus · Dec 30, 2015 at 02:20 PM · c#unity 5assembly

The project Assembly-Csharp cannot be started directly

Hello, I created my project in Unity 5.3 using Visual Studio, I can play it in editor without problems. Now I tried to build it into Windows Store Application, since it is supposed to be a mobile game. I tried doing it according to this tutorial: https://channel9.msdn.com/blogs/shahedC/Publish-a-Windows-10-Game-with-Unity-5 These are my build settings: alt text

Builds into a folder, and creates the solution. When I go into the solution, in the solution explorer it shows the solution as 3 projects.

I get 1 error and 163 warnings, some of them about obsolete components and that's fine for now, and some worse ones when debugging.

When trying to Build as x64 it doesn't build and the error is:

Could not copy the file "C:\Users\User1\Desktop\Game\UWP\Assembly-CSharp-firstpass\bin\x64\Debug\Unprocessed\Assembly-CSharp-firstpass.dll" because it was not found. C:\Users\User1\Desktop\Windows Store XAML Build\Game\Game.csproj 252
Also, that processor architecture of my project doesn't match the processor architecture of Assembly-Csharp project.

When trying to build as ARM or x86 it doesn't build and the error is:

(Error) Cannot find type System.SystemException in module CommonLanguageRuntimeLibrary

In both cases it throws back warnings, some of them like these:

(Warning) Failed to resolve all project references for 'Game'. The package restore result for 'Game' may be incomplete.

(Warning) The referenced component 'System.Core' could not be found.
(Warning) The referenced component 'mscorlib' could not be found.

And when pressing the green arrow with "Start" by it, it shows: The project "Assembly-Csharp" cannot be started directly.

How to get rid of this? I do have WIN10 SDK installed, and .NetFrameworks as well. Also, my project.json file: alt text

json.png (8.1 kB)
build-settings.png (44.0 kB)
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

1 Reply

  • Sort: 
avatar image
0

Answer by Zythus · Dec 30, 2015 at 04:08 PM

I tried to target different frameworks and stuff, did a rebuild of the project and it worked now. Consists of 1 project instead of 3 now.

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

Follow this Question

Answers Answers and Comments

61 People are following this question.

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

Related Questions

Nav Mesh Problem with SetDestination 1 Answer

C#- confused about learning 1 Answer

Hi Everyone Please help me with Unity And Admob integration 0 Answers

How to detect if vive headset is idle 0 Answers

how do i check if a gameobject is not active? 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