queue: name: Hosted demands: - msbuild - vstest #Your build definition references an undefined variable named ‘Parameters.solution’. Create or edit the build definition for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972 #Your build definition references the ‘BuildPlatform’ variable, which you’ve selected to be settable at queue time. Create or edit the build definition 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 #Your build definition references the ‘BuildConfiguration’ variable, which you’ve selected to be settable at queue time. Create or edit the build definition 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 #Your build definition references the ‘BuildPlatform’ variable, which you’ve selected to be settable at queue time. Create or edit the build definition 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 #Your build definition references the ‘BuildConfiguration’ variable, which you’ve selected to be settable at queue time. Create or edit the build definition 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 #Your build definition references an undefined variable named ‘build.sourcesdirectory’. Create or edit the build definition for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972 #Your build definition references an undefined variable named ‘build.artifactstagingdirectory’. Create or edit the build definition for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972 #Your build definition references an undefined variable named ‘build.sourcesdirectory)’. Create or edit the build definition for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972 #Your build definition references an undefined variable named ‘build.artifactstagingdirectory’. Create or edit the build definition for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972 #Your build definition references an undefined variable named ‘build.artifactstagingdirectory’. Create or edit the build definition for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972 #Your build definition references an undefined variable named ‘build.artifactstagingdirectory’. Create or edit the build definition for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972 steps: - task: NuGetToolInstaller@0 - task: NuGetCommand@2 inputs: restoreSolution: "$(Parameters.solution)" - task: MSBuild@1 inputs: platform: "$(BuildPlatform)" configuration: "$(BuildConfiguration)" - task: VSTest@2 inputs: testAssemblyVer2: "**\$(BuildConfiguration)\*test*.dll !**\obj\**" platform: "$(BuildPlatform)" configuration: "$(BuildConfiguration)" - task: CopyFiles@2 inputs: SourceFolder: "$(build.sourcesdirectory)" Contents: "**\bin\$(BuildConfiguration)\**" TargetFolder: "$(build.artifactstagingdirectory)" - task: CopyFiles@2 inputs: SourceFolder: "$(build.sourcesdirectory) " Contents: "**/Deploy-*.ps1" TargetFolder: "$(build.artifactstagingdirectory)" - task: DeleteFiles@1 inputs: SourceFolder: "$(build.artifactstagingdirectory)" Contents: "nfx.Xrm.*" - task: PublishBuildArtifacts@1 inputs: PathtoPublish: "$(build.artifactstagingdirectory)" ArtifactName: "drop" ArtifactType: "Container"