Skip to content

Commit 81243d4

Browse files
authored
Merge pull request #74 from icsharpcode/christophwille/ghactions
GH action for CI
2 parents 7bbc4ec + ffeb675 commit 81243d4

File tree

10 files changed

+70
-95
lines changed

10 files changed

+70
-95
lines changed

.github/workflows/dotnet.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Build WPF Designer
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: windows-latest
13+
strategy:
14+
matrix:
15+
Configuration: [ Debug, Release ]
16+
env:
17+
BuildPlatform: 'Any CPU'
18+
BuildVersion: '8.0.0.${{ github.run_number }}'
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Update project version
22+
uses: roryprimrose/set-vs-sdk-project-version@v1
23+
with:
24+
projectFilter: '**/*.csproj'
25+
version: ${{ env.BuildVersion }}
26+
assemblyVersion: ${{ env.BuildVersion }}
27+
fileVersion: ${{ env.BuildVersion }}
28+
- name: Setup .NET
29+
uses: actions/setup-dotnet@v1
30+
with:
31+
dotnet-version: 5.0.x
32+
- name: Setup NuGet.exe
33+
uses: nuget/setup-nuget@v1
34+
- run: nuget restore WpfDesign.sln
35+
- name: Build
36+
run: dotnet build WpfDesign.sln --no-restore -c ${{ matrix.configuration }}
37+
- name: Test
38+
run: dotnet test WpfDesign.sln --no-build --verbosity normal -c ${{ matrix.configuration }}
39+
- name: Pack
40+
if: matrix.configuration == 'release'
41+
run: .\nuget\pack.ps1
42+
- name: Upload NuGet
43+
if: matrix.configuration == 'release'
44+
uses: actions/upload-artifact@v2
45+
with:
46+
name: NuGet Packages (${{ matrix.configuration }})
47+
path: '**/*.nupkg'
48+
if-no-files-found: error
49+

GlobalAssemblyInfo.cs

Lines changed: 0 additions & 26 deletions
This file was deleted.

WpfDesign.Design.ExpressionBlendInteractionAddon/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,9 @@
2121
using System.Windows;
2222
using System.Windows.Markup;
2323

24-
// Allgemeine Informationen über eine Assembly werden über die folgenden
25-
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
26-
// die einer Assembly zugeordnet sind.
27-
[assembly: AssemblyTitle("WpfDesign.Design.ExpressionBlendInteractionAddon")]
28-
[assembly: AssemblyDescription("")]
29-
[assembly: AssemblyConfiguration("")]
30-
[assembly: AssemblyTrademark("")]
31-
[assembly: AssemblyCulture("")]
32-
3324
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
3425
[assembly: Guid("01f281cf-7616-40e3-abe7-aac008698719")]
3526

36-
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
37-
//
38-
// Hauptversion
39-
// Nebenversion
40-
// Buildnummer
41-
// Revision
42-
//
43-
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
44-
// übernehmen, indem Sie "*" eingeben:
45-
// [assembly: AssemblyVersion("1.0.*")]
46-
[assembly: AssemblyFileVersion("1.0.0.0")]
47-
48-
4927
[assembly: ThemeInfo(
5028
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
5129
//(used if a resource is not found in the page,

WpfDesign.Design.ExpressionBlendInteractionAddon/WpfDesign.Designer.ExpressionBlendInteractionAddon.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
<OutputType>Library</OutputType>
44
<TargetFrameworks>net45;net5.0-windows</TargetFrameworks>
55
<UseWPF>true</UseWPF>
6-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
76
<AssemblyName>ICSharpCode.WpfDesign.Designer.ExpressionBlendInteractionAddon</AssemblyName>
87
<RootNamespace>ICSharpCode.WpfDesign.Designer.ExpressionBlendInteractionAddon</RootNamespace>
8+
<Version>8.0</Version>
9+
<AssemblyVersion>8.0.0.0</AssemblyVersion>
10+
<FileVersion>8.0.0.0</FileVersion>
11+
<Company>ic#code</Company>
12+
<Copyright>2000-2021 AlphaSierraPapa for the SharpDevelop Team</Copyright>
913
</PropertyGroup>
10-
<ItemGroup>
11-
<Compile Include="..\GlobalAssemblyInfo.cs" Link="Properties\GlobalAssemblyInfo.cs" />
12-
</ItemGroup>
1314
<ItemGroup>
1415
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.31" />
1516
</ItemGroup>

WpfDesign.Designer/Project/Configuration/AssemblyInfo.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@
3030

3131
#endregion
3232

33-
// General Information about an assembly is controlled through the following
34-
// set of attributes. Change these attribute values to modify the information
35-
// associated with an assembly.
36-
[assembly: AssemblyTitle("WpfDesign.Designer")]
37-
[assembly: AssemblyDescription("")]
38-
[assembly: AssemblyConfiguration("")]
39-
[assembly: AssemblyTrademark("")]
40-
[assembly: AssemblyCulture("")]
4133
[assembly: CLSCompliant(true)]
4234

4335
//In order to begin building localizable applications, set

WpfDesign.Designer/Project/WpfDesign.Designer.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33
<OutputType>Library</OutputType>
44
<TargetFrameworks>net45;net5.0-windows</TargetFrameworks>
55
<UseWPF>true</UseWPF>
6-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
76
<AssemblyName>ICSharpCode.WpfDesign.Designer</AssemblyName>
8-
<DocumentationFile>..\..\bin\net5.0-windows\ICSharpCode.WpfDesign.Designer.xml</DocumentationFile>
7+
<DocumentationFile>..\..\bin\net5.0-windows\ICSharpCode.WpfDesign.Designer.xml</DocumentationFile>
8+
<Version>8.0</Version>
9+
<AssemblyVersion>8.0.0.0</AssemblyVersion>
10+
<FileVersion>8.0.0.0</FileVersion>
11+
<Company>ic#code</Company>
12+
<Copyright>2000-2021 AlphaSierraPapa for the SharpDevelop Team</Copyright>
913
<OutputPath>..\..\bin\</OutputPath>
1014
</PropertyGroup>
1115
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
@@ -20,7 +24,4 @@
2024
<None Remove="Images\*" />
2125
<Resource Include="Images\*" />
2226
</ItemGroup>
23-
<ItemGroup>
24-
<Compile Include="..\..\GlobalAssemblyInfo.cs" Link="Configuration\GlobalAssemblyInfo.cs" />
25-
</ItemGroup>
2627
</Project>

WpfDesign.XamlDom/Project/AssemblyInfo.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,4 @@
2121
using System.Runtime.CompilerServices;
2222
using System.Runtime.InteropServices;
2323

24-
// Information about this assembly is defined by the following
25-
// attributes.
26-
//
27-
// change them to the information which is associated with the assembly
28-
// you compile.
29-
30-
[assembly: AssemblyTitle("ICSharpCode.WpfDesign.XamlDom")]
31-
[assembly: AssemblyDescription("")]
32-
[assembly: AssemblyConfiguration("")]
33-
[assembly: AssemblyTrademark("")]
34-
[assembly: AssemblyCulture("")]
3524
[assembly: CLSCompliant(true)]

WpfDesign.XamlDom/Project/WpfDesign.XamlDom.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
<DocumentationFile>..\..\bin\net5.0-windows\ICSharpCode.WpfDesign.XamlDom.xml</DocumentationFile>
66
<OutputPath>..\..\bin\</OutputPath>
77
<UseWPF>true</UseWPF>
8-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
98
<AssemblyName>ICSharpCode.WpfDesign.XamlDom</AssemblyName>
9+
<Version>8.0</Version>
10+
<AssemblyVersion>8.0.0.0</AssemblyVersion>
11+
<FileVersion>8.0.0.0</FileVersion>
12+
<Company>ic#code</Company>
13+
<Copyright>2000-2021 AlphaSierraPapa for the SharpDevelop Team</Copyright>
1014
</PropertyGroup>
11-
<ItemGroup>
12-
<Compile Include="..\..\GlobalAssemblyInfo.cs" Link="GlobalAssemblyInfo.cs" />
13-
</ItemGroup>
1415
</Project>

WpfDesign/Project/Configuration/AssemblyInfo.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@
2222
using System.Runtime.InteropServices;
2323
using System.Windows.Markup;
2424

25-
// Information about this assembly is defined by the following
26-
// attributes.
27-
//
28-
// change them to the information which is associated with the assembly
29-
// you compile.
30-
31-
[assembly: AssemblyTitle("WpfDesign")]
32-
[assembly: AssemblyDescription("")]
33-
[assembly: AssemblyConfiguration("")]
34-
[assembly: AssemblyTrademark("")]
35-
[assembly: AssemblyCulture("")]
3625
[assembly: CLSCompliant(true)]
3726

3827
[assembly: XmlnsDefinition("http://sharpdevelop.net", "ICSharpCode.WpfDesign.PropertyGrid")]

WpfDesign/Project/WpfDesign.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
<DocumentationFile>..\..\bin\net5.0-windows\ICSharpCode.WpfDesign.xml</DocumentationFile>
66
<OutputPath>..\..\bin\</OutputPath>
77
<UseWPF>true</UseWPF>
8-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
98
<AssemblyName>ICSharpCode.WpfDesign</AssemblyName>
109
<RootNamespace>ICSharpCode.WpfDesign</RootNamespace>
10+
<Version>8.0</Version>
11+
<AssemblyVersion>8.0.0.0</AssemblyVersion>
12+
<FileVersion>8.0.0.0</FileVersion>
13+
<Company>ic#code</Company>
14+
<Copyright>2000-2021 AlphaSierraPapa for the SharpDevelop Team</Copyright>
1115
</PropertyGroup>
12-
<ItemGroup>
13-
<Compile Include="..\..\GlobalAssemblyInfo.cs" Link="Configuration\GlobalAssemblyInfo.cs" />
14-
</ItemGroup>
1516
</Project>

0 commit comments

Comments
 (0)