Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 4fca8bd

Browse files
committed
Allow overriding authoring package TF/restore behavior from nugetizer
Even if we do need to provide these properties in the unfolded .nuproj anyway so that Restore works on CI, we can still provide better values over time after the initial restore. See also NuGet/Home#5254 for a better way in the future to handle this.
1 parent 1fc24da commit 4fca8bd

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/Build/NuGet.Build.Packaging.Tasks/NuGet.Build.Packaging.Authoring.props

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ Copyright (c) .NET Foundation. All rights reserved.
1111
-->
1212
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1313
<PropertyGroup>
14-
<!--<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
14+
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
1515
<TargetFramework>netstandard1.0</TargetFramework>
16-
<TargetFrameworkMoniker>.NETStandard,Version=1.0</TargetFrameworkMoniker>
17-
<NuGetTargetMoniker>$(TargetFrameworkMoniker)</NuGetTargetMoniker>
18-
<PackageTargetFallback>net11;net20;net35;net40;net403;net45;net451;net452;net46;net461;net462;netcore;netcore45;netcore451;netcore50;win8;win81;win10;sl4;sl5;wp;wp7;wp75;wp8;wp81;wpa81;uap;uap10;netstandard1.0;netstandard1.1;netstandard1.2;netstandard1.3;netstandard1.4;netstandard1.5;netstandard1.6;netstandard2.0;netcoreapp1.0;netcoreapp2.0;monoandroid;monotouch;monomac;xamarinios;xamarinmac;xamarinpsthree;xamarinpsfour;xamarinpsvita;xamarinwatchos;xamarintvos;xamarinxboxthreesixty;xamarinxboxone</PackageTargetFallback>-->
16+
<PackageTargetFallback>net11;net20;net35;net40;net403;net45;net451;net452;net46;net461;net462;netcore;netcore45;netcore451;netcore50;win8;win81;win10;sl4;sl5;wp;wp7;wp75;wp8;wp81;wpa81;uap;uap10;netstandard1.0;netstandard1.1;netstandard1.2;netstandard1.3;netstandard1.4;netstandard1.5;netstandard1.6;netstandard2.0;netcoreapp1.0;netcoreapp2.0;monoandroid;monotouch;monomac;xamarinios;xamarinmac;xamarinpsthree;xamarinpsfour;xamarinpsvita;xamarinwatchos;xamarintvos;xamarinxboxthreesixty;xamarinxboxone</PackageTargetFallback>
1917

2018
<TargetExt>.nupkg</TargetExt>
2119

0 commit comments

Comments
 (0)