Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyzer not working #4269

Open
ossendorf-at-hoelscher opened this issue Oct 24, 2024 · 0 comments
Open

Analyzer not working #4269

ossendorf-at-hoelscher opened this issue Oct 24, 2024 · 0 comments
Assignees
Labels
area/analyzers CSLA .NET analyzers kind/bug

Comments

@ossendorf-at-hoelscher
Copy link

Describe the bug
The CSLA analyzer are not working. The following is in my project file (simple console):
<PackageReference Include="Csla" Version="8.2.7" />
But the analyzer do not show up in the VS analyzer view:
image

Furthermore I have a business object Foo and using it with
var foo2 = new Foo();
As far as I know this should produce an analyzer warning. But nothing.

Version and Platform
CSLA version: latest 8.2.7
OS: Windows
Platform: Console

Code that Fails

var foo = new Foo(); // Should trigger a warning

[Serializable]
public class Foo : BusinessBase<Foo>
{
  [Create, RunLocal]
private void Create()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/analyzers CSLA .NET analyzers kind/bug
Projects
Status: In Progress
Development

No branches or pull requests

2 participants