Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Weather app - missing assembly references? #38

Open
MadMaxMcKinney opened this issue Jun 26, 2017 · 3 comments
Open

Weather app - missing assembly references? #38

MadMaxMcKinney opened this issue Jun 26, 2017 · 3 comments

Comments

@MadMaxMcKinney
Copy link

MadMaxMcKinney commented Jun 26, 2017

I have unity installed in the default location, but when I open the test project and build it I get these errors.

I'm also curious how the UWP app can access the class from the Unity project without them being connected? Do you need to include the Unity project in the same directory as the UWP one?

error

@petriw

@nmetulev
Copy link
Member

ping @petriw

@MadMaxMcKinney
Copy link
Author

@nmetulev @petriw Any word on this?

@petriw
Copy link
Contributor

petriw commented Jul 27, 2017

Looks strange. You will need to set up the Unity project on your local machine (do you see the weather spheres and so on when you press Play in Unity? You can use Scene view to navigate), and then do an export on the same directory. The scripts and assets for the Unity project are build with the project content so they can be called as normal classes (in this case they are static) in the solution.

If this does not work, try to export to a new blank folder to see if it compiles, then you can copy the XAML and C# over to this project (just replace the files) and see if you can get that to build. This should not be necessary though..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants