Skip to content

Commit

Permalink
Merge pull request #122 from microsoft/gh-issue-102
Browse files Browse the repository at this point in the history
Upgrade Behaviors to .NET 6.0
  • Loading branch information
brianlagunas authored Apr 11, 2023
2 parents 2333807 + b8de1a1 commit 1cc0e7d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ jobs:
managed-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- uses: actions/setup-dotnet@v1
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 5.0.100
dotnet-version: 6.0.x
- uses: nuget/setup-nuget@v1.0.5
- name: Restore
run: nuget restore src/BehaviorsSdk.sln
Expand Down
3 changes: 2 additions & 1 deletion Test/UnitTests/UnitTests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="MSBuild.Sdk.Extras/2.1.2">
<PropertyGroup>
<TargetFrameworks>net462;netcoreapp3.1;net5.0-windows</TargetFrameworks>
<TargetFrameworks>net462;net6.0-windows</TargetFrameworks>
<IsPackable>false</IsPackable>
<UseWPF>true</UseWPF>
<OutputType>Library</OutputType>
Expand All @@ -9,6 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
<PackageReference Include="MSTest.TestAdapter">
<Version>3.0.2</Version>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="MSBuild.Sdk.Extras/2.1.2">
<PropertyGroup>
<TargetFrameworks>net462;netcoreapp3.1;net5.0-windows</TargetFrameworks>
<TargetFrameworks>net462;net6.0-windows</TargetFrameworks>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);IncludeProjectToProjectAssets</TargetsForTfmSpecificBuildOutput>
<OutputType>Library</OutputType>
<PackageId>Microsoft.Xaml.Behaviors.Wpf</PackageId>
Expand Down

0 comments on commit 1cc0e7d

Please sign in to comment.