How can I prevent Visual Studio from creating license.licx

前端 未结 5 2263
野趣味
野趣味 2021-02-19 10:31

We use 3rd party controls in our project. Almost every time when I double click on a file which has a design view too, Visual Studio tries to bring up the designer with heroic e

5条回答
  •  半阙折子戏
    2021-02-19 11:22

    For your point #1, you could prevent double-clicking from opening the designer but instead open the code editor by default.

    You can do this by:

    • right-clicking on a .cs file that has a form
    • select "Open with..."
    • select "CSharp Editor" (or VB)
    • click "Set as Default"
    • and OK

    If you want to change it back later, follow same procedure but pick "CSharp Form Editor".

提交回复
热议问题