Skip to content

RazorLight requires ASP.NET Core runtime #360

Description

@Tyrrrz

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

  1. Create a WPF app
  2. Add RazorLight
  3. Publish it
  4. Try running on a machine where neither ASP.NET Core runtime nor SDK is installed

image

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions