-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDocDotNetFramework.proj
More file actions
37 lines (35 loc) · 3.08 KB
/
DocDotNetFramework.proj
File metadata and controls
37 lines (35 loc) · 3.08 KB
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
31
32
33
34
35
36
37
<Project DefaultTargets="Reflection" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- Project Setup -->
<NetfxVer>2.0</NetfxVer>
<PresentationStyle >vs2005</PresentationStyle>
<ProductionTools>$(DxRoot)\ProductionTools</ProductionTools>
<ProductionTransforms>$(DxRoot)\ProductionTransforms</ProductionTransforms>
<TmpPath>$(DxRoot)\Data\Tmp</TmpPath>
<DestPath>$(DxRoot)\Data\Reflection</DestPath>
</PropertyGroup>
<ItemGroup>
<AssemblyFolders Include="$(WINDIR)\Microsoft.NET\Framework\v2.0.50727\*.dll"/>
<AssemblyFolders Include="$(WINDIR)\Microsoft.NET\Framework\v3.0\**\*.dll" Condition="$(NetfxVer)>2.0"/>
<AssemblyFolders Include="$(ProgramFiles)\Reference Assemblies\Microsoft\Framework\v3.0\*.dll" Condition="$(NetfxVer)>2.0"/>
<AssemblyFolders Include="$(WINDIR)\Microsoft.NET\Framework\v3.5\**\*.dll" Condition="$(NetfxVer)>3.0"/>
<AssemblyFolders Include="$(ProgramFiles)\Reference Assemblies\Microsoft\Framework\v3.5\*.dll" Condition="$(NetfxVer)>3.0"/>
</ItemGroup>
<Target Name="Reflection">
<MakeDir Directories="$(TmpPath)" Condition="!Exists('$(TmpPath)')" />
<MakeDir Directories="$(DestPath)" Condition="!Exists('$(DestPath)')" />
<CreateItem Include="@(AssemblyFolders->'%(FullPath)')">
<Output ItemName="Assemblies"
TaskParameter="Include"/>
</CreateItem>
<!--<Message Text="%(Assemblies.FullPath)" />-->
<Exec ContinueOnError="true" IgnoreExitCode="true"
Command=""$(DXROOT)\productiontools\Mrefbuilder.exe" "%(Assemblies.FullPath)" /out:"$(TmpPath)\%(Assemblies.FileName).xml"" />
<Exec Condition="'$(PresentationStyle)' == 'prototype'" ContinueOnError="true" IgnoreExitCode="true"
Command=""$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\ApplyPrototypeDocModel.xsl" /xsl:"$(ProductionTransforms)\AddGuidFilenames.xsl" "$(TmpPath)\%(Assemblies.FileName).xml" /out:"$(DestPath)\%(Assemblies.FileName).xml" /arg:IncludeAllMembersTopic=false /arg:IncludeInheritedOverloadTopics=true" />
<Exec Condition="'$(PresentationStyle)' == 'vs2005'" ContinueOnError="true" IgnoreExitCode="true"
Command=""$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\ApplyVSDocModel.xsl" /xsl:"$(ProductionTransforms)\AddFriendlyFilenames.xsl" "$(TmpPath)\%(Assemblies.FileName).xml" /out:"$(DestPath)\%(Assemblies.FileName).xml" /arg:IncludeAllMembersTopic=true /arg:IncludeInheritedOverloadTopics=true" />
<Exec Condition="'$(PresentationStyle)' == 'hana'" ContinueOnError="true" IgnoreExitCode="true"
Command=""$(ProductionTools)\XslTransform.exe" /xsl:"$(ProductionTransforms)\ApplyVSDocModel.xsl" /xsl:"$(ProductionTransforms)\AddFriendlyFilenames.xsl" "$(TmpPath)\%(Assemblies.FileName).xml" /out:"$(DestPath)\%(Assemblies.FileName).xml" /arg:IncludeAllMembersTopic=false /arg:IncludeInheritedOverloadTopics=true" />
</Target>
</Project>