Hi, I have nearly 2000 files in my Assets\MyImages\ folder, which should be added as 'Build Action = Content'.
Now I am adding it manually in the properties window. I want to know is there any method to add all files and subfolders of a parent folder (MyImages) in to my project with Build action as content.
][1]
<Project...>
....
<Content Include="Assets\MyImages\Animals\elephant1.png" />
<Content Include="Assets\MyImages\Characters\Characters.txt" />
<Content Include="Assets\MyImages\Flowers\Flowers.doc" />
<Content Include="Assets\MyImages\Fruits\Fruits.some" />
I wish there must be a way to add it like, <Content Include="Assets\MyImages\*.*" /> through Notepad++
I tried this way. But no luck.
In short, I want to know how to add a folder with all its subfolders and all files in all subfolders with Build action as content by a single line in .csproj file?