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
When building a solution with two projects (a console app and a class library), the build fails when the class library references MrAdvice version="2.16.0" and implements the following basic attribute:
When building a solution with two projects (a console app and a class library), the build fails when the class library references MrAdvice version="2.16.0" and implements the following basic attribute:
ExampleAttribute.cs
inClassLibrary
:The console application project references the class library, and contains only the following code:
Program.cs
inConsoleApplication
:Fix 1
If the
const
field is removed from the ExampleAttribute, the build succeeds.Fix 2
Move the ExampleAttribute class from the class library to the console application project, and the build succeeds.
Additional Info
Target framework: .NET 8.0 on both projects
Full build log:
Possibly related: #201 and #140
The text was updated successfully, but these errors were encountered: