David Ford
David Ford

Reputation: 795

PostSharp is continually asking for "Some NuGet packages may need to be installed"

PostSharp is already installed to the package, or at least it's already been attempted to be added multiple times.

Instead, it warns on every compilation, and on top of that "add PostSharp to project" doesn't disappear after the same action is executed, leading me to believe that the "Add PostSharp" action isn't completing properly.

Upvotes: 1

Views: 146

Answers (1)

AlexD
AlexD

Reputation: 5101

You can validate which of your projects have PostSharp NuGet package installed with the "Manage NuGet Packages for Solution..." dialog box. You can also try to re-install the packages using the same dialog and see if it fixes the issue.

The "Some NuGet packages..." PostSharp dialog box can be disabled with "Do not show this dialog" check-box. The option is also available in "PostSharp" -> "Options" -> "Advanced" -> "Disable NuGet dependency verification before build".

Normally, the project that has PostSharp NuGet package installed should not appear in this dialog.

Upvotes: 1

Related Questions