Skip to content

Commit b5d7205

Browse files
committed
update
1 parent 17e778b commit b5d7205

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

QRCoderDemo/QRCoderDemo.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net45;net5.0-windows</TargetFrameworks>
4+
<TargetFrameworks>net462;net5.0-windows</TargetFrameworks>
55
<UseWindowsForms Condition="'$(TargetFramework)' == 'net5.0-windows'">true</UseWindowsForms>
66
<OutputType>Exe</OutputType>
77
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
8+
<GenerateResourceUsePreserializedResources Condition="'$(TargetFramework)' == 'net5.0-windows'">true</GenerateResourceUsePreserializedResources>
89
</PropertyGroup>
910

1011
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
1112
</PropertyGroup>
1213
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
1314
</PropertyGroup>
1415

15-
<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
16+
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
1617
<Reference Include="System.Windows.Forms" />
1718
</ItemGroup>
1819
<ItemGroup>

0 commit comments

Comments
 (0)