I have found how to integrate StyleCop and FxCop with Hudson, but what about Visual Studio Code Analysis? Can't it also be integrated into Hudson?
Visual Studio Code Analysis is simply an extended version of FxCop. If you want to include the addition rules shipped with VS Code Analysis, run FxCopCmd.exe from your VS installation instead of from a stand-alone FxCop installation.
Unless someone has created a plugin for this specific purpose, you'll either have to write your own or you're out of luck. Having StyleCop and FxCop covers a lot though, so I wouldn't worry too much.
Related
i have downloaded CEF binaries from the link http://opensource.spotify.com/cefbuilds/index.html as successfully created a .sln file using VS 2017.
But now our requirement is to compile the cef binaries on windows through MinGW or through command line(Do not want to use Microsoft visual studio).
can someone helpme out with this thing?
Only Visual Studio is officially supported to build CEF on Windows. You'll unlikely be successful to make a different compiler work in a reasonable time.
There is also ways to compile a VS project via the command line. Example: msbuild project.sln /Flags... For more details have a look at this stackoverflow link
If you ever want to compile libcef (Chromium) for Windows, the whole build is entirely command-line only despite using the Visual Studio compiler.
There is a free edition of Visual Studio called Visual Studio Community (used to be Visual Studio Express):
https://www.visualstudio.com/vs/community/
Also, if you are a small company, you might want to check out Microsoft's Action Pack for 400 EUR/year which includes 3 Visual Studio Prof. subscriptions.
Have a look at the CEF wiki:
https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart.md
I do not have enough points to comment on Eugen. Maybe someone can edit.
I think Eugen is right, and VS is a must. I suggest flowing also this link to learn how to build CEF programmatically and on different OS.
I'm new to .net and want to use a build tool for my project. I'm reading about MSBUILD and other options but recently came to know that Visual studio projects are MS Build scripts.
So, that makes me think, should I really use MSBUILD for Visual studio projects ?
Visual Studio uses MSBuild under the hood and the project system is based on it.
There are a few other tools that help with .NET builds, like Cake, but for the most important part, they also call MSBuild (but help you to script it for complex scenarios).
There really isn't an alternative to MSBuild since all tools (VS, JetBrains Rider, OmniSharp (/VSCode)) require it to understand C#/VB.NET projects.
should I really use MSBUILD for Visual studio projects ?
Obviously, we can also use devenv.exe, csc.exe or other compilers for Visual Studio projects except MSBuild. But just as Martin`s answer, all tools (VS, JetBrains Rider, OmniSharp (/VSCode)) require it to understand C#/VB.NET projects. And Visual Studio hosts MSBuild to load and build managed projects. Because MSBuild is responsible for the project, almost any project in the MSBuild format can be successfully used in Visual Studio.
With MSBuild, you could build projects on a build server for .NET apps without Visual Studio.
Besides, MSBuild will give you significant flexibility in choosing what technologies you use to implement continuous integration. And custom MSBuild tasks will give you even more flexibility in implementing custom builds.
What more, If Visual Studio Team System is in your future, applications built using MSBuild will be much easier to move into that environment than those built via alternative means.
Though, we can build Visual Studio project by using other ways, it is absolutely a good idea to use MSBuild for Visual Studio projects.
Hope this can help you.
I am upgrading a big solution from Visual Studio 2010 to Visual Studio 2012. All is done, but the code analysis module was changed in Visual Studio 2012 so I got thousands of CODE analysis errors (many CA1703, CA1709, etc.) What can I do?
It is very hard to manage every manually.
These are not errors. They are just warnings.
You can just turn off code analysis
How to: Enable and Disable Automatic Code Analysis for Managed Code at MSDN
or reconfigure Code Analysis
How to: Configure Code Analysis for a Managed Code Project at MSDN
VS2012 is not so diffrent that you may think. It's just diffrently configured by default.
I am not sure there is a perfect answer for that but the code analysis in VS2012 is much better than in VS2010. There are many improvements in VS2012 and I believe there isn't any one shot solution to this problem. You may have to look into every error case by case.
I am currently using Visual Studio 2008 and ReSharper 5.0. Would like to know after installing the plugin for TeamCity with Visual Studio, how can I integrate ReSharper and Teamcity, since both are under JetBrains. And would like to know how ReSharper and TeamCity can work together to improve finding errors once the code cannot compile together?
ReSharper doesn't currently integrate with TeamCity.
Relevant feature requests in JetBrains issue tracker include RSRP-162275: Standalone command-line tool to run inspections etc, to plug in to build-script and TW-11084: Integration for ReSharper command-line inspections tool
I am just about to get used with Visual Studio 2010 right now.
So could you mention visual studio add-in that is ready for Visual Studio 2010?
Take a look within Visual Studio itself: Tools -> Extension Manager.
This will show various tools and other extensions from http://visualstudiogallery.msdn.microsoft.com/en-us/. I'm not sure if it's working very well right now, as I'm having connection issues within VS and the site seems a bit slow.
I know AnkhSVN exists on there and I'm sure others do as well.
Here's a blog post with some more information: Get VS2010 Extensions easily with built-in Extension Manager (and checking out a VS2010T4 editor)
JetBrains has preview builds of ReSharper available. It may not be completely stable yet, but some ReSharper is better than no ReSharper...
AnkhSVN - a subversion client is VS 2010 compatible.
Hope that helps,
Dan
AnkhSVN
Get ReSharper. It really helps you make fewer errors and code faster. http://twi.im/oW
My addin Atomineer Pro Documentation provides automatic DocXml/Doxygen comment generation tool for use in C/C++/C#/VB/Java. It supports XML Documentation, Doxygen, JavaDoc, and Qt format comments.
An alternative for documenting in XML format for C#/VB is GhostDoc - there is a feature comparison here to give an idea of how they measure up to each other.