是否可以在csproj文件中添加注释?

问题描述 投票:18回答:2

你可以在.csproj文件中添加评论吗?如果是这样,最好的方法是什么?

csproj
2个回答
37
投票

注释在XML文件中照常编写:

<!-- comment -->

How to: Write a Simple MSBuild Project


2
投票

以下适用于多行注释。

<!-- 
  comment 1
  comment 2
  ....
-->
© www.soinside.com 2019 - 2024. All rights reserved.