Copying content folder in .csproj
To copy content folder in .csproj to output folder, add the following.
<ItemGroup>
<Content Include="$(ProjectDir)Content\**" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
Search for a command to run...
To copy content folder in .csproj to output folder, add the following.
<ItemGroup>
<Content Include="$(ProjectDir)Content\**" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
No comments yet. Be the first to comment.
Azure Resource Manager Quick Start Templates is a treasure trove. I have to book mark it here. Templates
OpenTelemetry is the software industry standard for logging so I wrote a sample Web Job that logs, traces and emits metrics using open telemetry. Sample on Git Hub
Do not violate the YAGNI principle. You aren't gonna need it. Do not violate the POLA principle. Principle of least astonishment. My preferences Domain-Driven Design. Functional programming. Test & Behavior Driven Development Clean Code: A Handb...
To return success with no content use return NoContent(); POST is used to create a resource so if the POST has a ID like POST authors/myid If the id exists it should return Conflict return new StatusCodeResult(StatusCodes.Status409Conflict) To creat...