• 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
0
Question by SpiralConDave · Oct 18, 2017 at 05:16 AM · buildvisual studiowindows 10

Why won't 2017.2 and VS build at all (HoloLens)

Got 2017.2.0f3. Updated to 'Fall Creator Update'. Fresh install of VS 2017 Community

Empty project. Empty scene except for camera. Set Build settings for HoloLens.

Unity builds fine.

Open SLN file in VS 2017. 1000 errors, most like this:

1>D:\Unity\20172Test\App\20172Test\Properties\AssemblyInfo.cs(9,32,9,34): error CS0518: Predefined type 'System.String' is not defined or imported

Seriously. Everything inlcludes System and all the requisite 'usings'. Googling shows people having this type of issue since 2007, not in Unity.

Probably missing something obvious, but it's killing me

Comment
Add comment · Show 3
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 SpiralConDave · Oct 18, 2017 at 05:40 PM 0
Share

More info: I backed my empty project down to 2017.2b2 (Beta 2) and it DID BUILD. And it RUNS on the HoloLens. So 2017.2.0f3 DOES NOT WORK #Unity WTAF? Did you not test this?

avatar image SpiralConDave · Oct 18, 2017 at 05:46 PM 0
Share

More more info: I then loaded my now-working-in-B2 project into 2017.2.0f3, build, and guess what, it builds and runs. So SOMETHING about the default state of a fresh install of .2.0f3 and VS 15.4 doesn't work, but building from an earlier version and then importing to current version may fix it.

avatar image ariese · Oct 18, 2017 at 06:03 PM 0
Share

Not sure if this will help, but I am using Unity 2017.1.1f and Visual Studio version 15.0.0 and it builds. I couldn't get VS 15.4 to work with any versions of unity on the hololens.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by SpiralConDave · Oct 19, 2017 at 02:17 AM

Maybe this: In Visual Studio, Tools Menu/NuGet Package Manager/Settings. Make sure the top 2 boxes are checked to allow getting of missing packages on build.

I still call Foul that this is not on by default, and that something as basic as System is not just simply there, how can it be missing?

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

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

80 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 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

Visual Studio load failed 0 Answers

How do I re-open my UWP app? 1 Answer

Distribute terrain in zones 3 Answers

WinStore - Visual Studio Command Exited with Code 1 0 Answers

UWP Build Failing 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges