Peter's Gekko

Sponsors

The Lounge

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
the PATH to Whidbey

Hello ! hooray ! I have VS.Whidbey and VS.2003 running side by side.

Actually installing Whidbey was a snap. Quick, to VS.net standards and no reboot required. The .net framework presents itself as version 1.2 of the framework. It was announced as version 2.0 of the framework, so it makes very good sense to publish the first betalpha as 1.2. So we can have side by side execution of the subsequent beta versions 1.3, 1.4 and so on. I guess the final release will bear the 2.0 label. After installing Whidbey I had to run the 1.1 version of aspnet_regiis to make clear that the existing apps have to keep running under 1.1. A full story on that is found here on the asp.net site.

After installing WhidBey it would not run any webapps. All of them led to a compilation error : Compiler Error Message: CS1668: Invalid search path 'C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\' -- 'The system cannot find the path specified. '. This was pretty weird as Whidbey is refering to a no longer existing directory which was part of Vs.net 2002. It took me some time to find out why on earth Whideby was trying to look there. Finally I found in the registry un HKEY_Current_User an environment and an include value which looked like this

C:\Program Files\Microsoft Visual Studio .NET Whidbey\SDK\v1.2\Lib\;
d:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\;
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\

C:\Program Files\Microsoft Visual Studio .NET Whidbey\SDK\v1.2\include\;
d:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\;
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\

That is the history of Vs.net on my machine. Uninstalling 2002 had not cleaned up its settings. 2003 apparantly didn't care about this but Whidbey tripped over it. After deleting the 2002 pieces, also from the control sets, and rebooting I had Whidbey and 2003 running side by side in perfect harmony. And my localhost is serving 1.1 and 1.2 pages at the same time.

Let the show begin !


Posted 11-04-2003 1:35 PM by pvanooijen

[Advertisement]

Comments

Pontus wrote re: the PATH to Whidbey
on 02-14-2004 11:26 AM
Thank you so much for this information! I was pulling my hair out...
David Smith wrote re: the PATH to Whidbey
on 03-18-2004 2:50 AM
When you say "After deleting the 2002 pieces, also from the control sets", what do you mean by "control sets"?
Peter van Ooijen wrote re: the PATH to Whidbey
on 03-18-2004 2:56 AM
Ah.. The control sets in the registry. You''l see them when regedit-ing
David Smith wrote re: the PATH to Whidbey
on 04-02-2004 12:58 AM
What is the trick to get the apps which are still running under the 1.1 framework to use the help installed for that version of VS rather than getting prompted for the Whidbey CD?
Lloyd Burley wrote re: the PATH to Whidbey
on 05-23-2004 4:47 PM
I'm currently regedit-ing but have no idea what the controls sets are can you please explain?
Peter van Ooijen wrote re: the PATH to Whidbey
on 05-26-2004 3:47 AM
In regedit you will see several control sets in the root of the tree. You will find the keys mentioned in several of these root nodes.
Yair Leviel wrote re: the PATH to Whidbey
on 07-06-2004 10:53 AM
Thank you so much for this tip. I was actually using Visual C# Express with VS 2002 and VS 2003 side by side. The only error I encountered was the same as the one mentioned above except for the path: C:\Program Files\SQLXML 2.0\bin

I'll report it to MS, but thanks for the tip!
Peter van Ooijen wrote re: the PATH to Whidbey
on 07-06-2004 1:42 PM
At the tome I did report the error to MS, apparantly the bug is still open.
David Beardsley wrote re: the PATH to Whidbey
on 12-08-2004 5:29 PM
THANK YOU! Hit the same problem and this came at the top of my Google search. You've saved me some time and frustration.
Jörg Eibl wrote re: the PATH to Whidbey
on 04-04-2006 8:56 PM
You are my hero!

Deinstalled 2003
Installed 2005

2005 is now actually running, after 3 corrupted projects.

Thanks.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?