Sitecore / Sitecore.Pathfinder

Get started, get far, get happy!
Other
34 stars 12 forks source link

Double build required after Solution Clean #57

Closed alexshyba closed 7 years ago

alexshyba commented 8 years ago

Maybe it's weirdness on my machine.

  1. Clean Solution.
  2. Build Solution. Result: error
Severity    Code    Description Project File    Line    Suppression State
Error   IDE1001 The analyzer assembly 'C:\Users\as\Source\Repos\Sitecore.Pathfinder\packages\ResharperCodeContractNullability.1.0.5\analyzers\dotnet\cs\CodeContractNullability.dll' has changed. Diagnostics may be incorrect until Visual Studio is restarted.    Sitecore.Pathfinder.WebServer       1   Active
Error   IDE1001 The analyzer assembly 'C:\Users\as\Source\Repos\Sitecore.Pathfinder\packages\ResharperCodeContractNullability.1.0.5\analyzers\dotnet\cs\MsgPack.dll' has changed. Diagnostics may be incorrect until Visual Studio is restarted.    Sitecore.Pathfinder.WebServer       1   Active
Error   CS0006  Metadata file 'C:\Users\as\Source\Repos\Sitecore.Pathfinder\src\Features\Sitecore.Pathfinder.WebServer\bin\Debug\Sitecore.Pathfinder.WebServer.dll' could not be found  Sitecore.Pathfinder.Console C:\Users\as\Source\Repos\Sitecore.Pathfinder\src\Sitecore.Pathfinder.Console\CSC    1   Active
Error   CS0006  Metadata file 'C:\Users\as\Source\Repos\Sitecore.Pathfinder\bin\scc.exe' could not be found Sitecore.Pathfinder.Core.Tests  C:\Users\as\Source\Repos\Sitecore.Pathfinder\test\Sitecore.Pathfinder.Core.Tests\CSC    1   Active
Error   AD0001  Analyzer 'CodeContractNullability.CodeContractNullabilityAnalyzer' threw an exception of type 'System.Exception' with message 'Failed to load Resharper external annotations. Scanned folders: "C:\Program Files (x86)\JetBrains\Installations\ReSharperPlatformVs14\ExternalAnnotations";"C:\Program Files (x86)\JetBrains\Installations\ReSharperPlatformVs14\Extensions";"C:\Users\as\AppData\Local\JetBrains\Installations\ReSharperPlatformVs14\ExternalAnnotations";"C:\Users\as\AppData\Local\JetBrains\Installations\ReSharperPlatformVs14\Extensions"'.    Sitecore.Pathfinder.WebServer   C:\Users\as\Source\Repos\Sitecore.Pathfinder\src\Features\Sitecore.Pathfinder.WebServer\CSC 1   Active
Error   AD0001  Analyzer 'CodeContractNullability.CodeContractItemNullabilityAnalyzer' threw an exception of type 'System.Exception' with message 'Failed to load Resharper external annotations. Scanned folders: "C:\Program Files (x86)\JetBrains\Installations\ReSharperPlatformVs14\ExternalAnnotations";"C:\Program Files (x86)\JetBrains\Installations\ReSharperPlatformVs14\Extensions";"C:\Users\as\AppData\Local\JetBrains\Installations\ReSharperPlatformVs14\ExternalAnnotations";"C:\Users\as\AppData\Local\JetBrains\Installations\ReSharperPlatformVs14\Extensions"'.    Sitecore.Pathfinder.WebServer   C:\Users\as\Source\Repos\Sitecore.Pathfinder\src\Features\Sitecore.Pathfinder.WebServer\CSC 1   Active

Now run another 'Build Solution'. Result: success!

JakobChristensen commented 7 years ago

Looks like a bug in the CodeContractNullability Roslyn analyzer - not a Pathfinder bug.