Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frameworks within the portable profile are not allowed to have profiles themselves #1869

Closed
maartenba opened this issue Dec 23, 2015 · 1 comment
Assignees
Labels
Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:Bug
Milestone

Comments

@maartenba
Copy link
Contributor

Relates to NuGet/NuGetGallery#2822 - Frameworks within the portable profile should not be allowed to have profiles themselves.

Arrange:

Act:

  • NuGet.Packaging.PackageReader.GetSupportedFrameworks() on the given package

Assert:

  • Result should not contain an entry for the invalid framework "portable-net+win+wpa+wp+sl+net-cf+netmf+MonoAndroid+MonoTouch+Xamarin.iOS"

Actual:

  • Result contains an entry for the invalid framework "portable-net+win+wpa+wp+sl+net-cf+netmf+MonoAndroid+MonoTouch+Xamarin.iOS"

This string is not supported by our framework name parser because of multiple hyphens ("portable-" and "net-cf").

@maartenba
Copy link
Contributor Author

Created PR. NuGet/NuGet.Client#165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Type:Bug
Projects
None yet
Development

No branches or pull requests

2 participants