diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 1f575c5..8934e5a 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -20,6 +20,8 @@ jobs: 6.0.423 7.0.120 8.0.302 + - name: Restore dependencies + run: dir "C:\Program Files\dotnet\\shared\Microsoft.WindowsDesktop.App\" - name: Restore dependencies run: dotnet restore WinFormsComInterop.Build.sln - name: Build diff --git a/Directory.Build.targets b/Directory.Build.targets index 704ef4c..1bd08c9 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,16 +1,20 @@ - C:\Program Files\dotnet + C:\Program Files\dotnet\ + $(NetCoreRoot) + $(DotnetInstallLocation)shared\Microsoft.WindowsDesktop.App\8.0.6\Accessibility.dll + $(DotnetInstallLocation)shared\Microsoft.WindowsDesktop.App\7.0.20\Accessibility.dll + $(DotnetInstallLocation)shared\Microsoft.WindowsDesktop.App\6.0.31\Accessibility.dll - - $(DotnetInstallLocation)\shared\Microsoft.WindowsDesktop.App\8.0.6\Accessibility.dll - - - $(DotnetInstallLocation)\shared\Microsoft.WindowsDesktop.App\7.0.20\Accessibility.dll - - - $(DotnetInstallLocation)\shared\Microsoft.WindowsDesktop.App\6.0.27\Accessibility.dll + + $(AccessibilityLocation) + + + + + + \ No newline at end of file diff --git a/global.json b/global.json index 8cc8c15..2e44195 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.302", + "version": "8.0.200", "allowPrerelease": true, "rollForward": "major" }