Harri's profilePainKiller´s C# CornerBlogListsNetworkMore Tools Help

Blog


    Grouping partial classes in Solution Explorer

    I found a great tool today that I could recomend, I was looking for a tool to easily group partial classes without manually edit the project file. Why do I want this feature then? Well I like organizing things and since the partial classes feature is such a good thing doing just that I like it.

    But the bad thing is that the nice group layout of partial classes that Visual Studio it self uses when it separates for example a Winform in three files like form1.cs, form1.Designer.cs and form1.resx is something you dont can do in a simple way.

    But thanks to Jarek Kardas this problem is solved with his nice tool VsCommands, take a look at it and download it from here

    http://mokosh.co.uk/page/VsCommands.aspx

    Visual Studio 2008 Adding User database instances with new item template

    I noticed today when I try to add a new database with the SQL Server Database template in the "add item function" in Visual Studio that the SQL Server Express installation default is configured not to allow this.

    You have to run this SQL script to change the configuration:

    First: sp_configure 'user instances enabled', 1

    Then: RECONFIGURE

    All done now you can add new database with the template.

    Snapshot from Next Visual Studio

    DocumentMap

    The proposed Marker Bar View is shown on he left, and the proposed Thumbnail View is shown on the right.

    Read more about this features Feature: Document Map Margin

    Problem with building large solutions

    The Visual Studio address space is pretty crowded, and compiling large projects takes up a lot of address space. This wouldn't be a concern if Visual Studio spawned CSC.EXE for the build. So if you run into build scalability issues with a Visual Studio full build, you can often work around them by invoking MSBUILD.EXE from the command line supplying the .SLN file.

    Some info from "A tale of two compilers" http://blogs.msdn.com/ed_maurer/archive/2008/06/11/a-tale-of-two-compilers.aspx