Tuesday, August 29, 2006

Scott Hanselman's 2006 Ultimate Developer and Power Users Tool List for Windows

Scott Hanselman's 2006 Ultimate Developer and Power Users Tool List for Windows The title says it all: A great list of usefull tools for the developer.

.NET Reflector Add-Ins

.NET Reflector Add-Ins This page lists all the greatest add-ins for the .NET Reflector tool.

Thursday, August 24, 2006

Sample book chapter on new features from C#2.0

In this sample chapter from the book "Visual C#2005 - A Developer's Notebook" learn about and use the new features in C# 2.0, including generics, iterators, anonymous methods, partial types, static classes, nullable types, and limiting access to properties, as well as delegate covariance and contravariance. http://www.oreilly.com/catalog/visualcadn/chapter/ch01.pdf

Free C# chapters from books

This guy regularly updates this page with links to freely downloadable chapters from books on C#. Great resource. PublicJoe's - C# Tutorial - Free EBook

A good paper on binary representation of floating point data

Here is a good article on binary representation of floating point values. The article use C# to explain the concepts. Herong's Tutorial Notes On C# - Part B - Binary Representation of 'float' and 'double' Values

Interop 101: PInvoke

Here is a series of posts from BorisJ on PInvoke. Interesting stuff. Part 1: http://blogs.msdn.com/borisj/archive/2006/07/29/683061.aspx Part 2: http://blogs.msdn.com/borisj/archive/2006/08/21/711530.aspx

Tuesday, August 22, 2006

A book on OpenSource licensing

A book on OpenSource licensing: Open Source LicensingSoftware Freedom and Intellectual Property Law http://www.rosenlaw.com/oslbook.htm This book is available online under the Academic Free License version 3.0. Links to the individual chapters are shown below. Front matter Preamble Chapter 1: Freedom and Open Source Chapter 2: Intellectual Property Chapter 3: Distribution of Software Chapter 4: Taxonomy of Licenses Chapter 5: Academic Licenses Chapter 6: Reciprocity and the GPL Chapter 7: The Mozilla Public License (MPL) Chapter 8: The Common Public License (CPL) Chapter 9: The OSL and the AFL Chapter 10: Choosing an Open Source License Chapter 11: Shared Source, Eventual Source, and Other Licensing Models Chapter 12: Open Source Litigation Chapter 13: Open Standards The Open Source Paradigm Appendices

CoolCommands 3.0 for Visual Studio 2005

Here is another really useful Visual Studion 2005 PowerToy:

CoolCommands 3.0 for Visual Studio 2005

In short, the tool provides access to some everyday tasks that you might do within VS, such as collapse all projects. Great time saver. Check it out at: http://weblogs.asp.net/gmilano/archive/2006/05/10/446010.aspx or directly download it from : http://downloads.deklarit.com/files/gmilano/CoolCommands30.msi

Visual Studio 2005 PowerTools

Here is a great tool for debugging .NET20 apps. From:http://www.codeplex.com/Wiki/View.aspx?ProjectName=MSE Do you ever need to get stack traces for your .NET 2.0 applications? Want a quick and easy way to monitor managed processes and threads? Need a way to view a thread's stack trace to investigate an application hang? If so, Managed Stack Explorer is for you.

Managed Stack Explorer is a lightweight tool that allows you to do just this. Simply copy the executable anywhere and start monitoring your stack traces today.

Check out all of the MSE Features for the 1.0 release. Learn more about the Managed Debugger Sample MDbg

Monday, August 21, 2006

VS2005 - Forms Designer exception: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for mo

Update : MS has a hotfix for this problem : Check out the following page: http://support.microsoft.com/kb/912019/en-us Kept having the following problem with the Windows Forms Designer in VS2005. Here is what the problem is: All my Forms that inherited from another base form that I had created would all of sudden stop displaying the designer. The error that I would get was: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Hide at System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark)at System.Reflection.Assembly.GetTypes()at Microsoft.VisualStudio.Shell.Design.AssemblyObsoleteEventArgs..ctor(Assembly assembly)at Microsoft.VisualStudio.Design.VSDynamicTypeService.ReloadAssemblyIfChanged(String codeBase) . . . It was the most annoying error and I found that it would happen most often when I performed a rebuild on my solution. The one method that I found that always worked was to close down the solution, and go to the project folder and clean out the obj and bin folders. (Performing a clean from within the solution did not always work, but shutting down VS and then cleaning the files worked always.) Some bloggers have pointed to this problem being caused by an indexing service that is run in the background, which causes file locking and hence the error. To work around this do the following: Select the projects folder in Windows File Explorer. On the Properties Tab, click the Advanced button and disable the checkbox to allow the indexing of the folder and subdirectories and files. But this was not the case on my machine. So there may be more than one reason for this error. (But if you want there is a hot fix for this file locking due to indexing issue and its : VS.NET 2005 Hotfix 265517_ENU_i386 - you will have to contact MS tech support for it though). Another reason that this can be caused is if the UserControl or base class form is in another DLL and its version has changed between builds. (To work around this, you can set the AssemblyVersion in the AssemblyInfo.Cs file of the DLL.