uwp-experiences
uwp-experiences copied to clipboard
Weather app - missing assembly references?
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?
@petriw
ping @petriw
@nmetulev @petriw Any word on this?
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..