Sign in
Random Musings of Jeremy Jameson
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
Core Development
Debugging
Infrastructure
ISA Server
MOSS 2007
My System
Pages
Personal
PowerShell
SharePoint Server 2010
Silverlight
Simplify
SQL Server
TFS
Toolbox
Tugboat
Virtualization
Visual Studio
WCF
Web Development
Windows 7
Windows Server
Windows Vista
WSS v2
WSS v3
WSUS
Browse by Tags
MSDN Blogs
>
Random Musings of Jeremy Jameson
>
All Tags
>
visual studio
Tagged Content List
Blog Post:
"Build Bloat", Part 2 (a.k.a. Removing Extraneous Items from SharePoint Visual Studio Projects)
Jeremy Jameson - MSFT
Last week I received a "Logical Disk Free Space is low" alert from Operations Manager for my TFS 2010 build server (DAZZLER). After a few minutes investigating the issue, I discovered that my "Builds" folder was consuming a little over 2 GB of storage. Note that DAZZLER only has a 23 GB virtual hard...
on
14 Mar 2011
Blog Post:
Building SharePoint 2010 Solutions on a TFS 2010 Build Server
Jeremy Jameson - MSFT
Last year I wrote a post about building Microsoft Office SharePoint Server (MOSS) 2007 solutions on a Team Foundation Server (TFS) 2010 build server , which talked about copying various SharePoint assemblies to a "Reference Assemblies" folder and adding a corresponding registry key for MSBuild to locate...
on
27 Feb 2011
Blog Post:
C++ Compiler in Visual Studio 2010 Must Target .NET Framework 4
Jeremy Jameson - MSFT
Another "hiccup" this week after upgrading my Team Foundation Server (TFS) 2008 environment to TFS 2010 ... This morning I discovered that when you upgrade a managed C++ project from Visual Studio 2008 to Visual Studio 2010, the project is updated automatically to target .NET Framework 4. Unlike most...
on
7 May 2010
Blog Post:
Suppress CS1607 Warning for TFS 2010 Builds
Jeremy Jameson - MSFT
Here's another issue I encountered when upgrading my Team Foundation Server (TFS) 2008 environment to TFS 2010 ... While it's generally a good assumption that a solution that builds without error in Visual Studio 2008 (and on a TFS 2008 build server) will build without error after updating the solution...
on
5 May 2010
Blog Post:
Building MOSS 2007 Solutions on a TFS 2010 Build Server
Jeremy Jameson - MSFT
After upgrading my Team Foundation Server (TFS) 2008 environment to TFS 2010 , my next step was to upgrade various Visual Studio solutions to the 2010 version and ensure they built successfully after the upgrade. Note that during the upgrade, I chose to rebuild the VM (DAZZLER) in my environment that...
on
5 May 2010
Blog Post:
Upgrade Team Foundation Server 2008 to TFS 2010 (and SharePoint Server 2010)
Jeremy Jameson - MSFT
In my previous post , I provided an overview of the process of upgrading from TFS 2008 (and Windows SharePoint Services v3) to TFS 2010 (and SharePoint Server 2010). In this post, I provide more details about the upgrade process. Note that if you are not upgrading, but rather installing a new instance...
on
4 May 2010
Blog Post:
Upgrade Team Foundation Server 2008 to TFS 2010 (and SharePoint Server 2010) - Overview
Jeremy Jameson - MSFT
This past weekend, I upgraded my Team Foundation Server (TFS) 2008 environment to TFS 2010. I also upgraded the TFS project sites to SharePoint Server 2010. Why the SharePoint upgrade? The TFS project sites previously ran on Windows SharePoint Services 3.0 (WSS v3) -- not Microsoft Office SharePoint...
on
4 May 2010
Blog Post:
Save Significant Disk Space by Setting MaxPatchCacheSize to 0
Jeremy Jameson - MSFT
A little over two years ago, I wrote a post about installing Visual Studio 2005 Service Pack 1 , in which I mentioned setting the MaxPatchCacheSize registry setting to 0 (in order to save some significant disk space while installing the service pack). [Note that the credit for this trick really goes...
on
30 Apr 2010
Blog Post:
Test Projects in Visual Studio 2010 Must Target .NET Framework 4
Jeremy Jameson - MSFT
Last week I installed Visual Studio 2010 on my primary desktop. This morning, I opened my Fabrikam.Demo solution in the new version of Visual Studio, but chose not to upgrade the target framework when prompted by Visual Studio during the solution upgrade. In other words, I chose to leave the Target framework...
on
28 Apr 2010
Blog Post:
Bug Deploying SQL Server Database Using VSDBCMD.EXE
Jeremy Jameson - MSFT
Yesterday we encountered a bug while trying to deploy a new SQL Server database from a Visual Studio database project using the VSDBCMD.EXE utility, following the prescriptive guidance on MSDN: How to: Prepare a Database for Deployment From a Command Prompt by Using VSDBCMD http://msdn.microsoft...
on
9 Dec 2009
Blog Post:
The "Copy Local" Bug in Visual Studio
Jeremy Jameson - MSFT
If you've ever worked with me on a Microsoft Office SharePoint Server (MOSS) 2007 project -- or if you've read my Sample Walkthrough of the DR.DADA Approach to SharePoint -- then you've probably seen the following comment: Note: Referenced assemblies must be specified with a path corresponding...
on
18 Nov 2009
Blog Post:
Recommendations for Code Analysis
Jeremy Jameson - MSFT
In my previous post , I briefly mentioned the Code Analysis feature of Visual Studio in the context of using check-in policies with Team Foundation Server (TFS). However, there's a lot more to talk about with regards to using Code Analysis. If you are ever find yourself "starting from a clean slate...
on
31 Oct 2009
Blog Post:
Essential Add-Ins for Team Foundation Server
Jeremy Jameson - MSFT
In a previous post , I mentioned how I use SourceGear's DiffMerge instead of the out-of-the-box tool that comes with Team Foundation Server (which is also called DiffMerge). If you haven't at least evaluated the SourceGear alternative, I definitely advise you to take a look. The other "add-in" for...
on
25 Oct 2009
Blog Post:
Formatting Code for My Blog
Jeremy Jameson - MSFT
It occurred to me this morning that while I previously shared some details on how I manage my MSDN blog , I've never shared my method for formatting code for the Web. Actually, calling it "my method" is definitely a bit of a stretch. I certainly didn't come up with the approach but rather refined...
on
9 Oct 2009
Blog Post:
Comparing Source Code Branches
Jeremy Jameson - MSFT
During the more than three years I spent helping Agilent Technologies migrate their Internet site from their legacy, proprietary platform to Microsoft Office SharePoint Server (MOSS) 2007, we unfortunately never used Team Foundation Server (TFS). Instead, we used Visual SourceSafe (VSS) in combination...
on
16 Sep 2009
Blog Post:
Shared Assembly Info in Visual Studio Projects
Jeremy Jameson - MSFT
Yesterday I introduced the concept of linked files in Visual Studio solutions with a follow-up on my recommendation for configuring a custom dictionary to eliminate CA1704 code analysis warnings. Another practical application of linked files is what I refer to as "shared assembly info" -- referring...
on
3 Apr 2009
Blog Post:
Best Practices for .NET Assembly Versioning
Jeremy Jameson - MSFT
Whenever a new .NET assembly project is created in Visual Studio, a file named AssemblyInfo is created that contains attributes used to define the version of the assembly during compilation. Using assembly versions effectively enables various team members to identify deployed assemblies and helps...
on
3 Apr 2009
Blog Post:
CA1704 Code Analysis Warning and Using Custom Dictionaries in Visual Studio
Jeremy Jameson - MSFT
In my previous post , I introduced the concept of linking files in Visual Studio solutions. A good use of this feature is specifying a custom dictionary for your solution. Once you enable Code Analysis on your projects, you are likely to encounter warnings similar to the following: MSBUILD ...
on
2 Apr 2009
Blog Post:
Linked Files in Visual Studio Solutions
Jeremy Jameson - MSFT
A couple of years ago, I wrote a post introducing my system for structuring Visual Studio solutions . However, I apparently forgot to post a follow-up providing additional details, such as configuring assembly versioning and what I like to call "shared assembly information." Before I can cover these...
on
2 Apr 2009
Blog Post:
DiffMerge - A Better Differencing Tool
Jeremy Jameson - MSFT
Last summer, I added DiffMerge to my Toolbox and I haven't used WinDiff since. DiffMerge can do everything WinDiff can, plus a whole lot more -- like intra-line highlighting, merging, and comparing files using configurable rulesets (although you'll likely never need any more than those that come ...
on
24 Mar 2009
Blog Post:
Visual Studio Macro for Collapsing All Items in Solution Explorer
Jeremy Jameson - MSFT
Along with my Visual Studio macros for unloading/reloading projects in a solution , another macro that I use just as much, if not more frequently, is my CollapseAllItems() macro: Public Sub CollapseAllItems() Dim solutionExplorer As Window = _ DTE.Windows.Item(Constants.vsWindowKindSolutionExplorer...
on
11 Mar 2009
Blog Post:
Visual Studio Macros for Unloading/Reloading Projects
Jeremy Jameson - MSFT
As promised in a post last week, here are the macros that I use to quickly unload or reload dozens of projects in a large Visual Studio solution. Hmmm, perhaps effortlessly is a better word choice -- considering I might need to wait 30 seconds or so for all of the projects to unload or reload. Here...
on
11 Mar 2009
Blog Post:
Tracing and Logging from Visual Studio Macros
Jeremy Jameson - MSFT
As I mentioned in a post last week, I often use macros in Visual Studio to automate development tasks. Before sharing some of my most frequently used macros, however, I wanted to first introduce the method I use to trace events and log messages while running various macros. Take a look at the following...
on
11 Mar 2009
Blog Post:
Large Visual Studio Solutions and Loading/Unloading Projects
Jeremy Jameson - MSFT
As I noted in my previous post , I typically work with "large" Visual Studio solutions. Note that I put this in quotes, because the definition of "large" will likely vary widely based on your individual experience. Note that I'm not referring to "large" like the source for the .NET Framework itself,...
on
6 Mar 2009
Blog Post:
Bug: Visual Studio 2008 Code Metrics and Referenced Assemblies
Jeremy Jameson - MSFT
Since I seem to be on a roll this morning with blogging, I figured I might as well get one more post in before moving on to my "day job." During the process of authoring a different post earlier today, I stumbled across a bug while using the Code Metrics feature in Visual Studio 2008. After clicking...
on
5 Mar 2009
Page 1 of 2 (27 items)
1
2