Answers for ".net core copy folder to output"

C#
0

.net core copy directory to output

<ItemGroup>
  <None Include="$(SolutionDir)config**" 
        CopyToOutputDirectory="PreserveNewest"
        LinkBase="config" />
</ItemGroup>
Posted by: Guest on July-15-2020
0

.net core copy file in folder to root

<ContentWithTargetPath Include="libsome_file.dat">
  <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  <TargetPath>some_file.dat</TargetPath>
</ContentWithTargetPath>
Posted by: Guest on January-23-2020

C# Answers by Framework

Browse Popular Code Answers by Language