mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-09 17:44:48 +09:00

* add infra and move projects to use dotnet pack * adddress feedback * address feedback * donot include buildoutput from netfx during sourcebuild * some more feedback points * add SuppressDependenciesWhenPacking as well * Apply suggestions from code review Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com> * Update src/libraries/Directory.Build.targets Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com> * remove warn * Update src/libraries/Directory.Build.targets Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com> * donot set includebuild output in outerbuild Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
57 lines
2.9 KiB
XML
57 lines
2.9 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<!-- defined in buildtools packaging.targets, but we need this before targets are imported -->
|
|
<PackagePlatform Condition="'$(PackagePlatform)' == ''">$(Platform)</PackagePlatform>
|
|
<PackagePlatform Condition="'$(PackagePlatform)' == 'amd64'">x64</PackagePlatform>
|
|
|
|
<!-- By default the packaging targets will package desktop facades as ref,
|
|
but we don't use this as we now build partial-reference-facades. -->
|
|
<PackageDesktopAsRef>false</PackageDesktopAsRef>
|
|
|
|
<!-- We're currently not building a "live" baseline, instead we're using .NETCore 1.0 RTM stable versions as the baseline -->
|
|
<SkipBaseLineCheck>true</SkipBaseLineCheck>
|
|
<PackageVersion Condition="'$(PackageVersion)' == '' and '$(MSBuildProjectExtension)' == '.pkgproj'">6.0.0</PackageVersion>
|
|
<SkipValidatePackageTargetFramework>true</SkipValidatePackageTargetFramework>
|
|
<SkipGenerationCheck>true</SkipGenerationCheck>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(DotNetBuildFromSource)' == 'true'">
|
|
<!-- Don't build referenced projects -->
|
|
<BuildPackageLibraryReferences>false</BuildPackageLibraryReferences>
|
|
<!-- Omit any files that were not built -->
|
|
<AllowPartialPackages>true</AllowPartialPackages>
|
|
<!-- Don't permit harvesting since this requires pre-builts -->
|
|
<HarvestStablePackage>false</HarvestStablePackage>
|
|
<!-- Validation will fail in case we were relying on harvested assets or assets not built to satisfy stated support -->
|
|
<SkipValidatePackage>true</SkipValidatePackage>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<NuSpecOutputPath Condition="'$(NuSpecOutputPath)' == ''">$([MSBuild]::NormalizeDirectory('$(ArtifactsPackagesDir)', 'specs'))</NuSpecOutputPath>
|
|
<PkgProjPath>$(MSBuildProjectDirectory)\..\pkg\$(MSBuildProjectName).pkgproj</PkgProjPath>
|
|
</PropertyGroup>
|
|
|
|
<Import Condition="Exists('$(PkgDir)baseline\baseline.props') and '$(MSBuildProjectExtension)' == '.pkgproj'" Project="$(PkgDir)baseline\baseline.props" />
|
|
|
|
<PropertyGroup Condition="'$(IsPackable)' == 'true'">
|
|
<PackageDesignerMarkerFile>$(MSBuildThisFileDirectory)useSharedDesignerContext.txt</PackageDesignerMarkerFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(IsPackable)' == 'true'">
|
|
<!-- Add a marker to help the designer optimize & share .NET Core packages -->
|
|
<None Include="$(PackageDesignerMarkerFile)"
|
|
PackagePath="$([System.IO.Path]::GetFileName('$(PackageDesignerMarkerFile)'))"
|
|
Pack="true"
|
|
Condition="'$(IncludeDesignerMarker)' != 'false'" />
|
|
|
|
<!-- Make sure that NETStandard.Library package never gets added as a dependency for .NET 4.6.1 -->
|
|
<SuppressMetaPackage Include="NETStandard.Library" TargetFramework="net461" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- add 3.1 to validation, using 3.0 RIDs -->
|
|
<DefaultValidateFramework Include="netcoreapp3.1">
|
|
<RuntimeIDs>@(NETCoreApp30RIDs)</RuntimeIDs>
|
|
</DefaultValidateFramework>
|
|
</ItemGroup>
|
|
</Project>
|