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

EntityFramework package (not core), has bad frameworkassembly values #6272

Closed
rrelyea opened this issue Aug 8, 2016 · 1 comment
Closed

Comments

@rrelyea
Copy link

rrelyea commented Aug 8, 2016

Steps to reproduce

originally filed as: NuGet/Home#3279
Repro Steps:

  1. Create a new project C#-> Windows 8->Windows Runtime Component (Windows 8.1).
  2. Right-click the project node and click "Manage NuGet Packages…" menu to start package manager.
  3. Install package “EntityFramework”, and verify it can be installed.

Expected Result:
The package “EntityFramework” can be installed correctly.

Actual Result:
The package “EntityFramework” can’t be installed as below screenshot.

untitled841

Note:
It happened on Dev14 U3+NuGet Dev 1731(3.6.0.1731).
It repro on any version of package “EntityFramework”.
It also repro on Dev14 U3 (NuGet 3.4.4.1321).

The issue

NuGet sees
<FrameworkAssembly ... TargetFramework="" />
TargetFramework should not be empty, but should be Net40 or Net45.

When you don't specify a framework, nuget thinks this works in all TFMs. Thus the package seemed to install on this Win8.1 project, while it should fail.

Further technical details

None.

@divega
Copy link
Contributor

divega commented Aug 15, 2016

This issue was moved to dotnet/ef6#48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants