silkfire / Pastel

Snazz up your console output!
MIT License
405 stars 24 forks source link

Net Framework 4.7.2 #21

Closed Phill030 closed 4 years ago

Phill030 commented 4 years ago

Hey, Could you add a download for .NET Framework 4.7.2>=? All my Apps are written with fw 4.7.2 and i cant change the version bc i've created my one nuget Package only for version 4.7.2

Thx in advance

silkfire commented 4 years ago

Have you tried using the previous version, 1.3.2 with your project? If I remember correctly, .NET Standard 2.0 should be compatible with .NET Framework >=4.6.1.

rumplin commented 4 years ago

Using .NET Framework 4.7.2 and using NuGet download returns:

Error Could not install package 'Pastel 2.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

rumplin commented 4 years ago

We are talking about good old .NET Framework, not .NET Core or .NET 5.0.

silkfire commented 4 years ago

@MokraCota If you see my comment above, version 2.0.0 will definitely not work with .NET Framework. It is only meant to be compatible with .NET 5 at a minimum. Try using v1.3.2 instead.

rumplin commented 4 years ago

OK, selecting 1.3.2 works fine.

Visual Studio keeps offering me to update it to 2.0.0.

silkfire commented 4 years ago

Yes, this seems to be a limitation with the NuGet Package Manager interface, it will show you all releases versions, regardless of compatibility with your projects.