Correctly define the 'out' directory path
This commit is contained in:
Родитель
ced0df6101
Коммит
2a0cb526c9
|
@ -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' ">
|
||||
|
|
Загрузка…
Ссылка в новой задаче