Open DanielBadan opened 7 years ago
I am having similar issue, please do let me know if you find a solution
Found one, you have to use a wildcard in your .csproj file.
https://msdn.microsoft.com/en-us/library/ms171454(VS.80).aspx http://stackoverflow.com/questions/2059562/in-visual-studio-how-can-i-set-the-build-action-for-an-entire-folder
I'm using this to include all folders and files from ./Build folder
<Target Name="BeforeBuild">
<ItemGroup>
<Content Include="Build\**\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Target>
Thanks alot for the quick response, Ill give this a go next week.
It worked perfectly, Thanks again
Hi here, thank you for this awesome example.
Working with Visual Studio, you can't include the hashed assets manually from Solution Explorer as you'll need to do this every time an asset changes. Without that, assets don't get on dev and prod environments as they're not included in the project.
Is there a way to include them dynamically?