Hi all am using sonarqube v5.6.6
plugins:
Sonarqube v5.6.6
sonar fxcop plugin v1.0
Sonar c# v6.0
I am trying to do sonar analysis for .Net core(v1.1) project(c# language) build using VS2017 community edition. i searched in net regarding this issue & got few links like link1, link2, link3 of stackoverflow but all points the sonar
JIRATkt167 and its states that closed but still i didn't get any idea for how to run the sonar anlysis for .Net core project.
So please suggest me any documents or video to run same.
Please feel free to ask if you need any further details. sample code(which i used to do sonar analysis).
Sorry its a false alarm i didn't get the point in the JIRATkt167 they have moved the issue to new tkt JIRAtkt310 & this new tkt is still open & still the issue is not resolved.
Thanks & Regards
Vival
Related
i want to integrate StyleCops with SonarQube and display the results in SonarQube dashboard. Started working on a POC. Now im stuck due to lack resources and domain experts.
I have some doubts.
1)Is it possible to achieve this with Community EDITION or do i need to request for a Developer or Enterprise edition.
2)Can we integrate gitlab .net project to SonarQube and analyze using StyleCop rules (C#)
Can someone guide me to achieve this. Thank you in Advance.
I am not sure if community edition allows but it works on enterprise edition. You just need to reference Stylecops in your project and when SonarQube scans the project it will import
I am new to C# and Visual Studio, only did a bit of programming in Python with Anaconda and don't have an IT-background. So please excuse my fairly basic questions.
I am supposed to construct an optimization tool (i.e. the goal seeker from MS Excel) in C#. From my understanding I need an external package, so I looked for an open-source solution and found:
Numerical from Codeplex: https://archive.codeplex.com/?p=numerical
Microsoft Solution Foundation
Google OR-tools https://developers.google.com/optimization/install/dotnet/windows
Numerical seemed to be outdated, because at some point they migrated to GitHub, but I could not find it there. For Microsoft Solution Center I found a post, where someone claimed it doesnt get any updates anymore. So I finally discovered OR-Tools and downloaded/installed it according to the website.
What the website does not explain is how I connect the package with Visual Studio. I can't seem to find a "manually install"-button in the extensions-manager. In Python/Anaconda I would usually find a pip installer command for the console. Afterwards I could use the package with the import statement. How does it work in Visual Studio 2019?
We provide Nuget .Net Standard package for OrTools so you just need to add it as PackageReference in your csproj file.
ref:
https://www.nuget.org/packages/Google.OrTools/
https://learn.microsoft.com/fr-fr/nuget/consume-packages/package-references-in-project-files
warning: Since .Net Google.OrTools is a native package wrapping the C++
library OR-Tools, you'll still need the VS 2019 C++ Reditributable...
This question already exists:
Visual studio 2013 keeps crashing
Closed 5 years ago.
So I have a machine which runs Windows 10 with Visual Studio Ultimate 2013. But everytime I start the program it crashes within 1 minute, even without even moving my mouse.
When it crashes it gives me the following error: An unhandled Microsoft .NET Framework exception occurred in devenv.exe [6820]
I have noticed that the error started coming up after I connected to a Team Foundation Server, but I dont know if it has anything to do with the issue.
Furthermore, I am running a clean Windows install so that shouldn't be the problem either.
At this point I really don't know what to do, and I have my exams in two weeks, with which I need Visual Studio with Team Foundation Server.
Please help me with this, it would be very much appreciated!
None of the above. The answer is to install Update 5 for Visual Studio 2013:
https://my.visualstudio.com/Downloads?q=Visual%20Studio%202013%20Update%205
According to your description, you may need to repair your installation of the .Net framework.
To do this, please goto:
Control Panel >>> Programs >>> Programs and features >> Microsoft .Net Framework ClientProfile/Core >>> Select Repair >>> .Net Framework (.net version here)
Alternatively, you can use the setup verification tool to diagnose your .Net Framework here: .NET Framework Setup Verification Tool or Alternatively. Also check the .NET Framework Setup Verification Tool User’s Guide
If you do find problems with your .Net Framework, you can use the Repair Tool to fix it, it is designed to fix issues specifically concerning the .Net Framework as well as updates: Microsoft .NET Framework Repair Tool
After repairing, restart your system and please let me know if this helps.
we have the same problem at the office, seems like its a Microsoft issue.
here is a workaround:
https://www.reddit.com/r/VisualStudio/comments/7a2uy3/workaround_visual_studio_is_crashing_for_me_today/
I wonder if there are extensions available for adding code coverage with C# in Visual Studio Code in Linux... I have already searched the extensions but I'm not able to find some.
Kind regards
This is an old question, but it's a top search engine result for this issue. Here's a blog article by Alberto Bar-Noy that I found which may help.
Alberto recommends using the following three VSCode Extensions to achieve code coverage statistics.
coverlet
.NET Core Test Explorer
Coverage Gutters
I have a .Net project and I have recently integrated Sonar to measure the code coverage but the Coverage is very low compared to coverage that I see in DotCover. When I checked in details, found that SonarQube is still counting the C# classes marked with "ExcludeFromCodeCoverage" attributes for Code Coverage. Is there any setting that I need to update in SonarQube build?
Thank you for investigating this issue. I can confirm that we do not take ExcludeFromCodeCoverage into account. Created a JIRA ticket for this: https://jira.sonarsource.com/browse/SONARCS-611