diff --git a/eng/intellisense.targets b/eng/intellisense.targets
index 7e1cb0054d3115..b412e33e4de6ae 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 9b174d57c90f0a..cb04ad97f3b230 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())" />
+
+
+
+
+