convertersystems / opc-ua-samples

Sample HMIs using OPC Unified Architecture (OPC UA) and Visual Studio.
MIT License
107 stars 43 forks source link

UWP app rebuild issue in Visual Studio 2015 #27

Closed tejasklodha closed 7 years ago

tejasklodha commented 7 years ago

Dear Sir,

When I am download latest sample opc-ua-samples on today and try to rebuild in my visual studio then give below error

Error The Microsoft.Net.Native.Compiler package, included in Microsoft.NETCore.UniversalWindowsPlatform 5.3 and later, is only supported in Visual Studio 2017 and later. You can downgrade the version of the Microsoft.NETCore.UniversalWindowsPlatorm NuGet package to 5.2.* or earlier for Visual Studio 2015. Workstation.Common.Uwp

I downgrade Microsoft.NETCore.UniversalWindowsPlatform to 5.1.0 , 5.2.2 , 5.2.3 but still getting same error...

also delete the all content from bin and obj folder and try to rebuild but getting same errors. What should I do if i want to run code in Visual studio 2015?

Thanks,

awcullen commented 7 years ago

Check if your building a Debug or Release build.

If you wish to compile a Release Build you can open UWP project properties and on the Build tab you can uncheck the [ ] Compile with .NET Native Tool Chain.

But I have not been able to run release build of the 'RobotApp' because of unhandled exceptions. If I remove the robot, it runs, so the unhandled exception may be in Urhu3d.

tejasklodha commented 7 years ago

Dear Sir,

Resolved issue after update 2.0.0-RC5

Thanks,