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

Various new warnings showed up after updating to beta10 #1444

Closed
NikolayIT opened this issue Sep 10, 2015 · 3 comments
Closed

Various new warnings showed up after updating to beta10 #1444

NikolayIT opened this issue Sep 10, 2015 · 3 comments

Comments

@NikolayIT
Copy link
Member

stylecopwarnings

Severity    Code    Description Project File    Line
Warning CS8032  An instance of analyzer StyleCop.Analyzers.OrderingRules.SA1216UsingStaticDirectivesMustBePlacedAtTheCorrectLocation cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.OrderingRules.SA1216UsingStaticDirectivesMustBePlacedAtTheCorrectLocation' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'..   Santase.AI.DummyPlayer      1
Warning MissingAnalyzerReference    Analyzer assembly 'C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\Newtonsoft.Json.dll' depends on 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' but it was not found. Analyzers may not run correctly.  Santase.Logic       1
Warning MissingAnalyzerReference    Analyzer assembly 'C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\Newtonsoft.Json.dll' depends on 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' but it was not found. Analyzers may not run correctly.  Santase.AI.DummyPlayer      1
Warning MissingAnalyzerReference    Analyzer assembly 'C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\Newtonsoft.Json.dll' depends on 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' but it was not found. Analyzers may not run correctly.  Santase.AI.SmartPlayer      1
Warning MissingAnalyzerReference    Analyzer assembly 'C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\Newtonsoft.Json.dll' depends on 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' but it was not found. Analyzers may not run correctly.  Santase.ConsoleUI       1
Warning MissingAnalyzerReference    Analyzer assembly 'C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\Newtonsoft.Json.dll' depends on 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' but it was not found. Analyzers may not run correctly.  Santase.Logic.Tests     1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.ReadabilityRules.SA1128ConstructorInitializerMustBeOnOwnLine cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.ReadabilityRules.SA1128ConstructorInitializerMustBeOnOwnLine' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'.. Santase.Logic       1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.ReadabilityRules.SA1128ConstructorInitializerMustBeOnOwnLine cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.ReadabilityRules.SA1128ConstructorInitializerMustBeOnOwnLine' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'.. Santase.AI.DummyPlayer      1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.ReadabilityRules.SA1128ConstructorInitializerMustBeOnOwnLine cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.ReadabilityRules.SA1128ConstructorInitializerMustBeOnOwnLine' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'.. Santase.AI.SmartPlayer      1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.ReadabilityRules.SA1128ConstructorInitializerMustBeOnOwnLine cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.ReadabilityRules.SA1128ConstructorInitializerMustBeOnOwnLine' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'.. Santase.ConsoleUI       1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.ReadabilityRules.SA1128ConstructorInitializerMustBeOnOwnLine cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.ReadabilityRules.SA1128ConstructorInitializerMustBeOnOwnLine' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'.. Santase.Logic.Tests     1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.ReadabilityRules.SA1127GenericTypeConstraintsMustBeOnOwnLine cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.ReadabilityRules.SA1127GenericTypeConstraintsMustBeOnOwnLine' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'.. Santase.Logic       1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.ReadabilityRules.SA1127GenericTypeConstraintsMustBeOnOwnLine cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.ReadabilityRules.SA1127GenericTypeConstraintsMustBeOnOwnLine' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'.. Santase.AI.DummyPlayer      1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.ReadabilityRules.SA1127GenericTypeConstraintsMustBeOnOwnLine cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.ReadabilityRules.SA1127GenericTypeConstraintsMustBeOnOwnLine' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'.. Santase.AI.SmartPlayer      1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.ReadabilityRules.SA1127GenericTypeConstraintsMustBeOnOwnLine cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.ReadabilityRules.SA1127GenericTypeConstraintsMustBeOnOwnLine' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'.. Santase.ConsoleUI       1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.ReadabilityRules.SA1127GenericTypeConstraintsMustBeOnOwnLine cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.ReadabilityRules.SA1127GenericTypeConstraintsMustBeOnOwnLine' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'.. Santase.Logic.Tests     1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.OrderingRules.SA1216UsingStaticDirectivesMustBePlacedAtTheCorrectLocation cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.OrderingRules.SA1216UsingStaticDirectivesMustBePlacedAtTheCorrectLocation' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'..   Santase.Logic       1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.OrderingRules.SA1216UsingStaticDirectivesMustBePlacedAtTheCorrectLocation cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.OrderingRules.SA1216UsingStaticDirectivesMustBePlacedAtTheCorrectLocation' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'..   Santase.AI.SmartPlayer      1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.OrderingRules.SA1216UsingStaticDirectivesMustBePlacedAtTheCorrectLocation cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.OrderingRules.SA1216UsingStaticDirectivesMustBePlacedAtTheCorrectLocation' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'..   Santase.ConsoleUI       1
Warning CS8032  An instance of analyzer StyleCop.Analyzers.OrderingRules.SA1216UsingStaticDirectivesMustBePlacedAtTheCorrectLocation cannot be created from C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\StyleCop.Analyzers.dll: Could not load type 'StyleCop.Analyzers.OrderingRules.SA1216UsingStaticDirectivesMustBePlacedAtTheCorrectLocation' from assembly 'StyleCop.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=97d9e3aa481481c8'..   Santase.Logic.Tests     1
@NikolayIT
Copy link
Member Author

I am using VS 2015. Restarting it fixed all warnings except:

Severity    Code    Description Project File    Line
Warning MissingAnalyzerReference    Analyzer assembly 'C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\Newtonsoft.Json.dll' depends on 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' but it was not found. Analyzers may not run correctly.  Santase.Logic       1
Warning MissingAnalyzerReference    Analyzer assembly 'C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\Newtonsoft.Json.dll' depends on 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' but it was not found. Analyzers may not run correctly.  Santase.AI.DummyPlayer      1
Warning MissingAnalyzerReference    Analyzer assembly 'C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\Newtonsoft.Json.dll' depends on 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' but it was not found. Analyzers may not run correctly.  Santase.AI.SmartPlayer      1
Warning MissingAnalyzerReference    Analyzer assembly 'C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\Newtonsoft.Json.dll' depends on 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' but it was not found. Analyzers may not run correctly.  Santase.ConsoleUI       1
Warning MissingAnalyzerReference    Analyzer assembly 'C:\Dev\2015\SantaseGameEngine\Source\packages\StyleCop.Analyzers.1.0.0-beta010\analyzers\dotnet\cs\Newtonsoft.Json.dll' depends on 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' but it was not found. Analyzers may not run correctly.  Santase.Logic.Tests     1

@mwadams
Copy link

mwadams commented Sep 10, 2015

I have the same problem, also in VS2015.

My projects are all targeting .NET 4.5.1

@sharwell
Copy link
Member

The warnings which disappeared when you restarted Visual Studio are a duplicate of #1391.

The warnings which won't disappear are a duplicate of #1345.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants