Skip to content

Commit 193598b

Browse files
authored
[rel/3.8] Revert _IncludeGenerateAutoRegisteredExtensionsIntoCompilation target rename (#5045)
1 parent 91715f4 commit 193598b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Platform/Microsoft.Testing.Platform.MSBuild/buildMultiTargeting/Microsoft.Testing.Platform.MSBuild.targets

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
<_SelfRegisteredExtensionsSourcePath>$([System.IO.Path]::Combine($(IntermediateOutputPath),$(_SelfRegisteredExtensionsSourceName)))</_SelfRegisteredExtensionsSourcePath>
196196
<_SelfRegisteredExtensionsSourcePath>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_SelfRegisteredExtensionsSourcePath)))</_SelfRegisteredExtensionsSourcePath>
197197
</PropertyGroup>
198-
<Target Name="_GenerateSelfRegisteredExtensions" BeforeTargets="_IncludeGenerateSelfRegisteredExtensionsIntoCompilation;_GenerateTestingPlatformEntryPoint"
198+
<Target Name="_GenerateSelfRegisteredExtensions" BeforeTargets="_IncludeGenerateAutoRegisteredExtensionsIntoCompilation;_GenerateTestingPlatformEntryPoint"
199199
Inputs="@(GenerateSelfRegisteredExtensionsInputsCacheFilePath)" Outputs="$(_SelfRegisteredExtensionsSourcePath)"
200200
Condition=" '$(GenerateSelfRegisteredExtensions)' == 'True' " >
201201
<TestingPlatformSelfRegisteredExtensions SelfRegisteredExtensionsSourcePath="$(_SelfRegisteredExtensionsSourcePath)"
@@ -211,7 +211,7 @@
211211

212212
<!-- We always include the entry point also if the task _GenerateSelfRegisteredExtensions is skipped for caching reason -->
213213
<!-- !!! DO NOT CHANGE THE NAME OF THIS TARGET IS USED BY ADAPTERS https://github.com/microsoft/testfx/issues/3478#issuecomment-2313889212 !!! -->
214-
<Target Name="_IncludeGenerateSelfRegisteredExtensionsIntoCompilation" BeforeTargets="_IncludeGenerateTestingPlatformEntryPointIntoCompilation;BeforeCompile;XamlPreCompile" Condition=" '$(GenerateSelfRegisteredExtensions)' == 'True' " >
214+
<Target Name="_IncludeGenerateAutoRegisteredExtensionsIntoCompilation" BeforeTargets="_IncludeGenerateTestingPlatformEntryPointIntoCompilation;BeforeCompile;XamlPreCompile" Condition=" '$(GenerateSelfRegisteredExtensions)' == 'True' " >
215215
<ItemGroup>
216216
<Compile Include="$(_SelfRegisteredExtensionsSourcePath)" />
217217
</ItemGroup>

0 commit comments

Comments
 (0)