Skip to content

Commit 60c09af

Browse files
committed
remove some warnings from build
1 parent 93063a4 commit 60c09af

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
- name: Fetch history
1717
run: git fetch --prune --unshallow
1818
- name: Setup .NET

.github/workflows/dotnetpull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414
- name: Setup .NET
1515
uses: actions/setup-dotnet@v1
1616
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414
- name: Fetch history
1515
run: git fetch --prune --unshallow
1616
- name: Setup .NET

src/S7CommPlusGUIBrowser/S7CommPlusGUIBrowser.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
88
<EnableWindowsTargeting>true</EnableWindowsTargeting>
99
</PropertyGroup>
10+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-windows|AnyCPU'">
11+
<NoWarn>1701;1702;CA1416</NoWarn>
12+
</PropertyGroup>
13+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-windows|AnyCPU'">
14+
<NoWarn>1701;1702;CA1416</NoWarn>
15+
</PropertyGroup>
1016
<ItemGroup>
1117
<ProjectReference Include="..\S7CommPlusDriver\S7CommPlusDriver.csproj" />
1218
</ItemGroup>

0 commit comments

Comments
 (0)