Skip to content

Commit 8e78e34

Browse files
committed
Added WINDOWS constant for MSBuild
1 parent 8fdc5a9 commit 8e78e34

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

FreeserfNet.sln

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1515
.gitignore = .gitignore
1616
.travis.yml = .travis.yml
1717
appveyor.yml = appveyor.yml
18+
azure-pipelines.yml = azure-pipelines.yml
1819
changelog.txt = changelog.txt
1920
LICENSE = LICENSE
2021
linux_build = linux_build
@@ -27,7 +28,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Silk.NET.Window", "Silk.NET
2728
EndProject
2829
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Freeserf.Test", "Freeserf.Test\Freeserf.Test.csproj", "{B2FEC47F-6033-43EC-A1F4-B5D5983CBB8E}"
2930
EndProject
30-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Freeserf.Audio", "Freeserf.Audio\Freeserf.Audio.csproj", "{E7355C62-2C99-48CF-99C9-40AE9EC9886F}"
31+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Freeserf.Audio", "Freeserf.Audio\Freeserf.Audio.csproj", "{E7355C62-2C99-48CF-99C9-40AE9EC9886F}"
3132
EndProject
3233
Global
3334
GlobalSection(SolutionConfigurationPlatforms) = preSolution

azure-pipelines.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# .NET Desktop
2-
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
3-
# Add steps that publish symbols, save build artifacts, and more:
4-
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
5-
61
trigger:
72
- master
83

@@ -26,6 +21,7 @@ steps:
2621
solution: '$(solution)'
2722
platform: '$(buildPlatform)'
2823
configuration: '$(buildConfiguration)'
24+
msbuildArguments: '/p:DefineConstants=WINDOWS'
2925

3026
- task: VSTest@2
3127
inputs:

0 commit comments

Comments
 (0)