Terje Sandstrom

------ Chief Software Geek at Inmeta Consulting in Scandinavia ----- and a Visual Studio ALM MVP

  Home  |   Contact  |   Syndication    |   Login
  61 Posts | 1 Stories | 100 Comments | 0 Trackbacks

News

Subscribe

Delicious Save this on Delicious Visual Studio Feeds

¨

Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

Company stuff

Interesting bloggers

Interesting companies

Microsoft

Microsoft Norge

Microsoft Regional Directors

Microsoft Test

MSFT Blogs

MVP

NNUG

Other interesting stuff

TFS

Visual Studio

Visual Studio

The tool !
I just got into some strange errors after I had done a NuGet update-packages of some package. The build of the solution after the update failed with a strange error on some numeric comparison which could not be done: This one followed by an error list like this: Restarting Visual Studio makes it go away, but it is still a nuisance. Since this happened after a NuGet operation I found it useful to mention this to Xavier Decoster , the author of the Pro NuGet book, and also one of the founders of the ......

Looking for List of VS 2013 Extensions (Part 2) Updated Oct 17th 2014: Visual Studio and TFS 2013 Update 4 RC Looking for the VS 2012 product info and extensions? Go to Visual Studio 2012 Product and updates (Part 1) and Visual Studio 2012 extensions (Part 2) Looking for the VS 2010 extensions ? Go to Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2). Looking for links to the Test Adapters. The information contains the download links to all versions and updates where applicable, ......

Download tool Updated 3.July 2014: Corrected pattern for NuGet, details in this blogpost. (IFix is in progress to be updated too, version 1.1 will have these fixes) Is there anything wrong with the built-in Visual Studio gitignore ???? Yes, there is ! First, some background: When you set up a git repo, it should be small and not contain anything not really needed. One thing you should not have in your git repo is binary files. These binary files may come from two sources, one is the output files, ......

Download tool In version 2.7 of NuGet automatic nuget restore was introduced, meaning you no longer need to distort your msbuild project files with nuget target information. Visual Studio and TFS 2013 build have this enabled by default. However, if your project was created before this was introduced, and/or if you have used the “Enable NuGet Package Restore” afterwards, you now have a series of unwanted things in your projects, and a series of project files that have been modified – and – you no ......

This issue is resolved in the latest ReSharper release, version 8.2.0.2160, download here. The issue appears when using the Test Explorer to run tests in any of the frameworks mentioned in the title. The tests are shown in the Test Explorer, but are not executed. It may look like this: Note: The tests shown dimmed are NUnit and XUnit tests, which have the issue. The other tests are MSTests, which are not affected. The tests are discovered by the adapter, but not executed. If you look in the Output ......

Go to Part 1 – List of Product Updates for information on Visual Studio and TFS 2013 updatesLooking for the VS 2012 product updates and extensions ? Go to Visual Studio 2012 Product and updates (Part 1) and Visual Studio 2012 extensions (Part 2)Looking for the VS 2010 extensions ? Go to Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2).Looking for links to the test adapters, go to this blog post.Update Sep 19th 2014: Updated ReSharper3 , NDepend3 , LinqPad, TFS Team Project ......

This post is continued here!Looking for List of VS 2013 Extensions (Part 2) Updated April 12th 2014: Visual Studio 2013 Update 2 RC & TFS Server 2013 Update 2 Looking for the VS 2012 product info and extensions? Go to Visual Studio 2012 Product and updates (Part 1) and Visual Studio 2012 extensions (Part 2) Looking for the VS 2010 extensions ? Go to Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2). Looking for links to the test adapters, go to this blog post. The information ......

Using NuGet in Visual Studio together with ReSharper may sometimes lead you into an annoying error where ReSharper indicates your code has an error, but the solution builds just fine. This may happen if you have a set of NuGet packages, and you either just restore them, or delete them on disk and then restore again. Your code ends up looking like this, note the red missing functions, which comes from the Moq library - which is downloaded from NuGet: while the Build is still fine, it compiles without ......

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. ......

The last year I have written three blog posts for the Microsoft MSDN ALM blog on unit testing. The posts focused on the new test explorer with its abilities to run tests in multiple frameworks, and utilizing traits to filter what to run, both in Visual Studio and on TFS Build. I covered the adapters for NUnit, XUnit and Chutzpah. How to manage unit tests in Visual Studio 2012 Update 1 : Part 1–Using Traits in the Unit Test Explorer Part 2–Using Traits with different test frameworks in the Unit Test ......

Go to Part 2 – List of extensions and tools for Visual Studio and TFS 2012 Looking for the VS 2010 extensions ? Go to Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2). Looking for links to the test adapters, go to this blog post. UPDATE Nov 26th 2013: Visual Studio 2012 Update 4 This information was formerly contained within my blog post on List of extensions (Part 2), but it seems better to keep this separate now, since the cadence has increased tremendously for VS 2012, ......

Go to Part 1 – List of Product Updates for information on Visual Studio and TFS 2012 updates Looking for the VS 2010 extensions ? Go to Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2). Looking for links to the test adapters, go to this blog post. UPDATE Aug 18th 2013: Updates: Visual Studio Tools for Git, TypeScript, ReSharper, TFS Power Tools, Code Contracts, Build Manager, Web Essentials, Code Contracts, tangible T4 editor , Just Decompile, DotPeek ADDED: Inmeta AssociateRecentWorkItems ......

Background You are opening a solution made in Visual Studio 2010 with VS 2012. When you run Code Analysis you get a series of CA0053 errors, saying it is unable to load the rule sets from the Visual Studio 2010 directory! In the Error window you get an error message saying “Code Analysis detected errors.” And in the Code Analysis window you will get the “CA0053 Error running code analysis” with its “Unable to load rule assembly”. This means the project is bound to Visual Studio 2010, where it should ......

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. Go to Part 1 – List of Product Updates for information on Visual Studio and TFS 2012 updates Looking for the VS 2010 extensions ? Go to Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2). Looking for links to the test adapters, go to this blog post. UPDATE Aug 18th 2013: Updates: Visual Studio Tools for Git, TypeScript, ReSharper, TFS Power Tools, Code Contracts, Build Manager, Web Essentials, Code Contracts, tangible T4 editor , Just Decompile, ......

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 ......

Full Visual Studio Archive