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

React.AspNet 2.4.0 is not compatible with netcoreapp1.0 #275

Closed
drobertson123 opened this issue May 28, 2016 · 3 comments
Closed

React.AspNet 2.4.0 is not compatible with netcoreapp1.0 #275

drobertson123 opened this issue May 28, 2016 · 3 comments

Comments

@drobertson123
Copy link

When loading the package via Nuget for an ASP.NET core RC2 project as per the quickstart;

Install-Package React.AspNet

The result is an incompatibility notice in the project.json file;

Package React.AspNet 2.4.0 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package React.AspNet 2.4.0 supports: net451 (.NETFramework,Version=v4.5.1)
One or more packages are incompatible with .NETCoreApp,Version=v1.0.

At this point it won't run.

@Daniel15
Copy link
Member

This is expected at the moment. There's currently no JavaScript engine that runs on .NET Core. You will need to switch to using the full .NET Framework ("net451" rather than "netcoreapp1.0" in your project.json). Hopefully someone can get Clearscript running on .NET Core at some point.

@drobertson123
Copy link
Author

drobertson123 commented May 28, 2016

Note - by adding "net451" to the framework imports I was able to make it work.

"frameworks": {
"netcoreapp1.0": {
"imports": [
"net451",
"dotnet5.6",
"dnxcore50",
"portable-net45+win8"
]
}
},

BTW, we were writing these at the same time. Thanks for the amazingly quick response.

Note - I think we may have just made a record for the fastest opened/closed issue on github. :-)

@pauldotknopf
Copy link

@Daniel15,

I updated VroomJs to support .NET Core.

https://github.com/pauldotknopf/vroomjs-core

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