Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Proget issues on net framework 4.5.1 and package distribution
-
This issue is about more than one thing.
Scenario. We have been switching framework versions on our .NET packages and projects to NET 4.5.1
Issue 1:
Packages with a higher framework version can be installed in projecs with a lesser version.
Packages, build for .Net 4.5.1, in the Proget DB now shows.
- Table:[ProGet].[dbo].[Packages]
- TargetFrameworks_text: No value
This means that the package is shown, and can be installed in projects targeting frameworks lesser than 4.5.1. This has been tested and Nuget will indeed install the package.
Issue 2:
Packages with a .NET framework version lesser than the one it should be installed into is not visible in the Nuget Package manager.
Packages that has a value in the:
- Table:[ProGet].[dbo].[Packages]
- TargetFrameworks_text: Here there is framework info
are not available in the Nuget package manager if the project that it should be installed into does not have a version that is in the listing in the TargetFrameworks_text
This is problematic since .NET can easily use assemblies with a lesser framework version. Installing via the Nuget package console works fine, and the package is installed and works as expected.
We are caching some packages from the Official Nuget feed and those packages are not visible when looking at the Proget feed but can be easily found on the NuGet feed. This shows that the problem seems to lie in Proget and not NuGet.
Product: ProGet
Version: 2.2.13
-
Hi,
Thanks for the bug report; this will be addressed in the next release of ProGet, which is due in just a few days!