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

Commit be25b08

Browse files
committed
Fixed the target framework by using the TFM
The following commit removed the honoring of the NuGetTargetFramework: NuGet/NuGet.Client@b3ea8fd
1 parent fa4288d commit be25b08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/VisualStudio/NuGet.Packaging.VisualStudio/Targets/NuGet.Packaging.Authoring.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Copyright (c) .NET Foundation. All rights reserved.
1616
<PropertyGroup>
1717
<ProjectSystemRulesDir Condition="'$(ProjectSystemRulesDir)' == ''">$(MSBuildThisFileDirectory)..\Rules\</ProjectSystemRulesDir>
1818
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
19-
<NuGetTargetFramework>dotnet</NuGetTargetFramework>
19+
<TargetFrameworkMoniker>NETFramework,Version=v1.0</TargetFrameworkMoniker>
2020
<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;netcoreapp1.0;monoandroid;monotouch;monomac;xamarinios;xamarinmac;xamarinpsthree;xamarinpsfour;xamarinpsvita;xamarinwatchos;xamarintvos;xamarinxboxthreesixty;xamarinxboxone</PackageTargetFallback>
2121
</PropertyGroup>
2222

0 commit comments

Comments
 (0)