I have a build pipeline set up for a UWP project.
The build solution task has the following YAML
which mentions errors
#Your build pipeline references an undefined variable named ‘Parameters.solution’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
#Your build pipeline references an undefined variable named ‘Parameters.msbuildArgs’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
#Your build pipeline references the ‘BuildConfiguration’ variable, which you’ve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
steps:
- task: VSBuild@1
displayName: 'Build solution **\*.sln'
inputs:
solution: '$(Parameters.solution)'
vsVersion: 15.0
msbuildArgs: '$(Parameters.msbuildArgs)'
platform: x86
configuration: '$(BuildConfiguration)'
I want to set the path to publish for the Publish Artifact task
However when I select the elipse to choose the path to publish I don't see any kind of artifact folder to select.
I am having a problem getting the mental model of what is going on on the build server ( the hosted agent ).
When I look at the console output for each task that runs I can see that it is creating folders with the source code in them for example
D:\a\1\s\jtUFlow\jtUFlow\jtUFlow.csproj
It would help to have an explorer view of the hosted agent with the variables pointing to the folders.
As Ajaxer points out I cant browse the folders in the pipeline because they don't yet exist.
I can see in the console output of the Build solution task code such as
Creating directory "D:\a\1\a\AppxPackages\jtUFlow_1.0.0.0_Test\Add-AppDevPackage.resources".
Is it reasonable to assume that (Build.ArtifactStagingDirectory)\AppxPackages\ is mapping to this?