Does not seem to work with VS 2019 Preview and ef core 3 (preview)
Used NuGet Package Manager to install OdeToCode.UseNodeModules (version 1.0.6) to my Visual Studio 2019 Preview and Core 3 Preview solution. M/S has deprecated the IHostingEnvironment in favor of IWebHostEnvironment. Within the Configure portion of Startup.cs, the app.UseNodeModules(env) line does not seem to be supported. The error is CS1503: Argument 2: cannot convert from 'Microsoft.AspNetCore.Hosting.IWebHostEnvironment' to 'Microsoft.AspNetCodeHosting.IHostingEnvironment'.
Is there an update to support the new Core 3 with the IWebHostEnvironment Configure method?
(I could be completely confused, if so, just tell me.)
thank you, chuck
I'm also running into this problem.
I'm also running into this. Using .net core 3.1
I'm also too.
I used app.UseNodeModules() without passing environment variable in .net 5 and it works