You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of our unittests failed with this error: System.TypeLoadException : Declaration referenced in a method implementation cannot be a final method. Type: 'Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions'. Assembly: 'Microsoft.CodeAnalysis.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Which indicates a mismatch between the currently loaded type and the type against which a library was compiled.
The build also gave a warning like this: CS9057 The analyzer assembly '...\packages\dotnetprojectfile.analyzers\1.0.7\analyzers\DotNetProjectFile.Analyzers.dll' references version '4.6.0.0' of the compiler, which is newer than the currently running version '4.5.0.0'.
After some digging Qowaiv 4.6.2 seems to reference dotnetprojectfile.analyzers. Since dotnetprojectfile.analyzers uses a newer .net version than our project (we use net6.0), this leads to runtime errors.
I don't think that Qowaiv should depend on the DotNetProjectFile.Analyzers.
The text was updated successfully, but these errors were encountered:
Some of our unittests failed with this error:
System.TypeLoadException : Declaration referenced in a method implementation cannot be a final method. Type: 'Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions'. Assembly: 'Microsoft.CodeAnalysis.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Which indicates a mismatch between the currently loaded type and the type against which a library was compiled.
The build also gave a warning like this:
CS9057 The analyzer assembly '...\packages\dotnetprojectfile.analyzers\1.0.7\analyzers\DotNetProjectFile.Analyzers.dll' references version '4.6.0.0' of the compiler, which is newer than the currently running version '4.5.0.0'.
After some digging Qowaiv 4.6.2 seems to reference dotnetprojectfile.analyzers. Since dotnetprojectfile.analyzers uses a newer .net version than our project (we use net6.0), this leads to runtime errors.
I don't think that Qowaiv should depend on the DotNetProjectFile.Analyzers.
The text was updated successfully, but these errors were encountered: