Skip to content

Commit 408a160

Browse files
committed
go back to msbuild command
1 parent 7888215 commit 408a160

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/aurora-dev.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,13 @@ jobs:
5555
- name: NuGet Restore
5656
if: steps.cache.outputs.cache-hit != 'true'
5757
run: nuget restore $env:Solution_Name
58+
59+
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
60+
- name: Setup MSBuild.exe
61+
uses: microsoft/setup-msbuild@v1.0.2
5862

5963
- name: Build
60-
run: dotnet build $env:Solution_Name --configuration $env:Configuration --no-restore
64+
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration
6165
env:
6266
APPVEYOR_BUILD_VERSION: v${{steps.buildnumber.outputs.build_number}}
6367
OWNER: ${{ steps.split.outputs._0 }}

.github/workflows/aurora-release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,12 @@ jobs:
5656
if: steps.cache.outputs.cache-hit != 'true'
5757
run: nuget restore $env:Solution_Name
5858

59-
# Restore the application to populate the obj folder with RuntimeIdentifiers
59+
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
60+
- name: Setup MSBuild.exe
61+
uses: microsoft/setup-msbuild@v1.0.2
62+
6063
- name: Build
61-
run: dotnet build $env:Solution_Name --configuration $env:Configuration --no-restore
64+
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration
6265
env:
6366
APPVEYOR_BUILD_VERSION: v${{steps.buildnumber.outputs.build_number}}
6467
OWNER: ${{ steps.split.outputs._0 }}

0 commit comments

Comments
 (0)