-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Could not load file or assembly "System.Interactive.Async" #1818
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
Comments
I'm experiencing the same issue on a slightly different environment, couldn't figure out a working solution yet. In my case I'm trying to use EF Core 1.0 on a project targeting .NET Framework 4.6.1. It looks to me that Microsoft.EntityFrameworkCore dll fails to access System.Interactive.Async dll and raises a FileNotFoundException. Weird part is that System.Interactive.Async dll is fully specified in .csproj file (although hinting to a different version) and present in packages folder just underneath the solution folder. |
Has anyone figured this issue out yet? I think Shavakan is on the right track and I'm seeing the same issue but just can't figure out why it's happening. I'm using Visual Studio Community 2015 and was unable to run the Update 3 before installing ASP.NET Core and had to do a lot of manual patching to get everything working so in my case I'm wondering if that has something to do with my issue? |
In the project.json remove enityFramecore rc 7.0 |
I'm having this same issue: It makes sense in my case, since something caused the System.Interactive.Async package to be bumped up to v3.1.1.0, while EF Core clearly is looking for 3.0.0.0. So for me, this fix is to add an assembly binding in app.config like so: <dependentAssembly>
<assemblyIdentity name="System.Interactive.Async" publicKeyToken="94bc3704cddfc263" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.0.0" />
</dependentAssembly> |
I had the same issue and @sfmskywalker solution worked for me. Thanks!!!
|
Closing because there doesn't seem to be any further action required on this issue. |
I'm trying to use scaffolding with aspnet-codegenerator but it fails with the following error message: Could not load file or assembly "System.Interactive.Async"
In my console window i write this command:
If the assembly added with nuget then i also get this error.
My project.json looks like this:
The text was updated successfully, but these errors were encountered: