Correctly define the 'out' directory path

This commit is contained in:
Jeffrey Stedfast 2024-09-16 13:38:26 -04:00
Родитель ced0df6101
Коммит 2a0cb526c9
3 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -110,18 +110,18 @@ extends:
displayName: Build UWP Managed NuGet package
inputs:
solution: src\BehaviorsSDKManaged\Microsoft.Xaml.Interactions.Design\Microsoft.Xaml.Interactions.Design.csproj
msbuildArgs: /t:Pack /p:SignType=$(SignType) /p:TimestampPackage=$(TimestampPackage) /p:PackageOutputPath="$(Build.SourcesDirectory)out"
msbuildArgs: /t:Pack /p:SignType=$(SignType) /p:TimestampPackage=$(TimestampPackage) /p:PackageOutputPath="$(Build.SourcesDirectory)\out"
configuration: Release
- task: VSBuild@1
displayName: Build WinUI Managed NuGet package
inputs:
solution: src\BehaviorsSDKManaged\Microsoft.Xaml.Interactivity.WinUI\Microsoft.Xaml.Interactivity.WinUI.csproj
msbuildArgs: /t:Pack /p:SignType=$(SignType) /p:TimestampPackage=$(TimestampPackage) /p:PackageOutputPath="$(Build.SourcesDirectory)out"
msbuildArgs: /t:Pack /p:SignType=$(SignType) /p:TimestampPackage=$(TimestampPackage) /p:PackageOutputPath="$(Build.SourcesDirectory)\out"
configuration: Release
- task: CopyFiles@2
displayName: 'Copy Symbols to: $(Pipeline.Workspace)\Symbols'
inputs:
SourceFolder: $(Build.SourcesDirectory)out
SourceFolder: $(Build.SourcesDirectory)\out
Contents: '**\bin\**\*.pdb'
TargetFolder: $(Pipeline.Workspace)\Symbols
- task: MicroBuildArchiveSymbols@5
@ -135,7 +135,7 @@ extends:
- task: CopyFiles@2
displayName: 'Copy NuGet Packages to: $(Build.ArtifactStagingDirectory)\Packages'
inputs:
SourceFolder: $(Build.SourcesDirectory)out
SourceFolder: $(Build.SourcesDirectory)\out
Contents: '**\*.nupkg'
TargetFolder: $(Build.ArtifactStagingDirectory)\Packages
OverWrite: true

Просмотреть файл

@ -127,7 +127,7 @@
-->
<Target Name="Pack">
<PropertyGroup>
<PackageOutputPath>..\..\..\out\NuGetPackages</PackageOutputPath>
<PackageOutputPath Condition=" '$(PackageOutputPath)' == '' ">..\..\..\out\NuGetPackages</PackageOutputPath>
</PropertyGroup>
<Exec Command="nuget pack ..\..\..\scripts\Microsoft.Xaml.Behaviors.Uwp.Managed.nuspec -outputDirectory $(PackageOutputPath) -version $(PackageVersion)" />
</Target>

Просмотреть файл

@ -186,7 +186,7 @@
<PackageProjectUrl>http://go.microsoft.com/fwlink/?LinkID=651678</PackageProjectUrl>
<PackageIconUrl>http://go.microsoft.com/fwlink/?LinkID=708511</PackageIconUrl>
<NuspecFile>..\..\..\scripts\Microsoft.Xaml.Behaviors.WinUI.Managed.nuspec</NuspecFile>
<PackageOutputPath>..\..\..\out\NuGetPackages</PackageOutputPath>
<PackageOutputPath Condition=" '$(PackageOutputPath)' == '' ">..\..\..\out\NuGetPackages</PackageOutputPath>
</PropertyGroup>
<Import Project="..\Version\NuGetPackageVersion.props" />
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">