diff options
author | Santiago Fernandez Madero <safern@microsoft.com> | 2021-08-03 09:33:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 09:33:41 +0300 |
commit | 5b4fbd4230f02e24047aec55034343094aeb420a (patch) | |
tree | dc4cc068e5a7506ec84d42574e79cb027b58f798 /eng/packaging.targets | |
parent | a0ff4e1a4390813a2c93684f88b96a0082811729 (diff) |
Fix build error when building some packages (#56767)
* Fix build error when building some packages
* Actually move declaration to Directory.Build.targets as they should be used in other scenarios
Diffstat (limited to 'eng/packaging.targets')
-rw-r--r-- | eng/packaging.targets | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/eng/packaging.targets b/eng/packaging.targets index 8bf2b09abf8..6af2a73afc1 100644 --- a/eng/packaging.targets +++ b/eng/packaging.targets @@ -9,24 +9,8 @@ <PackageDesignerMarkerFile>$(MSBuildThisFileDirectory)useSharedDesignerContext.txt</PackageDesignerMarkerFile> <PackageValidationBaselineVersion Condition="'$(PackageValidationBaselineVersion)' == ''">$([MSBuild]::Subtract($(MajorVersion), 1)).0.0</PackageValidationBaselineVersion> <BeforePack>IncludeAnalyzersInPackage;$(BeforePack)</BeforePack> - <BuildAnalyzerReferences>$(BuildProjectReferences)</BuildAnalyzerReferences> - <BuildAnalyzerReferences Condition="'$(BuildingInsideVisualStudio)' == 'true'">false</BuildAnalyzerReferences> </PropertyGroup> - <ItemGroup> - <!-- Ensure AnalyzerReference items are restored and built - The target framework of Analyzers has no relationship to that of the refrencing project, - so we don't apply TargetFramework filters nor do we pass in TargetFramework. - When BuildProjectReferences=false we make sure to set BuildReference=false to make - sure not to try to call GetTargetPath in the outerbuild of the analyzer project. --> - <ProjectReference Include="@(AnalyzerReference)" - SkipGetTargetFrameworkProperties="true" - UndefineProperties="TargetFramework" - ReferenceOutputAssembly="false" - PrivateAssets="all" - BuildReference="$(BuildAnalyzerReferences)" /> - </ItemGroup> - <!-- There are some packages where we require only one ref for a specific framework to be present. In order to avoid problems with this package when targetting dektop with RAR we will make sure there are no exclude=compile references in the package. For more info, please check issues: |