Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How to find output directory in a CSPROJ file?

$
0
0

Currently I have a csproj file that gets built on an external machine.

I have multiple of the following tags in it:

<ItemGroup><None Include="$(some_file)"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></None></ItemGroup>

How can I get the output directory the file is being copied to? Where in the csproj file is that defined? If not defined there, is there an API or function I can call from a .cs script to get the output directory for a specific project? Moreover, aside from the output directory, how can I get the specific output path for such a file in the tags?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>