Item Templates and Project Templates Not Showing in Visual Studio

Monday, June 25, 2007 11:59:11 AM (Central Standard Time, UTC-06:00)

Something happened today and my project and item templates are no longer showing up.  When I start the Visual Studio IDE I get the following message:

---------------------------
Microsoft Visual Studio
---------------------------
The automatically saved settings file '\\Settings\CurrentSettings-2007-03-19.vssettings' is not available for write. You can change this file on the 'Import and Export Settings' Tools Options page.
---------------------------
OK  
---------------------------

If I use the Import and Export Settings to reset the environment it Visual Studio stops responding and then the dialog for resetting the settings goes away with nothing being reset.

 

After digging around a bit I found you can also reset the Visual Studio IDE through the command line:

"%programfiles%\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" /resetuserdata

Make sure you don't have Visual Studio open and use the Task Manager to monitor the devenv.exe process until it is done. 

 

After doing this everything was restored and worked fine.  I did loose some custom keybindings so you will have to set those up again.

Acropolis CTP Released

Tuesday, June 05, 2007 7:12:52 AM (Central Standard Time, UTC-06:00)

Look's like the Acropolis CTP was released a couple of days ago...

http://www.microsoft.com/downloads/details.aspx?familyid=72386ce5-f206-4d5c-ab09-413b5f31f935&displaylang=en&tm

Compiling 1.1.NET Framework in Visual Studio 2005

Wednesday, February 22, 2006 12:00:00 AM (Central Standard Time, UTC-06:00)
I upgraded to dasBlog 1.8 the other day and that broke my InfoPath Blog ClientdasBlog had made some changes to the API on adding posts.  Since dasBlog is still running under the 1.1 .NET Framework, and I no longer have the Visual Studio 2003 IDE installed anywhere I did some poking around the net to see if anyone was using the Whidbey IDE to compile 1.1 code.  Sure enough there was a post from one of the MSBuild developers that gives you a step by step process for getting it to work. 
 
It is surprisingly simple.  You can find the post here.   It says Beta 2 on the post it worked fine with the RTM version.  The catch was that I had to delete and re-reference some assemblies I was referencing.

Xml Visualizer in Visual Studio 2003

Tuesday, February 21, 2006 12:00:00 AM (Central Standard Time, UTC-06:00)
Ran across this one the other day.  For those of you that don't know what a Visualizer is you can find out about there incorporation into Visual Studio 2005 on MSDN.  For those of you who are still stuck using the old IDE, someone has spent the time to write an add-in that is an Xml Visualizer for Visual Studio 2003.  It is found on GotDotNet.

DSL Tools for Beta2

Sunday, May 29, 2005 11:00:00 PM (Central Standard Time, UTC-06:00)
Looks like the DSL Tools (which help you create custom designers for Domain Specific Languages) for Beta2 were released last Friday. 

Looking to customize the class designer in VS 2005

Saturday, May 28, 2005 11:00:00 PM (Central Standard Time, UTC-06:00)
There is a powertoy on GotDotNet that shows you how to extend and customize the class designer in Visual Studio 2005.

Problems with Creating Build Types in VSTS Beta 2

Monday, May 16, 2005 11:00:00 PM (Central Standard Time, UTC-06:00)
If you trying to play around with Team Build in VSTS 2005 and run into the following dialog when trying to add a build type:
 
"No Workspace Exists for the given project."
 
Try doing the following:
 
  1. Goto the Visual Studio command prompt.
  2. Type in "h.exe workspace 'workspacename' /s:servername" where servername  is the name of your Team Foundation Server and workspace name is the name of the workspace you couldn't create a build type for.  You can find out more about h.exe and it parameters here.
  3. Enter the Name of the workspace you couldn't create the build type for, and map a source repository folder to the local folder where the source is found.  The graphic below shows the h.exe UI.  The Name field should show your workspace name.  In the working folders grid you should identify the source "repository folder" and map it the "local folder" where the actual source is found.


  4. Click OK
 
That should update the mappings and fix the error above.
 
Now you can go back into Visual Studio and create a build type.
  1. Right click on Team Builds within your project and select "New Team Build Type".
  2. Enter the name of the build and any comments you have about the build type.
  3. Select the solution you want included in this build type. If you don't have any solutions in your list (mine shows one below CompositeUI\CompositeUI-CS.sln) then make sure that you have checked the source into Team Source.  If you added to Team Source through the IDE, it may not be checked in.
 
 Note: You can verify that you have source checked in by double clicking Version Control item in in the Team Explorer view of your project, then selecting your project in the Source Control Explorer.  You should be able to see your source.

 
  1. Select the solutions and build order, click next.
  2. Complete the configurations, click next.
  3. Define the Location of the build server and build drops, click next.
  4. Select the build options you want, click next.
  5. Review the summary and finish.
 
You should be ready to build the configuration.
 

Getting Up to Speed on Team System 2005

Sunday, May 15, 2005 11:00:00 PM (Central Standard Time, UTC-06:00)
Visual Studio Team System is a suite of tools targeted at a number of roles in the software development lifecycle. Here are some resources for getting up to speed on it.
 
Team System Webcasts
Webcasts about Team System here.
 
Team System Blogs
Rob Caron        
 
DSL Tools Blogs
Alan Wills           
Gareth Jones      
Steve Cook         
Stuart Kent        
 
Understanding DSL's
 
 
 
Walkthroughs
The walk throughs have a number of items that are just place holders at this time.  There are areas completed, including Creating Build Types and Source Code migration which are helpful.
 
What is happening with VSS?
You can find out by looking at the VSS road map.

Enterprise Templates replaced by GAT

Monday, May 02, 2005 11:00:00 PM (Central Standard Time, UTC-06:00)
Creating Enterprise Templates was extremely painful.  GAT (Guidance Automation Toolkit) is the replacement for Enterprise Templates, and Wojteks blog has some interesting history behind GAT and merge with the DSL SDK.

AppSettings Per Assembly Config Implementation

Thursday, October 28, 2004 11:00:00 PM (Central Standard Time, UTC-06:00)
Mike Woodring has an implementation for AppSettings related to an assembly here.  With Visual Studio .NET you can mimic the same behavior as the app.config (building and renaming of the config to the bin directory) by using a post build event:
 
copy $(ProjectDir)dll.config $(TargetPath).config
 
This event takes your dll.config and copies it to the bin directory of the build.

Visual Studio .NET 2003 Posters

Monday, October 13, 2003 3:45:18 PM (Central Standard Time, UTC-06:00)
You can find the posters here.

Exposing Additonal Type Information in the Debugger

Sunday, October 12, 2003 3:11:24 PM (Central Standard Time, UTC-06:00)

Use mcee_cs.dat (found at C:\Program Files\Microsoft Visual Studio .NET\Common7\Packages\Debugger\) to expose addtional type information in the debugger. If you have used C++ in the past, this is the equivalant to the autoexp.dat. There is very little documentation in MSDN. However it is pretty easy to add type information to the mcee_cs.dat file. By doing this, additional information will be added to the watch / locals and debugger ToolTips during debugging. The mcee_cs.dat. changes are only read at startup, so if you make changes while the IDE is open, you will need to shut it down and restart it.

Unfortunately the mcee_cs.dat is very limited. You may only call properties of the type ( no methods ). I also found that VSTweak has the ability to edit the mcee_cs.dat file (although the implemenation is still a bit rough).  I would suggest editing by hand. You can find the VS Power Toys (which includes VSTweak) for the IDE on GotDotNet.