summaryrefslogtreecommitdiff
path: root/templates/vc8csharp.mpd
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2007-01-18 19:58:19 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2007-01-18 19:58:19 +0000
commit133a5f2d72f76c382fb9bed9b0ebcc5c12f1b8c1 (patch)
tree55e38ccd2555f4c7672601a588519c2e75537255 /templates/vc8csharp.mpd
parent5e254b97f11e5b5aca71178b8d18ab347e9343cb (diff)
downloadMPC-133a5f2d72f76c382fb9bed9b0ebcc5c12f1b8c1.tar.gz
ChangeLogTag: Thu Jan 18 19:57:42 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'templates/vc8csharp.mpd')
-rw-r--r--templates/vc8csharp.mpd24
1 files changed, 23 insertions, 1 deletions
diff --git a/templates/vc8csharp.mpd b/templates/vc8csharp.mpd
index adac4559..efa2d871 100644
--- a/templates/vc8csharp.mpd
+++ b/templates/vc8csharp.mpd
@@ -90,12 +90,34 @@
</ItemGroup>
<ItemGroup>
<%foreach(source_files)%>
+<%if(contains(flag_overrides(source_file, subtype), ^(Form|Component)$))%>
<Compile Include="<%source_file%>">
- <SubType><%if(flag_overrides(source_file, subtype))%><%flag_overrides(source_file, subtype)%><%else%>Code<%endif%></SubType>
+ <SubType><%flag_overrides(source_file, subtype)%></SubType>
<%if(flag_overrides(source_file, dependent_upon))%>
<DependentUpon><%flag_overrides(source_file, dependent_upon)%></DependentUpon>
<%endif%>
</Compile>
+<%if(remove_from(source_files, source_file, \.cs, .Designer.cs))%>
+ <Compile Include="<%noextension(source_file)%>.Designer.cs">
+ <DependentUpon><%basename(source_file)%></DependentUpon>
+ </Compile>
+<%endif%>
+<%if(remove_from(resx_files, source_file, \.cs, .resx))%>
+ <EmbeddedResource Include="<%noextension(source_file)%>.resx">
+ <SubType>Designer</SubType>
+ <DependentUpon><%basename(source_file)%></DependentUpon>
+ </EmbeddedResource>
+<%endif%>
+<%endif%>
+<%endfor%>
+<%foreach(source_files)%>
+<%if(!contains(flag_overrides(source_file, subtype), ^(Form|Component)$))%>
+ <Compile Include="<%source_file%>">
+<%if(flag_overrides(source_file, dependent_upon))%>
+ <DependentUpon><%flag_overrides(source_file, dependent_upon)%></DependentUpon>
+<%endif%>
+ </Compile>
+<%endif%>
<%endfor%>
<%foreach(custom_types)%>
<%foreach(custom_type->input_files)%>