Visual Studio
The tool !
Find the video HERE. Updated June 28th 2012: Marcel has blogged about this too. Adam Cogan did a great Web TV interview with Marcel de Vries and myself on the topics of architecture and code quality. It was real fun participating in this session. Although we know each other from the MVP ALM community, Marcel, Adam and I haven’t worked together before. It was very interesting to see how we agreed on so many terms, and how alike we where thinking. The basics of ensuring you have a good architecture ......
Updated: June 7th 2012: Cause for the issues found! Unsupported scenario having TFS 11 Beta side-by-side. Uninstall TFS 11 Beta before or even after install of VS 2012 RC. The Visual Studio RC has shown some install issues in some cases, particularly for those who upgrades from VS 11 Beta. These issues are caused by also having TFS 11 Beta server installed on the same machine. This is not a supported scenario. What is good is that if you forget to uninstall TFS Beta 11 first, and get these issues, ......
Download from VS Gallery In my work I meet many developers, tester and project managers, all using Visual Studio. When I ask them if they have updated it to the latest version, there are many who simply don’t know. Should you always update ? YES, you should. The Visual Studio development teams are continuously making improvements to the product. The question also often comes when we notice that something doesn’t quite work the way it should, and we then realize it is caused by not having the latest ......
This post is continued HERE. Looking for the VS 2010 extensions ? Go to extensions for VS 2010. Looking for links to the test adapters, go to this blog post. UPDATE Apr 12th 2013: Updates: Code Contracts, Code Contract Editor Extensions, T4 Toolbox UPDATE Apr 4th 2013: Updates: Visual Studio 2012 Update 2 ,TFS 2012 with Update 2, and Productivity Power Tools 2012UPDATE Apr 2th 2013: Visual Studio 2012 Update 2 CTP 4, added T4 Toolbox, Code Contract Editor Extensions, updated Visual Studio Tools for ......
Deployment of custom checkin policies can be done using either an MSI or VSIX. There are many reasons to prefer using the VSIX format. It is more lightweight, and thus more suitable for small components for VS, as it will not “pollute” the installed programs store. Further, since the Visual Studio setup projects have been cut from Visual Studio 11, the VSIX is a better choice, being supported both in VS 2010 and VS 11. VSIX is also very easy to create, once you know how, and it is very fast running ......
Memory for managed code is handled by the garbage collector, but if you use any kind of unmanaged code, like native resources of any kind, open files, streams and window handles, your application may leak memory if these are not properly handled. To handle such resources the classes that own these in your application should implement the IDisposable interface, and preferably implement it according to the pattern described for that interface. When you suspect a memory leak, the immediate impulse would ......
UPDATED Apr 15th 2013: Corrected to VS2012 Update 2 UPDATED Mar 23rd 2012: Added information about VS 11 UPDATED Mar 21st 2012: Added info and link to VS/TFS 11 tool for getting the Test Attachment Cleaner, now included with the TFS Power Tools UPDATED Mar 17th 2012: Added sql queries for TFS 11 Beta. Changed structure after Adam’s advices. Updated information. UPDATED Jan 9th 2012: Added link to SQL 2008 R2 SP1 CU4 for ghost file fix Background Recently there has been several reports on TFS databases ......
The 1.0.1 version of the Build Folder Extension is now out and can be downloaded from the Visual Studio Code Gallery at http://visualstudiogallery.... Source code, discussions and issue tracking can be found at the codeplex site at http://tfsbuildfolders.code... Context menu The context menu has been extended with the following commands, shown below: Queue New Build… : This pops up the traditional queue build dialog Queue Default Build(s): ......
We have just released a free extension for Visual Studio which adds a Builds Explorer with folders to the Team Explorer. The extension can be downloaded from Visual Studio Gallery or just search for Inmeta in Tools/Extension Manager. The documentation and issue tracking can be found at the codeplex site for the project http://tfsbuildfolders.code... and source code is available there. The Build explorer is based on using a convention of separators in the build definition names. See Brian Harry’s ......
This post is about VS 2010, go here for the VS/TFS 11 extensions. UPDATED Apr 9th 2012: VersionInfo, NuGet, Code Contracts UPDATED Oct 7th 2012: New Visual Studio GDR UPDATED Aug 31th 2012: New versions updated of ReSharper, NDepend, Web Essentials, Community Build Manager, Code Contracts (March 2012), NuGet, ILSpy, DotPeek, Just Decompile, tangible T4 editor, LinqPad. Added the VersionInfo tool, so you know you have the latest update of VS 2010 UPDATED April 20th 2012: New version of NuGet manager. ......
We (Mikael Nitell and me) got a whole track on the Norwegian MSDN Live tour this year. We did these as a pair, and covered 4 cities over 4 days, 6 sessions per day, taking 8 hours to come through it. The Islandic volcano made the travels a bit rough, but we managed 6 flights out of 8. The first one had to go by van instead, 7-8 hour drive each way together with other MSDN Live presenters – a memorable tour! Oslo was the absolute top point. We had to change hall to a bigger one. People were crowding, ......
One of the 6 sessions I and Mikael Nitell is running on MSDN Live 2010 here in Norway is about Code Quality, and part of that session goes through the use of Code Contracts and Pex. Both fantastic tools ! They can be used together, but are also completely independent from each other, and each can be used single. Code Contracts has to downloaded separately from VS 2010 (works also on VS 2008). Start looking at http://msdn.microsoft.com/e... . This download is a free download. ......
This issue has popped up for some after having upgraded from Team System Beta 2 to RC. You have remembered to uninstall everything (as Jakob points out here: http://geekswithblogs.net/j... but you still get the following error box: saying Could not load type 'Microsoft.TeamFoundation.C... from assembly 'Microsoft.TeamFoundation.C... Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d5... ......
In Visual Studio the settings for static analysis is done on the project property page, a tab called Code Analysis. You can set which code analysis rules you want to be active. The default in Visual Studio 2008 is to use all. If you run with this default setting you will generate a lot of "noise", since there are a large set of rules. You need to create a set containing the rules you and your team find are suitable for your organization and project. This set you have to apply to every C# project ......
There has always been a controversy between modeling and coding. All from the point where models are to be turned into code automatically, through the state where models are written and then forgotten after coding has started, to the point where one generates models from the code. To me, code and model is representations of the same thing - the problem to be solved, or the solution to the problem. And when the solution matches the problem, which sometimes happens, all is well. So the artifacts one ......
All these three terms are used to describe the behavior of an application. They come from different process methodologies, and have different meanings, characteristics and are intended to be used differently. Larry Guger also discuss these aspects and several others in his blog entries http://continuouslyintegrat... and http://continuouslyintegrat... The Use Case is ......
When I do either Code Analysis, Code Metrics or looking at Code Coverage results, I don't want to have any generated code affecting the results. It just confuses the numbers, and I do not really care how generated code looks - it should just be invisible. Generated code appears several places, code is generated by any of the multitude of wizards and designers in Visual Studio, or it may be generated by a 3rd part tool or generated by a self-written tool. There exist an attribute which, if attached ......