File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,16 @@ SPDX-License-Identifier: MIT
6969 <Warning Text =" generated nupkg with configuration '$(Configuration)'" />
7070 </Target >
7171
72- <Import Project =" $(NuGetPackageRoot)\smdn.reflection.reversegenerating.listapi.msbuild.tasks\1.0.2\tasks\net6.0\GenerateApiList.task" Condition =" '$(Configuration)' == 'Release' and '$(AssemblyName)' != 'Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks' " />
73- <Import Project =" $(MSBuildThisFileDirectory)Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks\bin\Release\net6.0\GenerateApiList.task" Condition =" '$(Configuration)' == 'Release' and '$(AssemblyName)' == 'Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks' " />
72+ <Import
73+ Condition =" '$(Configuration)' == 'Release' and '$(AssemblyName)' != 'Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks' "
74+ Project =" $(NuGetPackageRoot)\smdn.reflection.reversegenerating.listapi.msbuild.tasks\1.0.2\tasks\net6.0\GenerateApiList.task"
75+ />
76+ <!-- load task from the debug assembly instead of the package's one -->
77+ <UsingTask
78+ Condition =" '$(Configuration)' == 'Release' and '$(AssemblyName)' == 'Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks' "
79+ TaskName =" Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.GenerateApiList"
80+ AssemblyFile =" Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks\bin\Debug\net6.0\Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll"
81+ />
7482
7583 <Target Name =" GenerateAPIListOfPackage" AfterTargets =" Pack" Condition =" '$(Configuration)' == 'Release' " Label =" API list generator" >
7684 <ItemGroup >
You can’t perform that action at this time.
0 commit comments