File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -45,31 +45,25 @@ jobs:
4545 dotnet workload install maui-windows
4646 dotnet workload update
4747
48- # Windows builds using MSBuild
49- - name : Find MSBuild
50- run : |
51- $msbuildPath = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe
52- echo "MSBUILD_PATH=$msbuildPath" >> $env:GITHUB_ENV
53- shell : pwsh
5448
5549 - name : Restore library dependencies (Windows)
5650 run : |
57- & msbuild ${{env.LIB_CSPROJ}} /t:Restore /p:TargetFramework=net9.0-windows10.0.19041.0 /p:RuntimeIdentifier=win10-x64
51+ msbuild ${{env.LIB_CSPROJ}} /t:Restore /p:TargetFramework=net9.0-windows10.0.19041.0 /p:RuntimeIdentifier=win10-x64
5852 shell : cmd
5953
6054 - name : Build library (Windows)
6155 run : |
62- & msbuild ${{env.LIB_CSPROJ}} /p:Configuration=Release /p:TargetFramework=net9.0-windows10.0.19041.0 /p:RuntimeIdentifier=win10-x64 /p:PackageVersion=${{ env.NugetPackageVersion }} /p:Version=${{ env.NugetPackageVersion }}
56+ msbuild ${{env.LIB_CSPROJ}} /p:Configuration=Release /p:TargetFramework=net9.0-windows10.0.19041.0 /p:RuntimeIdentifier=win10-x64 /p:PackageVersion=${{ env.NugetPackageVersion }} /p:Version=${{ env.NugetPackageVersion }}
6357 shell : cmd
6458
6559 - name : Restore sample dependencies (Windows)
6660 run : |
67- & msbuild ${{env.SAMPLE_CSPROJ}} /t:Restore /p:TargetFramework=net9.0-windows10.0.19041.0 /p:RuntimeIdentifier=win10-x64
61+ msbuild ${{env.SAMPLE_CSPROJ}} /t:Restore /p:TargetFramework=net9.0-windows10.0.19041.0 /p:RuntimeIdentifier=win10-x64
6862 shell : cmd
6963
7064 - name : Build Sample app (Windows)
7165 run : |
72- & msbuild ${{env.SAMPLE_CSPROJ}} /p:Configuration=Release /p:TargetFramework=net9.0-windows10.0.19041.0 /p:RuntimeIdentifier=win10-x64
66+ msbuild ${{env.SAMPLE_CSPROJ}} /p:Configuration=Release /p:TargetFramework=net9.0-windows10.0.19041.0 /p:RuntimeIdentifier=win10-x64
7367 shell : cmd
7468
7569 # Android builds using dotnet build
You can’t perform that action at this time.
0 commit comments