publish files to common output directory
Hello,
I have a Visual Studio 2015 project that has a build output path of this:
<OutputPath>..\..\bin\Debug\</OutputPath>
My other Visual studio projects then pick up references from this directory eg:
<Reference Include="Constants">
<HintPath>..\..\bin\Debug\Constants.dll</HintPath>
</Reference>
So essentially the directory structure looks like this:
c:\Source\Constants <-- Solution file resides here
c:\Source\Constants\Constants <-- .cs files reside here
c:\Source\bin\Debug <-- Output directory for "Constants.dll"
I just put that project into TeamCity and built it... it compiled fine, but I cannot find the artifacts ?
How can I configure TeamCity to publish artifacts to that common directory as well ?
Thanks
Please sign in to leave a comment.
Hi Mike,
You can configure the path to the artifacts that should be published in the General Settings tab of the build configuration. If you already ran a build with it, you can use the folder tree icon to find the generated artifacts with a file chooser. If you want to move the artifacts to a given folder, you can then set an artifact rule to move it such as "some\Output\Path\File.dll => some\Other\Path\"
Thanks ... that works !