summaryrefslogtreecommitdiff
path: root/templates/vc8csharp.mpd
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2007-10-11 17:43:36 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2007-10-11 17:43:36 +0000
commit70f15cd7b527bd914e38b5a0687f4d360ba9db85 (patch)
treec2631c680d0fd64b6b026cb5fa954f5d7ec8e9fa /templates/vc8csharp.mpd
parent7b9d61fe06607e18ddd13a5564369345bfb98c02 (diff)
downloadMPC-70f15cd7b527bd914e38b5a0687f4d360ba9db85.tar.gz
ChangeLogTag: Thu Oct 11 17:42:54 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'templates/vc8csharp.mpd')
-rw-r--r--templates/vc8csharp.mpd8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/vc8csharp.mpd b/templates/vc8csharp.mpd
index 4ed6710e..5f25b613 100644
--- a/templates/vc8csharp.mpd
+++ b/templates/vc8csharp.mpd
@@ -105,7 +105,13 @@
<DependentUpon><%basename(source_file)%></DependentUpon>
</Compile>
<%endif%>
-<%foreach(removed, 1, remove_from(resx_files, .*\.resx, source_file, \.cs))%>
+<%if(remove_from(resx_files, resx, source_file, cs))%>
+ <EmbeddedResource Include="<%noextension(source_file)%>.resx">
+ <SubType>Designer</SubType>
+ <DependentUpon><%basename(source_file)%></DependentUpon>
+ </EmbeddedResource>
+<%endif%>
+<%foreach(removed, 1, remove_from(resx_files, .*\.resx, source_file, cs))%>
<EmbeddedResource Include="<%removed%>">
<SubType>Designer</SubType>
<DependentUpon><%basename(source_file)%></DependentUpon>