Skip to content

Commit 3e6062c

Browse files
authored
Merge pull request #118 from microsoft/upgrade-net462
Upgrade to .NET 4.6.2
2 parents 9db3c14 + 99dee54 commit 3e6062c

File tree

8 files changed

+38
-52
lines changed

8 files changed

+38
-52
lines changed

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ trim_trailing_whitespace = true
1313
[*.{cs,csx,vb,vbx}]
1414
indent_size = 4
1515
insert_final_newline = true
16-
charset = utf-8-bom
1716

1817
# Xml project files
1918
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]

Test/UnitTests/UnitTests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="MSBuild.Sdk.Extras/2.1.2">
22
<PropertyGroup>
3-
<TargetFrameworks>net45;netcoreapp3.1;net5.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net462;netcoreapp3.1;net5.0-windows</TargetFrameworks>
44
<IsPackable>false</IsPackable>
55
<UseWPF>true</UseWPF>
66
<OutputType>Library</OutputType>
@@ -10,10 +10,10 @@
1010

1111
<ItemGroup>
1212
<PackageReference Include="MSTest.TestAdapter">
13-
<Version>2.0.0</Version>
13+
<Version>3.0.2</Version>
1414
</PackageReference>
1515
<PackageReference Include="MSTest.TestFramework">
16-
<Version>2.0.0</Version>
16+
<Version>3.0.2</Version>
1717
</PackageReference>
1818
</ItemGroup>
1919

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<startup>
4-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
55
</startup>
6-
</configuration>
6+
</configuration>

samples/XAMLBehaviorsSample/XAMLBehaviorsSample/Properties/Resources.Designer.cs

Lines changed: 18 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/XAMLBehaviorsSample/XAMLBehaviorsSample/Properties/Settings.Designer.cs

Lines changed: 9 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/XAMLBehaviorsSample/XAMLBehaviorsSample/XAMLBehaviorsSample.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
<OutputType>WinExe</OutputType>
99
<RootNamespace>XAMLBehaviorsSample</RootNamespace>
1010
<AssemblyName>XAMLBehaviorsSample</AssemblyName>
11-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1414
<WarningLevel>4</WarningLevel>
1515
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
16+
<TargetFrameworkProfile />
1617
</PropertyGroup>
1718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1819
<PlatformTarget>AnyCPU</PlatformTarget>

src/Microsoft.Xaml.Behaviors.Design/Microsoft.Xaml.Behaviors.Design.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>Microsoft.Xaml.Behaviors.Design</RootNamespace>
1212
<AssemblyName>Microsoft.Xaml.Behaviors.Design</AssemblyName>
13-
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<Deterministic>true</Deterministic>
1616
<TargetFrameworkProfile />
1717
<NuGetPackageImportStamp>
1818
</NuGetPackageImportStamp>
1919
</PropertyGroup>
20-
2120
<Import Project="..\Microsoft.Xaml.Behaviors.Signing.targets" />
22-
2321
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2422
<DebugSymbols>true</DebugSymbols>
2523
<DebugType>full</DebugType>

src/Microsoft.Xaml.Behaviors/Microsoft.Xaml.Behaviors.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="MSBuild.Sdk.Extras/2.1.2">
22
<PropertyGroup>
3-
<TargetFrameworks>net45;netcoreapp3.1;net5.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net462;netcoreapp3.1;net5.0-windows</TargetFrameworks>
44
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);IncludeProjectToProjectAssets</TargetsForTfmSpecificBuildOutput>
55
<OutputType>Library</OutputType>
66
<PackageId>Microsoft.Xaml.Behaviors.Wpf</PackageId>
@@ -30,7 +30,7 @@
3030

3131
<Import Project="..\Microsoft.Xaml.Behaviors.Signing.targets" />
3232

33-
<ItemGroup Condition="'$(TargetFramework)'=='net45'">
33+
<ItemGroup Condition="'$(TargetFramework)'=='net462'">
3434
<Reference Include="System" />
3535
<Reference Include="System.Core" />
3636
<Reference Include="System.Xaml" />

0 commit comments

Comments
 (0)