Questions tagged [vnext]

93 questions
6
votes
1 answer

How to include NUnit test output when publishing test results in Azure DevOps?

I have a vNext build which runs a few NUnit tests and publishes the results. However, the output produced by the tests is not published, even though it is found in the respective XML file. For example: But, if I inspect the respective XML files -…
mark
  • 59,016
  • 79
  • 296
  • 580
5
votes
3 answers

What's the difference using NuGet Installer task and "Restore Nuget Packages" in Visual Studio Build step?

For TFS build (I use TFS 2017) should I use NuGet Installer task or use the Visual Studio Build step in the build configuration to restore all NuGet packages. Which is the preferred way to use it?
user3634685
  • 431
  • 3
  • 7
  • 15
5
votes
2 answers

Change appx package version from vNext build

I've created a UWP project that I'm building with a TFS vNext build. When it creates the package, it uses the version from the appx manifest. Instead, I'd like to set the version number from the msbuild command line. Is this possible?
Dan
  • 1,215
  • 1
  • 10
  • 22
3
votes
1 answer

TFS2015 vNext build fail:MSBUILD : error MSB4017: The build stopped unexpectedly because of an unexpected logger failure

TFS2015 vNext build fail with logger error (error message attached below). From my investigation, looks like this is related to CentralLogger - "Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll" , when I run the command line build…
Angel
  • 127
  • 1
  • 11
2
votes
1 answer

Why one can set TFS predefined variables when they are said to be read-only?

According to https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=tfs-2018 These variables are automatically set by the system and read-only. (The exceptions are Build.Clean and System.Debug.) Nonetheless, if one tries to…
Eugene Podskal
  • 10,270
  • 5
  • 31
  • 53
2
votes
1 answer

Is there a standard way to delete successful vnext builds (PR) just after their completion?

The most aggressive build retention policy one can set for pull request builds is described in "Clean up pull request builds" a policy that keeps a minimum of 0 builds Still, it means that successful PR builds (with artifacts no one will ever…
Eugene Podskal
  • 10,270
  • 5
  • 31
  • 53
2
votes
2 answers

TFS vNext build Test Impact Analysis - always running all tests from some projects in the solution

I have a C# Visual Studio 2017 solution with multiple projects and test projects, a vNext build pipeline with VS Test task. The "Run only impacted tests" option is enabled. Clean options are unchecked. I start a build with no changesets (no code…
Kemal Taşkın
  • 545
  • 4
  • 18
2
votes
1 answer

Use enumerations (dropdowns) in variables of vNext build definitions (TFS)

Is it possible to use dropdown menus for variables in vNext build definitions? And how can this be done?(TFS 2017) Theses variables shall also be available at queue time. By default, all variables are of type string and cannot be changed…
Tobi
  • 61
  • 6
2
votes
1 answer

TFS 2015 / vNext Build - Set Build.Clean Control Variable in a build step

Is it possible to set the Build.Clean control variable during a build step (Not at Queue Time), based upon the way the build is queued? For instance, I have a build that if queued manually during the day, I want it to run Incrementally. If it runs…
Heath
  • 23
  • 4
2
votes
1 answer

Can't convert from Microsoft.Extensions.Configuration.IConfigurationBuilder' to 'Microsoft.Extensions.Configuration.IConfiguration'

When working with ASP.NET Core, in Program.cs when we add Configuration I faced an unusual issue (for those who are expert in ASP.NET CORE may find this basic). When I was trying to add .UseConfiguration(config) it gave me a error saying - Can't…
Abhay Shiro
  • 3,431
  • 2
  • 16
  • 26
2
votes
2 answers

VSTest configuration in TFS 2015 for Visual Studio 2017

I am having problems configuring VSTest task in TFS 2015 vNext build definition to run with Visual Studio 2017. Selecting "Latest" in VSTest version drop down list does not work for VS2017. I found some posts in forums describing to provide specific…
WHBonney
  • 23
  • 3
2
votes
2 answers

Wix ICE Error from 01 to 07

I have to update our build-system from the old "XML-System" to the newer vNext. Now I have the problem, that in a build progress, I'm getting errormessages from ligther.exe: [error]light.exe(0,0): Error LGHT0217: Error executing ICE action 'ICE01'.…
user7569309
2
votes
2 answers

Do you need to run a Selenium Server with RemoteWebDriver in order to perfrm the step "Run Functional Tests" in TFS 2017 vnext build?

I have been able to run Selenium test locally on my test machine using a simple webdriver setup such as IWebDriver driver = new FirefoxDriver(); driver.Url = "http://www.testedApp.com"; and running the tests through…
toltec7
  • 51
  • 5
1
vote
1 answer

Associating Build Number with TFS Work Items after build using vNext

We have a requirement of associating work items with TFS Builds. Generally, this is possible (or we can say 'natural') while using XAML Build Templates in TFS (via Integration Build field of WorkItem. In the below screenshot it was mentioned as…
1
vote
1 answer

Matrix vnext vCard request

After fetching roster, I want to send a IQ get message to get vCard. How to send the a XMPP/XML packet with desired value using matrix vnext? Example of packet details: IQ [ID ='123' type='get' to='foo@10.10.10.11'] VCard [xmlns='vcard-temp' ]
1
2 3 4 5 6 7