Include `%(DocumentName)` when invoking the default document generator tool (#8982)
- #8319 * Skip dotnet-watch `RenameCompiledFile()` test - #8987 * Quote path and name arguments of `dotnet-getdocument` command
This commit is contained in:
parent
a4417e6240
commit
edb91d0f4d
|
|
@ -176,13 +176,13 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- @(CurrentServiceProjectReference) item group will never contain more than one item. -->
|
<!-- @(CurrentServiceProjectReference) item group will never contain more than one item. -->
|
||||||
<CurrentServiceProjectReference Update="@(CurrentServiceProjectReference)">
|
<CurrentServiceProjectReference Update="@(CurrentServiceProjectReference)">
|
||||||
<Command>dotnet $(MSBuildThisFileDirectory)/../tools/dotnet-getdocument.dll --project %(FullPath)</Command>
|
<Command>dotnet $(MSBuildThisFileDirectory)/../tools/dotnet-getdocument.dll --project "%(FullPath)"</Command>
|
||||||
<Configuration Condition="'%(Configuration)' == ''">$(Configuration)</Configuration>
|
<Configuration Condition="'%(Configuration)' == ''">$(Configuration)</Configuration>
|
||||||
<GenerateDefaultDocumentOptions
|
<GenerateDefaultDocumentOptions
|
||||||
Condition="'%(GenerateDefaultDocumentOptions)' == ''">$(GenerateDefaultDocumentDefaultOptions)</GenerateDefaultDocumentOptions>
|
Condition="'%(GenerateDefaultDocumentOptions)' == ''">$(GenerateDefaultDocumentDefaultOptions)</GenerateDefaultDocumentOptions>
|
||||||
</CurrentServiceProjectReference>
|
</CurrentServiceProjectReference>
|
||||||
<CurrentServiceProjectReference Update="@(CurrentServiceProjectReference)">
|
<CurrentServiceProjectReference Update="@(CurrentServiceProjectReference)">
|
||||||
<Command>%(Command) --framework %(TargetFramework) --output %(DocumentPath)</Command>
|
<Command>%(Command) --documentName "%(DocumentName)" --framework %(TargetFramework) --output "%(DocumentPath)"</Command>
|
||||||
</CurrentServiceProjectReference>
|
</CurrentServiceProjectReference>
|
||||||
<CurrentServiceProjectReference Update="@(CurrentServiceProjectReference)">
|
<CurrentServiceProjectReference Update="@(CurrentServiceProjectReference)">
|
||||||
<Command Condition="'%(Method)' != ''">%(Command) --method %(Method)</Command>
|
<Command Condition="'%(Method)' != ''">%(Command) --method %(Method)</Command>
|
||||||
|
|
@ -192,7 +192,7 @@
|
||||||
</CurrentServiceProjectReference>
|
</CurrentServiceProjectReference>
|
||||||
<CurrentServiceProjectReference Update="@(CurrentServiceProjectReference)">
|
<CurrentServiceProjectReference Update="@(CurrentServiceProjectReference)">
|
||||||
<Command
|
<Command
|
||||||
Condition="'%(ProjectExtensionsPath)' != ''">%(Command) --projectExtensionsPath %(ProjectExtensionsPath)</Command>
|
Condition="'%(ProjectExtensionsPath)' != ''">%(Command) --projectExtensionsPath "%(ProjectExtensionsPath)"</Command>
|
||||||
</CurrentServiceProjectReference>
|
</CurrentServiceProjectReference>
|
||||||
<CurrentServiceProjectReference Update="@(CurrentServiceProjectReference)">
|
<CurrentServiceProjectReference Update="@(CurrentServiceProjectReference)">
|
||||||
<Command>%(Command) --configuration %(Configuration) %(GenerateDefaultDocumentOptions)</Command>
|
<Command>%(Command) --configuration %(Configuration) %(GenerateDefaultDocumentOptions)</Command>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue