diff --git a/eng/packaging.targets b/eng/packaging.targets index d6344a0b666d79..8bf2b09abf81c9 100644 --- a/eng/packaging.targets +++ b/eng/packaging.targets @@ -8,8 +8,25 @@ true $(MSBuildThisFileDirectory)useSharedDesignerContext.txt $([MSBuild]::Subtract($(MajorVersion), 1)).0.0 + IncludeAnalyzersInPackage;$(BeforePack) + $(BuildProjectReferences) + false + + + + + + + + + + + + + <_TargetPathsToSymbols Include="@(_AnalyzerFile)" TargetPath="/%(_AnalyzerFile.PackagePath)" Condition="%(_AnalyzerFile.IsSymbol)" /> + + + + + + <_analyzerPath>analyzers/dotnet + <_analyzerPath Condition="'$(AnalyzerLanguage)' != ''">$(_analyzerPath)/$(AnalyzerLanguage) + + + <_AnalyzerPackFile Include="@(_BuildOutputInPackage)" IsSymbol="false" /> + <_AnalyzerPackFile Include="@(_TargetPathsToSymbols)" IsSymbol="true" /> + <_AnalyzerPackFile PackagePath="$(_analyzerPath)/%(TargetPath)" /> + + + diff --git a/src/libraries/Directory.Build.targets b/src/libraries/Directory.Build.targets index 2e90117f462b4c..2e0e5676c2aada 100644 --- a/src/libraries/Directory.Build.targets +++ b/src/libraries/Directory.Build.targets @@ -272,65 +272,5 @@ - - - <_intellisenseRootFolder>$(BuildOutputTargetFolder) - <_intellisenseRootFolder Condition="'$(_intellisenseRootFolder)' == ''">lib - - - - - - - - IncludeAnalyzersInPackage;$(BeforePack) - $(BuildProjectReferences) - false - - - - - - - - - - - - - - - - - <_TargetPathsToSymbols Include="@(_AnalyzerFile)" TargetPath="/%(_AnalyzerFile.PackagePath)" Condition="%(_AnalyzerFile.IsSymbol)" /> - - - - - - <_analyzerPath>analyzers/dotnet - <_analyzerPath Condition="'$(AnalyzerLanguage)' != ''">$(_analyzerPath)/$(AnalyzerLanguage) - - - <_AnalyzerPackFile Include="@(_BuildOutputInPackage)" IsSymbol="false" /> - <_AnalyzerPackFile Include="@(_TargetPathsToSymbols)" IsSymbol="true" /> - <_AnalyzerPackFile PackagePath="$(_analyzerPath)/%(TargetPath)" /> - - - - diff --git a/src/libraries/Microsoft.AspNetCore.Internal.Transport/pkg/Microsoft.AspNetCore.Internal.Transport.pkgproj b/src/libraries/Microsoft.AspNetCore.Internal.Transport/pkg/Microsoft.AspNetCore.Internal.Transport.pkgproj deleted file mode 100644 index 23046099e10ada..00000000000000 --- a/src/libraries/Microsoft.AspNetCore.Internal.Transport/pkg/Microsoft.AspNetCore.Internal.Transport.pkgproj +++ /dev/null @@ -1,18 +0,0 @@ - - - - true - true - false - false - Internal transport package to provide aspnetcore with the assemblies that make up the Microsoft.ASPNetCore.App shared framework. - - - <_analyzers Include="$(ASPNETCoreAppPackageRootPath)\analyzers\**\*.*" /> - - <_libDocs Include="$(ASPNETCoreAppPackageRuntimePath)\*.xml" /> - - - - - diff --git a/src/libraries/Microsoft.AspNetCore.Internal.Transport/src/Microsoft.AspNetCore.Internal.Transport.proj b/src/libraries/Microsoft.AspNetCore.Internal.Transport/src/Microsoft.AspNetCore.Internal.Transport.proj index 8d90792dd6ffe1..8f8f7feae0fbb3 100644 --- a/src/libraries/Microsoft.AspNetCore.Internal.Transport/src/Microsoft.AspNetCore.Internal.Transport.proj +++ b/src/libraries/Microsoft.AspNetCore.Internal.Transport/src/Microsoft.AspNetCore.Internal.Transport.proj @@ -1,6 +1,29 @@ - - + - netstandard2.0 + $(NetCoreAppCurrent) + true + false + + true + Internal transport package to provide aspnetcore with the assemblies that make up the Microsoft.ASPNetCore.App shared framework. + + $(NoWarn);NU5131 - \ No newline at end of file + + + <_analyzer Include="$(ASPNETCoreAppPackageRootPath)\analyzers\**\*.*" /> + <_libDoc Include="$(ASPNETCoreAppPackageRuntimePath)\*.xml" /> + + + + + +