Skip to content

Commit

Permalink
Add missing '>' to Microsoft.WindowsAppSDK.Bootstrap.CS.targets (#2358)
Browse files Browse the repository at this point in the history
* Add missing '>'

* Add smoke test check to props and targets, removed line 4
  • Loading branch information
kythant authored Apr 4, 2022
1 parent 3b6fdc6 commit 0f5e22f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion build/NuSpecs/Microsoft.WindowsAppSDK.Bootstrap.CS.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<DefineConstants
<DefineConstants Condition="'$(WindowsAppSDKBootstrapAutoInitializeOptions_Default)'=='true'">$(DefineConstants);MICROSOFT_WINDOWSAPPSDK_BOOTSTRAP_AUTO_INITIALIZE_OPTIONS_DEFAULT</DefineConstants>
<DefineConstants Condition="'$(WindowsAppSDKBootstrapAutoInitializeOptions_None)'=='true'">$(DefineConstants);MICROSOFT_WINDOWSAPPSDK_BOOTSTRAP_AUTO_INITIALIZE_OPTIONS_NONE</DefineConstants>
<DefineConstants Condition="'$(WindowsAppSDKBootstrapAutoInitializeOptions_OnError_DebugBreak)'=='true'">$(DefineConstants);MICROSOFT_WINDOWSAPPSDK_BOOTSTRAP_AUTO_INITIALIZE_OPTIONS_ONERROR_DEBUGBREAK</DefineConstants>
Expand Down
13 changes: 12 additions & 1 deletion build/ProjectReunion-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,21 @@ variables:
value: $(Build.SourcesDirectory)\BuildOutput

jobs:
- job: CredScan
- job: PreChecks
pool:
vmImage: 'windows-2019'
steps:
- task: PowerShell@2
displayName: 'Smoke test props and targets in \build\NuSpecs'
inputs:
targetType: 'inline'
script: |
$targetPaths = "$(Build.SourcesDirectory)\build\NuSpecs\*.targets"
$propPaths = "$(Build.SourcesDirectory)\build\NuSpecs\*.props"
Get-ChildItem $targetPaths | ForEach-Object { $_.Name; [xml](Get-Content $_) | Out-Null }
Get-ChildItem $propPaths | ForEach-Object { $_.Name; [xml](Get-Content $_) | Out-Null }
failOnStderr: true

# Scans the root source folder for security vulnerability
- task: CredScan@2
inputs:
Expand Down

0 comments on commit 0f5e22f

Please sign in to comment.