|
| 1 | +--- |
| 2 | +title: NuGet 5.0-preview Release Notes |
| 3 | +description: Release notes for NuGet 5.0 previews including known issues, bug fixes, new features, and DCRs. |
| 4 | +author: anangaur |
| 5 | +ms.author: anangaur |
| 6 | +ms.date: 1/25/2019 |
| 7 | +ms.topic: conceptual |
| 8 | +--- |
| 9 | + |
| 10 | +# NuGet 5.0 Preview Release Notes |
| 11 | + |
| 12 | +## Summary: What's New in 5.0 Preview 2 |
| 13 | + |
| 14 | +### Issues fixed in this release |
| 15 | + |
| 16 | +#### Bugs: |
| 17 | + |
| 18 | +* VS 16.0's NuGet UI has unreadable tabs due to color problems - [#7735](https://github.com/NuGet/Home/issues/7735) |
| 19 | + |
| 20 | +* NuGet.Core & NuGet.Clients License.txt clarification - [#7629](https://github.com/NuGet/Home/issues/7629) |
| 21 | + |
| 22 | +* Restore unnecessarily enumerates global package folder in attempt to determine type - [#7596](https://github.com/NuGet/Home/issues/7596) |
| 23 | + |
| 24 | +* Errors from lock file enforcement should show up in Error List Window - [#7429](https://github.com/NuGet/Home/issues/7429) |
| 25 | + |
| 26 | +* Fix NuGet.Configuration issues - [#7326](https://github.com/NuGet/Home/issues/7326) |
| 27 | + |
| 28 | +* Adapt to MSBuild updating it's install location. - [#7325](https://github.com/NuGet/Home/issues/7325) |
| 29 | + |
| 30 | +* NuGet.Build.Tasks.Pack should be a development dependency - [#7249](https://github.com/NuGet/Home/issues/7249) |
| 31 | + |
| 32 | +* Add pack extension point for including debug symbols - [#7234](https://github.com/NuGet/Home/issues/7234) |
| 33 | + |
| 34 | +* dotnet pack should preserve dependency version range in the created nupkg. (even if floating version is used) - [#7232](https://github.com/NuGet/Home/issues/7232) |
| 35 | + |
| 36 | +* dotnet restore fails on authenticated source when user-level config also has source - [#7209](https://github.com/NuGet/Home/issues/7209) |
| 37 | + |
| 38 | +* Pack should not restrict the set of BuildActions for content files - [#7155](https://github.com/NuGet/Home/issues/7155) |
| 39 | + |
| 40 | +* Using a projectreference which requires AssetTargetFallback to succeed, should warn. - [#7137](https://github.com/NuGet/Home/issues/7137) |
| 41 | + |
| 42 | +* Deadlock due to threading issues when calling into CPS (CommonProjectSystem) - [#7103](https://github.com/NuGet/Home/issues/7103) |
| 43 | + |
| 44 | +* dotnet add package won't use credentials from global config for a source specified in local config - [#6935](https://github.com/NuGet/Home/issues/6935) |
| 45 | + |
| 46 | +* Threading issues with MEF being called on async codepaths - [#6771](https://github.com/NuGet/Home/issues/6771) |
| 47 | + |
| 48 | +* Signing: error reported twice and without call stack - [#6455](https://github.com/NuGet/Home/issues/6455) |
| 49 | + |
| 50 | +* Installing a signed package with untrusted signing certificate should show error - [#6318](https://github.com/NuGet/Home/issues/6318) |
| 51 | + |
| 52 | +* NuGet restore improperly NoOps when 2 projects are sharing obj directory - [#6114](https://github.com/NuGet/Home/issues/6114) |
| 53 | + |
| 54 | +* Cannot use PAT with dotnet restore on Linux with packages from authenticated feed - [#5651](https://github.com/NuGet/Home/issues/5651) |
| 55 | + |
| 56 | +* dotnet restore fails due to disabled machine wide feed - [#5410](https://github.com/NuGet/Home/issues/5410) |
| 57 | + |
| 58 | +#### DCRs |
| 59 | + |
| 60 | +* NuGet 5.0 assemblies to require .NET 4.7.2 (via TFM change) - [#7510](https://github.com/NuGet/Home/issues/7510) |
| 61 | + |
| 62 | +* NuGetLicenseData from NuGet.Packaging should be a public type. Update license metadata ingested from spdx. - [#7471](https://github.com/NuGet/Home/issues/7471) |
| 63 | + |
| 64 | +* Remove obsolete Settings APIs - [#7294](https://github.com/NuGet/Home/issues/7294) |
| 65 | + |
| 66 | +* Workaround restore timeouts on systems with 1 cpu - [#6742](https://github.com/NuGet/Home/issues/6742) |
| 67 | + |
| 68 | +* NuGet prefers NTLM auth even if there are credentials in NuGet.config - add config option to filter auth types for credentials - [#5286](https://github.com/NuGet/Home/issues/5286) |
| 69 | + |
| 70 | +* Enable EmbedInteropTypes for PackageReference (matching Packages.Config capability) - [#2365](https://github.com/NuGet/Home/issues/2365) |
| 71 | + |
| 72 | +[List of all issues fixed in this release 5.0.0-preview2](https://github.com/NuGet/Home/issues?q=is%3Aissue+is%3Aclosed+milestone%3A%224.9.2") |
| 73 | + |
| 74 | + |
| 75 | +## Known issues |
| 76 | + |
| 77 | +### dotnet nuget push --interactive gives an error on Mac. - [#7519](https://github.com/NuGet/Home/issues/7519) |
| 78 | + |
| 79 | +#### Issue |
| 80 | +The `--interactive` argument is not being forwarded by the dotnet cli and results in the error `error: Missing value for option 'interactive'` |
| 81 | + |
| 82 | +#### Workaround |
| 83 | +Run any other dotnet command with the interactive option such as `dotnet restore --interactive` and authenticate. The authentication then might be cached by the credential provider. Then run `dotnet nuget push`. |
| 84 | + |
| 85 | +### Packages in FallbackFolders installed by .NET Core SDK are custom installed, and fail signature validation. - [#7414](https://github.com/NuGet/Home/issues/7414) |
| 86 | + |
| 87 | +#### Issue |
| 88 | +When using dotnet.exe 2.x to restore a project that multi-targets netcoreapp 1.x and netcoreapp 2.x, the fallback folder is treated as a file feed. This means, when restoring, NuGet will pick the package from the fallback folder and try to install it into the global packages folder and do the usual signing validation which fails. |
| 89 | + |
| 90 | +#### Workaround |
| 91 | +Disable the usage of the fallback folder by setting the `RestoreAdditionalProjectSources` to nothing. `<RestoreAdditionalProjectSources/>` Use this with caution as it will cause a lot of packages to be downloaded from NuGet.org which otherwise would be have been restored from the fallback folder. |
0 commit comments