November 17, 2019

How to copy a File to output folder (Debug/Release folder)

  November 17, 2019
If we need to get any file inside the project as a build artifact, we need to add that file to the output folder of the build.

We can use the below way to do this.

if we want to copy the file selenium-server-standalone-3.141.59.jar to Debug/Release folder we need to follow the below steps.

  1. Right-click on the file and click on the properties

2. Now select copy to output folder option as Copy always/If newer

Now the file can be found in the Debug/Release folder in local as well as in Azure Artifact.

A sample of such a copied file is shown below.


Thanks for reading How to copy a File to output folder (Debug/Release folder)

« Prev Post

No comments:

Post a Comment

Fixing javascript error: Cannot read properties of null (reading 'querySelector') issue when using CSS identifier in selenium

 JavaScript is another way to interact with web elements when normal selenium methods fail to act. But one issue with javascript is, it does...