You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation is out of date as it applies to Core 2.0. And for development environments other than windows, additional steps are likely necessary to get a default aspnet core template up and running using React.NET.
Using Visual Studio for Mac on macOS sierra, I had to do the following to get the tutorial up and running.
(1) Install the following nuget package Install-Package JavaScriptEngineSwitcher.ChakraCore.Native.osx-x64
The documentation is out of date as it applies to Core 2.0. And for development environments other than windows, additional steps are likely necessary to get a default aspnet core template up and running using React.NET.
Using Visual Studio for Mac on macOS sierra, I had to do the following to get the tutorial up and running.
(1) Install the following nuget package
Install-Package JavaScriptEngineSwitcher.ChakraCore.Native.osx-x64
(2) Fetch the latest Chakra runtime from github
https://github.com/Microsoft/ChakraCore/releases
and copy that over the old runtime installed by the nuget package
.nuget/packages/javascriptengineswitcher.chakracore.native.osx-x64/2.4.6/runtimes/osx-x64/native/libChakraCore.dylib
(3) add the following using statements to Startup.cs
(4) Modify the return type of ConfigureServices
(5) Switch out the javascript engine in Configure
Then the tutorial worked as expected. Posting the above might save someone else a number of hours scouring the issue threads.
The text was updated successfully, but these errors were encountered: