Skip to content

WebCompiler does not work with dotnet watch anymore if using .NET 8 SDK #95

@JustusGreiberORGADATA

Description

@JustusGreiberORGADATA

Hi,

I create this issue more to document the issue for others, rather than to ask for a fix:

Because of changes in .NET 8 SDK the dotnet watch mechanism can no longer run arbitrary commands:

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-watch#arguments
dotnet/sdk#38340

This means dotnet watch tool webcompiler will secretly result in dotnet watch run tool webcompiler, which will start the current project with the arguments tool webcompiler instead of running webcompiler directly. I guess if you have setup the current project to run webcompiler on build it technically still kind of works, but certainly not as intended 😄.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions