Skip to content

Commit 2bc8b4a

Browse files
authored
Merge pull request #42 from tksh164/dev/version-info
Update version info
2 parents 2dd5fc6 + 72ea744 commit 2bc8b4a

File tree

4 files changed

+59
-52
lines changed

4 files changed

+59
-52
lines changed

src/alter/AssemblyInfo.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
using System.Reflection;
21
using System.Windows;
32

4-
[assembly: AssemblyVersion("0.1.0.0")]
5-
[assembly: AssemblyFileVersion("0.1.0.0")]
6-
[assembly: AssemblyTitle("Alter")]
7-
[assembly: AssemblyDescription("Alter is a remote desktop client application.")]
8-
[assembly: AssemblyConfiguration("")]
9-
[assembly: AssemblyCompany("")]
10-
[assembly: AssemblyProduct("Alter")]
11-
[assembly: AssemblyCopyright("Copyright (c) 2023-present Takeshi Katano. All rights reserved.")]
12-
[assembly: AssemblyTrademark("")]
13-
[assembly: AssemblyCulture("")]
14-
153
[assembly: ThemeInfo(
164
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
175
//(used if a resource is not found in the page,

src/alter/alter.csproj

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,35 @@
33
<PropertyGroup>
44
<OutputType>WinExe</OutputType>
55
<TargetFramework>net7.0-windows</TargetFramework>
6-
<Nullable>enable</Nullable>
7-
<RootNamespace>AlterApp</RootNamespace>
8-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
96
<UseWPF>true</UseWPF>
10-
<UseWindowsForms>true</UseWindowsForms>
11-
<ApplicationManifest>Resources\app.manifest</ApplicationManifest>
12-
<NoWarn>$(NoWarn);WFAC010</NoWarn>
13-
<ApplicationIcon>Resources\alter.ico</ApplicationIcon>
7+
<UseWindowsForms>true</UseWindowsForms>
8+
<Nullable>enable</Nullable>
9+
<RootNamespace>AlterApp</RootNamespace>
10+
<ApplicationManifest>Resources\app.manifest</ApplicationManifest>
11+
<ApplicationIcon>Resources\alter.ico</ApplicationIcon>
12+
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
13+
<NoWarn>$(NoWarn);WFAC010</NoWarn>
14+
</PropertyGroup>
15+
16+
<PropertyGroup>
17+
<!-- NuGet package -->
18+
<Version>0.1.0</Version>
19+
<Title>Alter RDP client</Title>
20+
<Description>Alter is a remote desktop client application.</Description>
21+
<Authors>Takeshi Katano</Authors>
22+
<Copyright>Copyright (c) 2023 Takeshi Katano. All rights reserved.</Copyright>
23+
<PackageProjectUrl>https://github.com/tksh164/alter-rdp-client</PackageProjectUrl>
24+
<RepositoryUrl>$(PackageProjectUrl)</RepositoryUrl>
25+
<RepositoryType>git</RepositoryType>
26+
<NeutralLanguage>en-US</NeutralLanguage>
27+
28+
<!-- AssemblyInfo -->
29+
<Company></Company>
30+
<Product>Alter</Product>
31+
<FileVersion>$(Version)</FileVersion>
32+
<InformationalVersion>$(Version)</InformationalVersion>
33+
<AssemblyVersion>$(Version)</AssemblyVersion>
34+
<AssemblyTitle>$(Title)</AssemblyTitle>
1435
</PropertyGroup>
1536

1637
<ItemGroup>

src/msrdcax/AssemblyInfo.cs

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,9 @@
1-
using System.Reflection;
2-
using System.Runtime.InteropServices;
1+
using System.Runtime.InteropServices;
32

4-
// General Information about an assembly is controlled through the following
5-
// set of attributes. Change these attribute values to modify the information
6-
// associated with an assembly.
7-
[assembly: AssemblyTitle("Remote Desktop Services ActiveX client for Alter")]
8-
[assembly: AssemblyDescription("Remote Desktop Services ActiveX client for Alter.")]
9-
[assembly: AssemblyConfiguration("")]
10-
[assembly: AssemblyCompany("")]
11-
[assembly: AssemblyProduct("msrdcax")]
12-
[assembly: AssemblyCopyright("Copyright (c) 2023-present Takeshi Katano. All rights reserved.")]
13-
[assembly: AssemblyTrademark("")]
14-
[assembly: AssemblyCulture("")]
15-
16-
// Setting ComVisible to false makes the types in this assembly not visible
17-
// to COM components. If you need to access a type in this assembly from
18-
// COM, set the ComVisible attribute to true on that type.
3+
//// Setting ComVisible to false makes the types in this assembly not visible
4+
//// to COM components. If you need to access a type in this assembly from
5+
//// COM, set the ComVisible attribute to true on that type.
196
[assembly: ComVisible(false)]
207

21-
// The following GUID is for the ID of the typelib if this project is exposed to COM
8+
//// The following GUID is for the ID of the typelib if this project is exposed to COM
229
[assembly: Guid("df403af2-a5fb-4fcc-8efa-f97f437befd3")]
23-
24-
// Version information for an assembly consists of the following four values:
25-
//
26-
// Major Version
27-
// Minor Version
28-
// Build Number
29-
// Revision
30-
//
31-
[assembly: AssemblyVersion("0.1.0.0")]
32-
[assembly: AssemblyFileVersion("0.1.0.0")]

src/msrdcax/msrdcax.csproj

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,32 @@
22

33
<PropertyGroup>
44
<TargetFramework>net7.0-windows</TargetFramework>
5-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
6-
<Nullable>enable</Nullable>
7-
<UseWPF>true</UseWPF>
8-
<UseWindowsForms>true</UseWindowsForms>
9-
<RootNamespace>MsRdcAx</RootNamespace>
5+
<UseWPF>true</UseWPF>
6+
<UseWindowsForms>true</UseWindowsForms>
7+
<Nullable>enable</Nullable>
8+
<RootNamespace>MsRdcAx</RootNamespace>
9+
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
10+
</PropertyGroup>
11+
12+
<PropertyGroup>
13+
<!-- NuGet package -->
14+
<Version>0.1.0</Version>
15+
<Title>Remote Desktop Services ActiveX client for Alter</Title>
16+
<Description>$(Title)</Description>
17+
<Authors>Takeshi Katano</Authors>
18+
<Copyright>Copyright (c) 2023 Takeshi Katano. All rights reserved.</Copyright>
19+
<PackageProjectUrl>https://github.com/tksh164/alter-rdp-client</PackageProjectUrl>
20+
<RepositoryUrl>$(PackageProjectUrl)</RepositoryUrl>
21+
<RepositoryType>git</RepositoryType>
22+
<NeutralLanguage>en-US</NeutralLanguage>
23+
24+
<!-- AssemblyInfo -->
25+
<Company></Company>
26+
<Product>MsRdcAx</Product>
27+
<FileVersion>$(Version)</FileVersion>
28+
<InformationalVersion>$(Version)</InformationalVersion>
29+
<AssemblyVersion>$(Version)</AssemblyVersion>
30+
<AssemblyTitle>$(Title)</AssemblyTitle>
1031
</PropertyGroup>
1132

1233
<ItemGroup>

0 commit comments

Comments
 (0)