3

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?

Michael
  • 13,950
  • 57
  • 145
  • 288
  • Possible duplicate of [VS2013 - Operation Could Not Be Completed](http://stackoverflow.com/questions/19523510/vs2013-operation-could-not-be-completed) – Pascal Berger Aug 12 '16 at 12:13

2 Answers2

1

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

Konstantin Zadiran
  • 1,485
  • 2
  • 22
  • 35
0

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>
Thanos Markou
  • 2,587
  • 3
  • 25
  • 32