Michael
Michael

Reputation: 13616

Can not open HTML file in visual studio 2013

Suddenly faced a problem, I cannot open HTML file in visual studio 2013.

Here is my solution: enter image description here

When I make double click on HtmlPage.html I get this massage:

enter image description here

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

Answers (2)

Konstantin Zadiran
Konstantin Zadiran

Reputation: 1541

You can click right button and select "Open with" option and after select html-editor. It should help.

Upvotes: 1

Thanos Markou
Thanos Markou

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

Related Questions