Skip to content

Commit

Permalink
Update paths to Accessibility.dll (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
kant2002 committed Sep 4, 2023
1 parent 58716c5 commit 9d7bf3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.404
7.0.102
6.0.413
7.0.110
- name: Restore dependencies
run: dotnet restore WinFormsComInterop.Build.sln
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
</PropertyGroup>
<ItemGroup>
<Reference Update="Accessibility" Condition="$(TargetFramework) == 'net7.0'">
<HintPath>$(DotnetInstallLocation)\shared\Microsoft.WindowsDesktop.App\7.0.2\Accessibility.dll</HintPath>
<HintPath>$(DotnetInstallLocation)\shared\Microsoft.WindowsDesktop.App\7.0.10\Accessibility.dll</HintPath>
</Reference>
<Reference Update="Accessibility" Condition="$(TargetFramework) == 'net6.0'">
<HintPath>$(DotnetInstallLocation)\shared\Microsoft.WindowsDesktop.App\6.0.12\Accessibility.dll</HintPath>
<HintPath>$(DotnetInstallLocation)\shared\Microsoft.WindowsDesktop.App\6.0.21\Accessibility.dll</HintPath>
</Reference>
</ItemGroup>
</Project>

0 comments on commit 9d7bf3b

Please sign in to comment.