Skip to content

Commit 1928d56

Browse files
committed
Finally got <Choose> to work
1 parent c10733d commit 1928d56

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

CSharp Code Samples/CodeSamples/App.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</sectionGroup>
88
</configSections>
99
<startup>
10-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
10+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
1111
</startup>
1212
<userSettings>
1313
<CodeSamples.Properties.Settings>

CSharp Code Samples/CodeSamples/CodeSamples.csproj

+4-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<OutputType>Exe</OutputType>
99
<RootNamespace>CodeSamples</RootNamespace>
1010
<AssemblyName>CodeSamples</AssemblyName>
11-
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<Deterministic>true</Deterministic>
@@ -48,10 +48,10 @@
4848
<Reference Include="System.Xml" />
4949
</ItemGroup>
5050
<Choose>
51-
<When Condition=" '$(TargetFramework)' == 'net462' ">
51+
<When Condition=" '$(TargetFrameworkVersion)' == 'v4.6.2' ">
5252
<ItemGroup>
5353
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
54-
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\netstandard1.0\System.ValueTuple.dll</HintPath>
54+
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
5555
</Reference>
5656
</ItemGroup>
5757
</When>
@@ -131,9 +131,7 @@
131131
</ItemGroup>
132132
<ItemGroup>
133133
<None Include="App.config" />
134-
<None Include="packages.config">
135-
<SubType>Designer</SubType>
136-
</None>
134+
<None Include="packages.config" />
137135
<None Include="Properties\OtherSettings.settings">
138136
<Generator>SettingsSingleFileGenerator</Generator>
139137
<LastGenOutput>OtherSettings.Designer.cs</LastGenOutput>

CSharp Code Samples/CodeSamples/Properties/OtherSettings.Designer.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CSharp Code Samples/CodeSamples/Properties/Settings.Designer.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="System.Collections.Specialized" version="4.3.0" targetFramework="net46" />
4-
<package id="System.ValueTuple" version="4.5.0" targetFramework="net46" requireReinstallation="true" />
3+
<package id="System.Collections.Specialized" version="4.3.0" targetFramework="net462" />
4+
<package id="System.ValueTuple" version="4.5.0" targetFramework="net462" />
55
</packages>

0 commit comments

Comments
 (0)