I`ve created a new project of a windows 8 application. I want to create it with c#/xaml. I'm creating project and than I press F5 and I get
The "CompileXaml" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Windows.UI.Xaml.Build.Tasks.CompileXaml.CheckForDesignTimeBuildMode()
at Microsoft.Windows.UI.Xaml.Build.Tasks.CompileXaml.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__20.MoveNext()
I didn`t change anything. Same thing happens when I chose BlankTemplate, SplitTemplate, GridTemplate.
Dunno what to do
I solved the problem. Tbh I`m not sure how I did this.
I've uninstalled all visual stuidos and downloaded latest version of Visual Studio 2012 RC from MS site. Installed it from scratch and it worked
Upgrade your Visual Studio 2013 from Update 2 to Update 4. When you Build your project it gives and error about Hyper - V Network adapter. To Solve that, allow to change in Hyper -V Network Adapter settings by click on "Retry" button in prompt. ( You can also upgrade Window phone SDK to 8.1 for better experience. It is optional not necessary to solve this error.)