Friday, November 2, 2007

Optimizing VS2005 speed

I found 2 interesting blog posts about optimizing the speed of VS2005 both at startup and during regular usage:

.NET Tip of The Day: Optimize the launch of the Visual Studio 2005

.NET Tip of The Day: Speed up Visual Studio 2005

Tuesday, October 30, 2007

AfterBuild target doesn't work when building a VB.net solution

It seems that the AfterBuild target is not being called when building a VB.net solution using MSBuild. It should be substituted for the AfterCompile target.
Is that right?

Changing a file's attribute from a MSBuild script

This is a pretty simple one but it took me a little time figuring it out as I don't have prior MSBuild experience. Basically, you just need to use the Exec with the command attribute

<Exec Command="attrib -R $(SolutionRoot)\myFile.ext" />

This will remove the read-ony attribute from the myFile.ext file in the solution folder.