Skip to content

Commit be7502f

Browse files
committed
修改程序集信息
1 parent 0d8c3ce commit be7502f

File tree

2 files changed

+38
-3
lines changed

2 files changed

+38
-3
lines changed

Properties/AssemblyInfo.cs

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// 有关程序集的常规信息通过以下
6+
// 特性集控制。更改这些特性值可修改
7+
// 与程序集关联的信息。
8+
[assembly: AssemblyTitle("https://github.com/xiangyuecn/RSA-csharp")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("RSA-csharp")]
13+
[assembly: AssemblyCopyright("Copyright © 2018")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// 将 ComVisible 设置为 false 使此程序集中的类型
18+
// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
19+
// 则将该类型上的 ComVisible 特性设置为 true。
20+
[assembly: ComVisible(false)]
21+
22+
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23+
[assembly: Guid("7661a9da-7f07-403a-8e49-5224ae79a009")]
24+
25+
// 程序集的版本信息由下面四个值组成:
26+
//
27+
// 主版本
28+
// 次版本
29+
// 生成号
30+
// 修订号
31+
//
32+
[assembly: AssemblyVersion("1.0.0.0")]
33+
[assembly: AssemblyFileVersion("1.0.0.0")]

vs.csproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
<ErrorReport>prompt</ErrorReport>
3232
<WarningLevel>4</WarningLevel>
3333
</PropertyGroup>
34+
<PropertyGroup>
35+
<StartupObject />
36+
</PropertyGroup>
3437
<ItemGroup>
3538
<Reference Include="System" />
3639
<Reference Include="System.Core" />
@@ -42,13 +45,12 @@
4245
</ItemGroup>
4346
<ItemGroup>
4447
<Compile Include="Program.cs" />
48+
<Compile Include="Properties\AssemblyInfo.cs" />
4549
<Compile Include="RSA.cs" />
4650
<Compile Include="RSA_PEM.cs" />
4751
<Compile Include="RSA_Unit.cs" />
4852
</ItemGroup>
49-
<ItemGroup>
50-
<Folder Include="Properties\" />
51-
</ItemGroup>
53+
<ItemGroup />
5254
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
5355
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
5456
Other similar extension points exist, see Microsoft.Common.targets.

0 commit comments

Comments
 (0)