How to read property value from external file?

后端 未结 5 1751
死守一世寂寞
死守一世寂寞 2021-01-04 09:54

I have AssemblyInfo.cs file automatically generated during build. Here\'s part of .csproj file:


    2
    &l         


        
5条回答
  •  长情又很酷
    2021-01-04 10:52

    Use property pages, so you could set these properties on the project property sheets dialogs.

    You will need to create a properties file and edit your project file (only once) to add an import directive to your properties file. Here is an example.

提交回复
热议问题