Describe the bug
Because RazorLight has a FrameworkReference to Microsoft.AspNetCore.App, the user is expected to have the corresponding runtime. This is a show stopper for console or WPF apps as users of those will not have it installed (and shouldn't need to).
To Reproduce
- Create a WPF app
- Add RazorLight
- Publish it
- Try running on a machine where neither ASP.NET Core runtime nor SDK is installed

Expected behavior
It should work with just the base .NET Runtime.
Information (please complete the following information):
- OS: Win10 x64
- Platform .NET Core 3.1
- RazorLight version 2.0-beta9
- Are you using the OFFICIAL RazorLight package? yes
- Rider 2020.1.3
Describe the bug
Because RazorLight has a
FrameworkReferencetoMicrosoft.AspNetCore.App, the user is expected to have the corresponding runtime. This is a show stopper for console or WPF apps as users of those will not have it installed (and shouldn't need to).To Reproduce
Expected behavior
It should work with just the base .NET Runtime.
Information (please complete the following information):