Reputation: 4811
I installed widnoews 10 Visual studio 2015 and enabled developer account from settings and created a empty Universal app and nothing i added as my own . When i try to build the code it shows the error
Error Build action 'Page' is not supported by the specific combination of the project's targets. HelloWorldWin10 C:\LabWork Codes\HelloWorldWin10\HelloWorldWin10\MainPage.xaml 0
Is anything wrong in installation or do need to enable more something different Screenshot is also attached here
And there is one more error
Now what i did is Unlinked my microsoft account and restart machine reopen Visual studio now build error disappeared but my xaml designer is now not loading
Upvotes: 1
Views: 1252
Reputation: 4811
Delete platform Environment variable helps to fix my problems
Here is one link explains similar issue
Upvotes: 1
Reputation: 46
Can you generate diagnostic build output for your project and share it? I can take a quick look on which component in the build pipeline is failing.
You can generate diagnostic output by going to Tools --> Options --> Project and Solutions --> Build and run and setting MSBuild project build output verbosity and build log file verbosity to "Diagnostic".
Once done, rebuild the project and copy the log from the output window.
If you can upload the log on a public shared location (ex: OneDrive), I can take a look.
Upvotes: 0