File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 61
61
</ItemGroup >
62
62
63
63
<PropertyGroup >
64
+ <_GenApiFile >$([MSBuild]::NormalizePath('$(ArtifactsDir)', 'log', 'GenAPI.rsp'))</_GenApiFile >
64
65
<_GenAPICommand Condition =" '$(MSBuildRuntimeType)' == 'core'" >"$(DotNetTool)" --roll-forward-on-no-candidate-fx 2 "$(_GenAPIPath)"</_GenAPICommand >
65
- <_GenAPICmd >$(_GenAPICommand)</_GenAPICmd >
66
- <_GenAPICmd >$(_GenAPICmd) "$(TargetPath)"</_GenAPICmd >
67
- <_GenAPICmd >$(_GenAPICmd) --lib-path "@(_ReferencePathDirectories)"</_GenAPICmd >
68
- <_GenAPICmd >$(_GenAPICmd) --out "$(_RefSourceFileOutputPath)"</_GenAPICmd >
69
- <_GenAPICmd >$(_GenAPICmd) --header-file "$(RepoRoot)/eng/LicenseHeader.txt"</_GenAPICmd >
70
- <_GenAPICmd >$(_GenAPICmd) --exclude-api-list "$(RepoRoot)/eng/GenAPI.exclusions.txt"</_GenAPICmd >
66
+ <_GenAPICmd >$(_GenAPICommand) @"$(_GenApiFile)"</_GenAPICmd >
67
+ <_GenApiArguments ><![CDATA[
68
+ "$(TargetPath)"
69
+ --lib-path "@(_ReferencePathDirectories, '%3B')"
70
+ --out "$(_RefSourceFileOutputPath)"
71
+ --header-file "$(RepoRoot)/eng/LicenseHeader.txt"
72
+ --exclude-api-list "$(RepoRoot)/eng/GenAPI.exclusions.txt"
73
+ ]]>
74
+ </_GenApiArguments >
71
75
</PropertyGroup >
72
76
77
+ <WriteLinesToFile File =" $(_GenApiFile)" Lines =" $(_GenApiArguments)" Overwrite =" true" />
78
+
73
79
<MakeDir Directories =" $(_RefSourceOutputPath)" />
74
80
<Message Importance =" High" Text =" Generating $(_RefSourceFileOutputPath)" />
75
81
<Exec Command =" $(_GenAPICmd)" />
96
102
</ItemGroup >
97
103
</Target >
98
104
99
- </Project >
105
+ </Project >
You can’t perform that action at this time.
0 commit comments