---
title: "Discussion on \"Copying content folder in .csproj\" | Hashnode"
description: "Discussion on \"Copying content folder in .csproj\". To copy content folder in .csproj to output folder, add the following.\n  <ItemGroup>\n    <Content  Include=\"$(ProjectDir)Content\\**\" CopyToOutputDirectory=\"PreserveNewest\" />\n  </ItemGroup>"
url: "https://hashnode.com/posts/copying-content-folder-in-csproj/61e8ad306f4d6f431978f9f4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Copying content folder in .csproj](https://cwizsoftware.com/copying-content-folder-in-csproj?utm_source=hashnode&utm_medium=feed)

To copy content folder in .csproj to output folder, add the following. <ItemGroup> <Content Include="$(ProjectDir)Content\\\*\*" CopyToOutputDirectory="PreserveNewest" /> </ItemGroup>

Jan 20, 2022 · 1 min read · cwizsoftware.com  
Read the article

-   [#visual-studio](https://hashnode.com/tag/visual-studio)
-   [#csharp](https://hashnode.com/tag/csharp)

## Written by

[Xavier](https://hashnode.com/@xavier2021)

@xavier2021

  
[View profile](https://hashnode.com/@xavier2021)

C#

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
