Can you add comments to a .csproj file? If so, what's the best way to do it?

1

2 Answers

Comments are written as usual in XML files:

<!-- comment --> 

How to: Write a Simple MSBuild Project

2

The following works for multi-line comments.

<!-- comment 1 comment 2 .... --> 

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy