gonzobrains
gonzobrains

Reputation: 8036

Is it possible to add comments to a csproj file?

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

Upvotes: 75

Views: 36516

Answers (2)

Pabitra Dash
Pabitra Dash

Reputation: 1513

The following works for multi-line comments.

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

Upvotes: 23

Anders Lindahl
Anders Lindahl

Reputation: 42870

Comments are written as usual in XML files:

<!-- comment -->

How to: Write a Simple MSBuild Project

Upvotes: 119

Related Questions