© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
40 replies
Lep

❔ ? WPF Build Action(Resource)

I have the following:
string Source = "C\\Images\\This.gif";
string Source = "C\\Images\\This.gif";

how can I include this to the resources automatically rather than manually?
<ItemGroup>
  <Resource Include="Images\This.gif" />
</ItemGroup>
<ItemGroup>
  <Resource Include="Images\This.gif" />
</ItemGroup>
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

WPF Resource Issue
C#CC# / help
16mo ago
WPF Fonts in a ResourceDictionary
C#CC# / help
2y ago
WPF - Resource Dictionary - "the resource could not be resolved"
C#CC# / help
2y ago
❔ WPF Image with resource file .resx
C#CC# / help
3y ago