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

VS2017: Hanging analysis on simple project #39

Closed
AndreyAspose opened this issue Dec 7, 2017 · 3 comments
Closed

VS2017: Hanging analysis on simple project #39

AndreyAspose opened this issue Dec 7, 2017 · 3 comments
Assignees
Milestone

Comments

@AndreyAspose
Copy link

I have VS 2017 Community. I installed Puma Scan as extension and also performed NuGet command specified here (without this command analysis failed with CA0064: No analysis was performed because the specified rule set could not be loaded or did not contain any managed code analysis rules):
PM > Get-Project -All | Install-Package Puma.Security.Rules

Now the analysis is hanging (that is, not returning for 3+ hours) on very simple project WebGoat. Looking at task manager, I see csc.exe and devenv.exe taking ~25% each all the time.
I run analysis via Analyze -> Run Code ANalysis on Solution. WIthout Puma (default rules only) this works fine.

Please let me know what other info I need to provide if any to troubleshoot this.

@AndreyAspose
Copy link
Author

I've run from command line and it is also hanging:

"E:\DevTools\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" WebGoat.NET.sln /t:Clean,Build /p:RunCodeAnalysis=true

hang.log

@ejohn20
Copy link
Member

ejohn20 commented Dec 8, 2017

Thanks for reporting this, I wasn't aware WebGoat.NET was even in the mix anymore. Thought that project died years ago. I suspect this is related to #38 as the code in that project looks very similar.

@ejohn20 ejohn20 added this to the 2.0 milestone Jan 18, 2018
@ejohn20 ejohn20 self-assigned this Jan 18, 2018
@ejohn20
Copy link
Member

ejohn20 commented Feb 22, 2018

Fixed in 1.0.7

@ejohn20 ejohn20 closed this as completed Feb 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants