cslaforum
cslaforum copied to clipboard
5.1.0 Csla.Analyzers Warning
Just updated to 5.1. Great release 👍
Do you think these ↓ warnings may be because Analyzers are pending to be updated to 5.1...?
An instance of analyzer Csla.Analyzers.xxx cannot be created from xxx\nuget\packages\csla\5.1.0\xxx
@jasonbock, any ideas?
I've seen this too, but not consistently.
Nope. I just created a .NET Core console app, referenced CSLA 5.1.0, and the analyzers seem to be working as expected. Maybe the project type matters? @animjn what project are you making? Is it targeting .NET Core or .NET Framework, and what version?
Hi @JasonBock. I was referencing CLSA from a Class Library (.NET Standard). I received the warnings when I was updating to 5.1.0, however, I don't reproduce it anymore. Thanks!
@animjn I have noticed that this can happen when first updating from an older version, and closing and reopening Visual Studio seems to help. I suspect Visual Studio keeps some old info in memory even after the update?