diff --git a/.github/workflows/Build_mR-NB.yml b/.github/workflows/Build_mR-NB.yml index d69dac1a..1c4281dd 100644 --- a/.github/workflows/Build_mR-NB.yml +++ b/.github/workflows/Build_mR-NB.yml @@ -32,21 +32,15 @@ jobs: shell: pwsh run: | dotnet tool install --global dotnet-t4 - # Refresh PATH to include global tools $env:PATH += ";$env:USERPROFILE\.dotnet\tools" - - $interopPath = "$env:GITHUB_WORKSPACE\mRemoteNG\libs\Microsoft.VisualStudio.Interop.dll" $ttFile = "$env:GITHUB_WORKSPACE\mRemoteNG\Properties\AssemblyInfo.tt" - + # VS Enterprise 2022 assemblies + $vsPath = "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\PublicAssemblies" Write-Host "Transforming T4 template" - t4 $ttFile -P platformType=${{ matrix.platform }} + t4 $ttFile -P platformType=${{ matrix.platform }} -r:"$vsPath\EnvDTE.dll" -r:"$vsPath\Microsoft.VisualStudio.Interop.dll" env: PLATFORM: '${{ matrix.platform }}' - - - - - name: (04) Cache NuGet Packages uses: actions/cache@v4