Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion eng/intellisense.targets
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,13 @@
</PropertyGroup>
</Target>

<!-- Skip the PNSE doc-source self-reference when not building a .NETCoreApp vertical. -->
<Target Name="AddProjectReferenceToPNSEDocSource"
DependsOnTargets="GetPNSEDocTargetFramework"
BeforeTargets="PrepareForBuild"
Condition="'$(IsPlatformNotSupportedAssembly)' == 'true' and
'$(UseCompilerGeneratedDocXmlFile)' == 'true'">
'$(UseCompilerGeneratedDocXmlFile)' == 'true' and
('$(BuildTargetFramework)' == '' or '$(TargetFrameworkIdentifier)' == '.NETCoreApp')">

<Error Condition="'$(PNSEDocTargetFramework)' == ''"
Text="Could not find a compatible TargetFramework to use as the documentation source for this PNSE build. Set 'PNSEDocTargetFramework' to the desired target framework." />
Expand Down
Loading