File tree 2 files changed +1
-23
lines changed
2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change 259
259
<IsShippingAssembly Condition =" $(IsExperimentalAssembly)" >false</IsShippingAssembly >
260
260
<!-- We don't want Private packages to be shipped to NuGet.org -->
261
261
<IsShippingPackage Condition =" $(MSBuildProjectName.Contains('Private')) or $(IsExperimentalAssembly)" >false</IsShippingPackage >
262
- <!-- A package isn't generated if in servicing or in runtimelab. Intended to be overridden at project level.
263
- Excluding .sfxprojs as they have their own incremental servicing infra. -->
264
- <GeneratePackage Condition =" '$(GeneratePackage)' == ''" >true</GeneratePackage >
265
- <GeneratePackage Condition =" (('$(PreReleaseVersionLabel)' == 'servicing' or
266
- '$(GitHubRepositoryName)' == 'runtimelab') and
267
- '$(MSBuildProjectExtension)' != '.sfxproj')" >false</GeneratePackage >
268
262
<PlaceholderFile >$(RepositoryEngineeringDir)_._</PlaceholderFile >
269
263
</PropertyGroup >
270
264
Original file line number Diff line number Diff line change 1
- <Project InitialTargets = " _OverridePackDependsOn " >
1
+ <Project >
2
2
<PropertyGroup >
3
3
<!--
4
4
For non-SDK projects that import this file and then import Microsoft.Common.targets,
54
54
<PackageDescription Condition =" '$(PackageDescription)' == '' and '$(UseRuntimePackageDisclaimer)' == 'true'" >$(RuntimePackageDisclaimer)</PackageDescription >
55
55
<!-- Keep in sync as required by the Packaging SDK in Arcade. -->
56
56
<Description >$(PackageDescription)</Description >
57
- <GenerateNuspecDependsOn >ErrorForMissingPackageDescription;$(GenerateNuspecDependsOn)</GenerateNuspecDependsOn >
58
57
</PropertyGroup >
59
58
60
- <!-- Remove when https://github.com/NuGet/Home/issues/10405 is implemented and consumed. -->
61
- <Target Name =" ErrorForMissingPackageDescription"
62
- Condition =" '$(PackageDescription)' == ''" >
63
- <Error Text =" Required property 'PackageDescription' is missing for $(MSBuildProjectName)." />
64
- </Target >
65
-
66
- <!-- <GeneratePackage /> controls if a package should be created by clearing out <PackDependsOn />. -->
67
- <Target Name =" _OverridePackDependsOn"
68
- Condition =" '$(IsPackable)' == 'true' and
69
- '$(GeneratePackage)' != 'true'" >
70
- <PropertyGroup >
71
- <PackDependsOn />
72
- </PropertyGroup >
73
- </Target >
74
-
75
59
<!--
76
60
Arcade SDK versioning is defined by static properties in a targets file: work around this by
77
61
moving properties based on versioning into a target.
You can’t perform that action at this time.
0 commit comments