© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
3 replies
MrScautHD

Inlcude content after run a command (.csproj)

Hey i wanna ask if it would possible to place this after the cmake building command?

    <ItemGroup>
        <Content Include="$(IntermediateOutputPath)native/raylib/$(Configuration)/$(RlName)" >
            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
            <Link>%(Filename)%(Extension)</Link>
        </Content>
    </ItemGroup>
    <ItemGroup>
        <Content Include="$(IntermediateOutputPath)native/raylib/$(Configuration)/$(RlName)" >
            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
            <Link>%(Filename)%(Extension)</Link>
        </Content>
    </ItemGroup>


I saw Target but that does not work for this thing i guys because it get not copyed.
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Csproj Content Include Behaviour
C#CC# / help
3mo ago
❔ Csproj Run npm command side by side with dotnet run
C#CC# / help
3y ago
error after modifying csproj
C#CC# / help
10mo ago