Tfs build content output directory

I have the following script:

  • C # Class Library
  • TFS build 2012

In the project, I have the following structure:

-Resources
---File.extension (type: content, copy always)

When I create this locale with visual studio, I get the following:

bin\resources\File.extension

This is what I want and what to expect, but on the tfs build I get the following:

bin\File.extension

I could not understand why this is happening. I would like to know why this could happen.

+4
source share
1 answer

You can specify Create output location during assembly โ†’ Create โ†’ Output. The default value is SingleFolder , so you got this. To achieve what you want, you can change it to AsConfigured.
enter image description here

, TFBuild , :

โ€ข SingleFolder: .

โ€ข PerProject: , "".

โ€ข AsConfigured: , , - Visual Studio. .

0

Source: https://habr.com/ru/post/1615431/


All Articles