Skip to content

Commit eaffda9

Browse files
committed
work on build
1 parent 790f0cf commit eaffda9

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/build-pull.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v4
14+
- name: Fetch history
15+
run: git fetch --prune --unshallow
1416
- name: Setup .NET
15-
uses: actions/setup-dotnet@v1
17+
uses: actions/setup-dotnet@v4
1618
with:
17-
dotnet-version: 8.0.x
19+
dotnet-version: |
20+
5.0.x
21+
6.0.x
22+
8.0.x
1823
- name: Restore dependencies
19-
run: |
20-
dotnet restore src/S7CommPlusDriver
21-
dotnet restore src/DriverTest
22-
dotnet restore src/S7CommPlusGUIBrowser
24+
run: dotnet restore DotNetSiemensPLCToolBoxLibrary.sln
2325
- name: Build
24-
run: |
25-
dotnet build src/S7CommPlusDriver
26-
dotnet build src/DriverTest
27-
dotnet build src/S7CommPlusGUIBrowser
26+
run: dotnet build DotNetSiemensPLCToolBoxLibrary.sln

ToolBoxLibUnitTests/ToolBoxLibUnitTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<UseWindowsForms>true</UseWindowsForms>
77
<ApplicationIcon />
88
<StartupObject />
9+
<EnableWindowsTargeting>true</EnableWindowsTargeting>
910
</PropertyGroup>
1011
<ItemGroup>
1112
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />

0 commit comments

Comments
 (0)