Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

Using Microsoft.AspNet.Identity.AspNetCoreCompat package in an ASP.NET MVC 4.6.1 application #1048

Closed
fabiano opened this issue Dec 9, 2016 · 5 comments
Assignees

Comments

@fabiano
Copy link
Contributor

fabiano commented Dec 9, 2016

Hi,

I'm trying to install the Microsoft.AspNet.Identity.AspNetCoreCompat package in an ASP.NET MVC 4.6.1 application but I'm receiving the error:

Failed to add reference. The package 'Microsoft.AspNet.Identity.AspNetCoreCompat' tried to add a framework reference to 'System.Collections' which was not found in the GAC. This is possibly a bug in the package. Please contact the package owners for assistance.

How to replicate:

Create an ASP.NET MVC 4.6.1 application with Individual User Accounts
Try to install AspNet.Identity.CoreCompat package

@fabiano
Copy link
Contributor Author

fabiano commented Dec 12, 2016

I removed the System.Collections reference from the frameworkAssemblies property in the project.json file and was able to install the package.

@davidfowl
Copy link
Member

This is a bug and should be fixed

/cc @muratg @Eilon

@divega
Copy link

divega commented Dec 12, 2016

cc @HaoK

@divega divega added this to the 1.2.0 milestone Dec 12, 2016
@divega divega added the bug label Dec 12, 2016
@HaoK
Copy link
Member

HaoK commented Dec 12, 2016

f62ae89

@HaoK HaoK closed this as completed Dec 12, 2016
@HaoK HaoK added the 3 - Done label Dec 12, 2016
@fabiano
Copy link
Contributor Author

fabiano commented Dec 12, 2016

Thanks folks!

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

No branches or pull requests

4 participants