blob: dd00efd80cc945c6e72a864f50aaa91e1f729721 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ResGenCommand Condition="'$(ResGenCommand)'==''">$(SDK40ToolsPath)ResGen.exe</ResGenCommand>
<PrepareResourcesDependsOn>GenerateSplitStringResources;$(PrepareResourcesDependsOn)</PrepareResourcesDependsOn>
</PropertyGroup>
<Target Name="GenerateSplitStringResources"
Inputs="$(MSBuildThisFileFullPath);$(MSBuildProjectFile);$(BclSourcesRoot)\mscorlib.txt"
Outputs="@(SplitTextStringResource->'$(IntermediateOutputPath)%(Filename).resources')">
<ItemGroup>
<Internal_ResGenDefines Remove="" />
<Internal_ResGenDefines Include="%(SplitTextStringResource.ResGenDefines)" />
</ItemGroup>
<Exec Command=""$(ResGenCommand)" "%(SplitTextStringResource.Identity)" "$(IntermediateOutputPath)%(SplitTextStringResource.Filename).resources" /D:INCLUDE_DEBUG /D:INCLUDE_RUNTIME @(Internal_ResGenDefines->'/D:%(Identity)', ' ')" />
<ItemGroup>
<EmbeddedResource Include="@(SplitTextStringResource->'$(IntermediateOutputPath)%(Filename).resources')">
<WithCulture>false</WithCulture>
<ManifestResourceName>%(Filename)</ManifestResourceName>
</EmbeddedResource>
<Clean Include="$(IntermediateOutputPath)%(SplitTextStringResource.Filename).resources" />
</ItemGroup>
<ItemGroup>
<Internal_ResGenDefines Remove="" />
</ItemGroup>
</Target>
</Project>
|