Reputation: 21
I am asking this question - and I know that there are multiple ones here in StackOverflow and other sites - because I have tried everything out there but no solution.
My problem is that this error that appears whenever I try to start the UWP app:
I'm using Visual Studio 2017.
Upvotes: 2
Views: 1869
Reputation: 11797
I've had this problem for a while. People suggest a lot of random workarounds (clean the project, move the project folder, repair/reinstall Visual Studio, delete configuration files, and so on).
This is the most sensible solution I've found, and the one that worked for me. Basically, just open the Project properties, Build tab and make sure the option "Compile with .NET Native tool chain" is checked.
Upvotes: 2