From acb5d5124b4cf9df7c161ea4063c9a610771aa06 Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Tue, 3 Sep 2024 20:21:06 -0700 Subject: [PATCH] Fix docs file names and add validation --- eng/intellisense.targets | 2 +- src/libraries/sfx.proj | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/eng/intellisense.targets b/eng/intellisense.targets index 7e1cb0054d311..b412e33e4de6a 100644 --- a/eng/intellisense.targets +++ b/eng/intellisense.targets @@ -11,7 +11,7 @@ $(IntellisensePackageXmlFilePathFromNetFolder) $(IntellisensePackageXmlFilePathFromDotNetPlatExtFolder) - $(IntermediateOutputPath)$(TargetName).intellisense-package.xml + $([MSBuild]::NormalizePath('$(IntermediateOutputPath)', 'intellisense-package', '$(TargetName).xml')) $(NoWarn);CS1591 diff --git a/src/libraries/sfx.proj b/src/libraries/sfx.proj index 9b174d57c90f0..cb04ad97f3b23 100644 --- a/src/libraries/sfx.proj +++ b/src/libraries/sfx.proj @@ -73,6 +73,27 @@ UseHardlinksIfPossible="true" /> + + + + <_expectedRef Include="@(NetCoreAppLibrary)" Condition="!$([System.String]::new('%(Identity)').StartsWith('System.Private'))" /> + <_expectedSharedFrameworkFile Include="@(_expectedRefs->'$(MicrosoftNetCoreAppRefPackRefDir)%(Identity).dll')" /> + + + <_expectedDoc Include="@(_expectedRefs)" Exclude="netstandard;@(NetFxReference)" /> + <_expectedSharedFrameworkFile Include="@(_expectedDoc->'$(MicrosoftNetCoreAppRefPackRefDir)%(Identity).xml')" /> + + + <_expectedLib Include="@(NetCoreAppLibrary)" Exclude="System.Private.CoreLib" /> + <_expectedSharedFrameworkFile Include="@(_expectedLib->'$(MicrosoftNetCoreAppRuntimePackRidLibTfmDir)%(Identity).dll')" /> + + <_missingSharedFrameworkFile Include="@(_expectedSharedFrameworkFile)" Exclude="@(_expectedSharedFrameworkFile->Exists())" /> + + + + +