Skip to content

Commit 70aa39c

Browse files
committed
fix compilation in vs2019
1 parent 4f09795 commit 70aa39c

File tree

5 files changed

+44
-8
lines changed

5 files changed

+44
-8
lines changed

src/DriverTest/DriverTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net472;net8.0</TargetFrameworks>
3+
<TargetFrameworks>net472;net5.0</TargetFrameworks>
44
<OutputType>Exe</OutputType>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
66
</PropertyGroup>

src/S7CommPlusDriver.sln

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.11.34929.205
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DriverTest", "DriverTest\DriverTest.csproj", "{46732CB7-E62E-95C1-8A42-D9D0EAF369DC}"
6+
EndProject
7+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "S7CommPlusDriver", "S7CommPlusDriver\S7CommPlusDriver.csproj", "{C29B1925-D8AF-9BD5-79ED-F21839035924}"
8+
EndProject
9+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "S7CommPlusGUIBrowser", "S7CommPlusGUIBrowser\S7CommPlusGUIBrowser.csproj", "{3FE3D073-77D0-0BAA-5681-1E25A46B3E1F}"
10+
EndProject
11+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Zlib.net", "Zlib.net\Zlib.net.csproj", "{9CD592D6-6D9F-816F-6CFB-CB96925F47A6}"
12+
EndProject
13+
Global
14+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
15+
Debug|Any CPU = Debug|Any CPU
16+
Release|Any CPU = Release|Any CPU
17+
EndGlobalSection
18+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
19+
{46732CB7-E62E-95C1-8A42-D9D0EAF369DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20+
{46732CB7-E62E-95C1-8A42-D9D0EAF369DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
21+
{46732CB7-E62E-95C1-8A42-D9D0EAF369DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
22+
{46732CB7-E62E-95C1-8A42-D9D0EAF369DC}.Release|Any CPU.Build.0 = Release|Any CPU
23+
{C29B1925-D8AF-9BD5-79ED-F21839035924}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24+
{C29B1925-D8AF-9BD5-79ED-F21839035924}.Debug|Any CPU.Build.0 = Debug|Any CPU
25+
{C29B1925-D8AF-9BD5-79ED-F21839035924}.Release|Any CPU.ActiveCfg = Release|Any CPU
26+
{C29B1925-D8AF-9BD5-79ED-F21839035924}.Release|Any CPU.Build.0 = Release|Any CPU
27+
{3FE3D073-77D0-0BAA-5681-1E25A46B3E1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
28+
{3FE3D073-77D0-0BAA-5681-1E25A46B3E1F}.Debug|Any CPU.Build.0 = Debug|Any CPU
29+
{3FE3D073-77D0-0BAA-5681-1E25A46B3E1F}.Release|Any CPU.ActiveCfg = Release|Any CPU
30+
{3FE3D073-77D0-0BAA-5681-1E25A46B3E1F}.Release|Any CPU.Build.0 = Release|Any CPU
31+
{9CD592D6-6D9F-816F-6CFB-CB96925F47A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32+
{9CD592D6-6D9F-816F-6CFB-CB96925F47A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
33+
{9CD592D6-6D9F-816F-6CFB-CB96925F47A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
34+
{9CD592D6-6D9F-816F-6CFB-CB96925F47A6}.Release|Any CPU.Build.0 = Release|Any CPU
35+
EndGlobalSection
36+
GlobalSection(SolutionProperties) = preSolution
37+
HideSolutionNode = FALSE
38+
EndGlobalSection
39+
EndGlobal

src/S7CommPlusDriver/S7CommPlusDriver.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0;net472</TargetFrameworks>
3+
<TargetFrameworks>net5.0;net472</TargetFrameworks>
44
<OutputType>Library</OutputType>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
66
<LangVersion>9.0</LangVersion>

src/S7CommPlusGUIBrowser/S7CommPlusGUIBrowser.csproj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net5.0-windows</TargetFrameworks>
44
<OutputType>WinExe</OutputType>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
66
<UseWindowsForms>true</UseWindowsForms>
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'">
10+
<PropertyGroup>
1411
<NoWarn>1701;1702;CA1416</NoWarn>
1512
</PropertyGroup>
1613
<ItemGroup>

src/Zlib.net/Zlib.net.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0;net472</TargetFrameworks>
3+
<TargetFrameworks>net5.0;net472</TargetFrameworks>
44
<ProjectType>Local</ProjectType>
55
<AssemblyKeyContainerName />
66
<AssemblyOriginatorKeyFile />

0 commit comments

Comments
 (0)