I want to add some files to embedded resourses at compile time with special naming. For this I wrote in .csproj
<Target Name="BeforeBuild" >
<ItemGroup>
<EmbeddedResource Include="..\Bin\$(Configuration)\*.*">
</EmbeddedResource>
</ItemGroup>
</Target>
But it always set <LogicalName>
to default.
How can I do this?