Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I make .build files have syntax highlighting in Visual Studio .NET?

0
Posted

How can I make .build files have syntax highlighting in Visual Studio .NET?

0

If you use the Visual Studio .NET File Open dialog to open the .build file, there is an arrow to the right of the Open button. Click the arrow and choose *Open With…* You will see a list of options. Choose *HTML/XML Editor*. Click *Set* as default. -ArildFines You can also do the same thing within the Solution Explorer by right-clicking and choosing Add/Add Existing Item. Add the .build file to your solution. Then right-click the .build file and choose *Open With*. Now follow the previous directions. -ScottPascoe _Here are more detailed instructions_ (from Duncan Goodwin email on nant-users) The steps are: • From inside Visual Studio.NET right click on the .build file, and from the context-menu select open with.. • Select html/xml editor, and click Set default (so next time you can skip the open with) • Put an XML schema for NAnt in c:\Program Files\Microsoft Visual Studio.NET\Common7\Packages\schemas\xml\ which can be gottten from http://nant.sf.net/schema/ . • In the build file, ma

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123