Reputation: 13616
Suddenly faced a problem, I cannot open HTML file in visual studio 2013.
When I make double click on HtmlPage.html I get this massage:
I tried to make exclude from project and include to project.But it didn't helped me.
While other files with I can open as usual.
If I close the current solution and open another I still get the same problem.
Any idea why I cant open the html file?
Upvotes: 3
Views: 839
Reputation: 1541
You can click right button and select "Open with" option and after select html-editor. It should help.
Upvotes: 1
Reputation: 2624
Try the following solution:
In your web config you should have the above 3 lines. You should replace the value "2.0.?.?" with "3.0.0.0" and you should be fine.
<appSettings>
<add key="webpages:Version" value="2.0.?.?" />
</appSettings>
Upvotes: 0