The Run Code Analysis function is missing in Visual Studio 2017 when using new csproj format -


i want use visual studio code analyser new .netstandard libray project. when right click on project there no analyse menu item anymore. seems projects use new csproj formats cannot analysed analyser.

does has experience this? or has clue whom ask?

update:

if add following csproj file:

<runcodeanalysis>true</runcodeanalysis> <codeanalysisruleset>...</codeanalysisruleset> 

and when build project msbuild 15 run code anaysis , generates following warning:

msbuild : warning : ca0068 : debug information not found target assembly 'codeanalysetest.dll'. b est analysis results, include .pdb file debug information 'codeanalysetest.dll' in same directory s target assembly.

but .pdb there. when add

<debugtype>full</debugtype> 

to csproj , rebuild msbuild code analyse works well.

update 2

i opened ticket on github: https://github.com/dotnet/sdk/issues/1086


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -