Skip to content

4.0.1 Errors with invalid RazorLangVersion ''' #2881

Description

@bonner-earle

Describe the bug
Running a project that worked on 4.0.0, throws the error

Failed to generate source code for mutated assembly: error RZ3600: Invalid value ''' for RazorLangVersion. Valid values include 'Latest' or a valid version in range 1.0 to 8.0.
when run in 4.0.1
The project doesn't contain any razor files
It is a .net 6 Azure app service project
the build is running on Linux, running stryker 4.0.1 on my box (Windows 11) works
We don't explicitly specify a razor lang version anywhere

Logs
Not got any as only occurs on our build server

Expected behavior
No error

Desktop (please complete the following information):

  • OS: Linux Ubuntu
  • Type of project Microsoft.NET.Sdk.Web
  • Framework Version .net 6
  • Stryker Version 4.0.1

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: CompilingPriority: HighPressing issue. Should be resolved as quick as possible.🐛 BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions