我正在做 C# Winform 应用程序。我有几个类库。每个图书馆也是项目。通常,我使用下面的代码来了解我的应用程序的构建日期。但是,我想知道每个类库的构建日期。任何帮助...
DateTime buildDate = new
FileInfo(Assembly.GetExecutingAssembly().Location).LastWriteTime;
MessageBox.Show(string.Format("Build Date : {0}", buildDate), "Version Info");