在我创建的大多数项目中,我都有项目或程序集特定的信息。对我来说合乎逻辑的地方似乎是将文档放入的AssemblyInfo.cs文件。我开始像这样转换AssemblyInfo.cs:
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Woei")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Woei")]
[assembly: AssemblyCopyright("Copyright © WoeiWare 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("44daa4c8-14b5-48ef-b12d-abde36681df8")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
namespace dStyle.Fields.Properties {
/// Woei means the wind is blowing hard in The Netherlands
internal static class Documentation { }
}
答案 0 :(得分:0)
我说是的,你还能把它放在哪里?
一个选项是拥有一个master \ global assemblyInfo文件,并将所有公共程序集信息保存在与项目级别assemblyinfo合并的单个文件中。