【发布时间】:2019-04-01 14:51:58
【问题描述】:
我正在试图弄清楚如何处理和更新AssemblyInfo.cs 的C# WinForms 桌面应用程序中的值。
例如,在哪里以及如何处理
string currentYear = DateTime.Now.Year.ToString();
并在AssemblyInfo.cs 中更新以始终仅从currentYear 获取特定的.exe -> Properties/Details -> description - Product name 来自
[assembly: AssemblyProduct("Access described according " + currentYear + " year update")]
任何建议、指南或示例都会很有用
【问题讨论】:
标签: c# winforms datetime assemblyinfo