December 8, 2021

How to build a .Net Core selenium project in Azure release pipeline

  December 8, 2021

 If we are using only .Net framework for the selenium test project creation, we can directly use Visual Studio Build Task and Publish Artifact task to build the solution in Azure.

But if our project is made of .Net Core, we may need to do an extra step to complete the build.

The extra task we may need to add will .Net Core publish


We can enable/disable the Zip Packaged project based on our convenience.

We can add the name of the folder in the Arguments section .We can also mention configuration as Release/Build etc

Eg: --configuration  $(BuildConfiguration) -o $(Build.ArtifactStagingDirectory)/MyTests

logoblog

Thanks for reading How to build a .Net Core selenium project in Azure release pipeline

Previous
« Prev Post

No comments:

Post a Comment

Bookmark this website for more workarounds and issue fixes.

Verify Zip file contents without extracting using C# + Selenium

While doing automation testing, we may get a scenario where we need to download a zip file and to validate the contents inside it. One way t...