Fixing erroneous GUID creation in Visual Studio 2010
After I got my new laptop, I installed among other things Visual Studio 2010. However, when I wanted to create a new GUID through Tools -> Create GUID, I got the error "Encountered an improper argument." from guidgen.exe :
After confirming this dialog, the guidgen.exe window opened, but clicking on copy or New GUID resulted in the same error message:
As I found out, VS2010 calls the guidgen.exe inside the NETFX 4.0 Tools folder (inside the bin folder of the Windows SDK). Inside the bin folder, there is another guidgen.exe. Comparing these two, I saw that the one in the %PROGRAM FILES%\Microsoft SDKs\Windows\v7.0A\bin folder (left) is an older version for Visual Studio 2008, the other one %PROGRAM FILES%\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools (right) is for Visual Studio 2010:
I updated the command in Visual Studio to use the older version, and this did the trick, I was able to create GUIDs again.
If you get the same error, in order to correct it, go to Tools->External Tools, and select Create GUID. Select the NETFX 4.0 Tools in both the command field ("Befehl") and the initial directory field ("Ausgangsverzeichnis") (my VS is German, thus the different looking dialog) and remove it:
You should have something like this:
Running Create GUID again should give you the properly working window:
Ich gebs ja zu, ich bin suechtig nach guten, guenstigen Buechern ;)
Heute war ich (mal wieder) im Carrefour, um mir noch was zu trinken zu holen. Natuerlich musste ich wieder zu den Buecherstapeln, und siehe da, ich habe wieder neue entdeckt. Ein paar "grosse" neue Buecher (JSP2, Bitter EJB) waren dabei, aber auch viele O'Reilly Pocket Guides. Die meisten waren zwar uninteressant, aber den Extreme Programming Pocket Guide habe ich mir dann doch gegoennt.
Eigentlich dachte ich, dass die Aktion gestern oder so enden sollte, aber anscheinend belassen sie's doch erstmal dabei und frischen die Bestaende auf. Das koennte auch erklaeren, warum mir die vorherigen Buecher bisher nicht aufgefallen sind.
Ok, I confess it, I'm addicted to good, cheap books ;)
Today, I was (again) at Carrefour to buy something to drink. Of course, I had to go the book stacks and, surprisingly, found some new books. There were some "big" books (JSP2, Bitter Java), but also a lot of O'Reilly Pocket Guides. Most of them were uninteresting, but I still bought the Extreme Programming Pocket Guide.
Actually, I thought that the promotion should stop like yesterday, but it seems that they keep it running and add new books. This could explain why I didn't see the previous books before.
Billige Bücher
Heute kam dann noch Bitter Java hinzu. Ich kann so günstigen Büchern einfach nicht widerstehen...
Flock Test
PS: Ich hab ne Weile gebraucht um zu merken, dass das bloggen nicht klappte, weil in meinem Username von lifetype ein é drin war...






