简体   繁体   中英

Visual Studio 2012 Web Test Editor Not Opening

I have a .webtest file in a test project. When I right click / Open With and select Web Test Editor , the file opens in that editor. In the Open With dialog, Web Test Editor is set as (Default) .

When I double-click the same file, it opens as XML. I want the default editor to open when I double click!

I've tried Open With , setting the default to something else, and then setting it back to Web Test Editor to no avail.

Is there any way to reset all of the editor defaults?

When browsing history in version control, I noticed that <SubType>Designer</SubType> had been added to the item in the .csproj XML. Deleting that line fixed the glitch.

I'd just like to elaborate that the <SubType>Designer</SubType> node(s) are located in the csproj file.

To access this:

  1. Find the path of the Project (or solution) in Visual Studio.

  2. Navigate that location using Windows Explorer. --> You should see the Project name file ending with .csproj format.

  3. Right click and 'edit' the file with Notepad or NotePad++ --> Voila. Delete the <SubType>Designer</SubType> sections as necessary.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM