MarimerLLC / csla

A home for your business logic in any .NET application.
https://cslanet.com
MIT License
1.27k stars 406 forks source link

Analyzer not working #4269

Open ossendorf-at-hoelscher opened 1 month ago

ossendorf-at-hoelscher commented 1 month ago

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()
{
}
}