Skip to content

Commit

Permalink
Add AssemblyInfo.cs with assembly metadata
Browse files Browse the repository at this point in the history
This commit adds assembly metadata such as product version (now 1.3.0.0). This
information will be shown in File -> Properties dialog in Windows Explorer.

Signed-off-by: Samuli Seppänen <[email protected]>
  • Loading branch information
mattock committed Dec 21, 2016
1 parent d42c5ef commit 5a47caf
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
13 changes: 13 additions & 0 deletions AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using System.Reflection;
using System.Runtime.CompilerServices;

[assembly: AssemblyTitle("Openvpnserv2")]
[assembly: AssemblyDescription("Windows service for running OpenVPN connections in the background")]
[assembly: AssemblyProduct("Openvpnserv2")]
[assembly: AssemblyVersion("1.3.0.0")]
[assembly: AssemblyFileVersion("1.3.0.0")]
[assembly: AssemblyInformationalVersion("1.3.0.0")]
[assembly: AssemblyCompany("The OpenVPN project")]
[assembly: AssemblyCopyright("Copyright © OpenVPN project 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
2 changes: 2 additions & 0 deletions OpenVpnService.csproj
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<ReleaseVersion>1.3.0.0</ReleaseVersion>
</PropertyGroup>
<PropertyGroup>
<StartupObject>OpenVpn.OpenVpnService</StartupObject>
Expand Down Expand Up @@ -101,6 +102,7 @@
<Compile Include="Service.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
8 changes: 5 additions & 3 deletions OpenVpnService.sln
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 10.0.40219.1
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenVpnService", "OpenVpnService.csproj", "{A4132C5D-DB75-434C-8C33-2DC79AFCC27F}"
EndProject
Global
Expand All @@ -28,6 +26,10 @@ Global
{A4132C5D-DB75-434C-8C33-2DC79AFCC27F}.Release|x86.ActiveCfg = Release|x86
{A4132C5D-DB75-434C-8C33-2DC79AFCC27F}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = OpenVpnService.csproj
version = 1.3.0.0
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
Expand Down

0 comments on commit 5a47caf

Please sign in to comment.