I'm just sayin'

Problems Upgrading from .NET Framework 3.5 Beta 2

I've heard of reports of problems upgrading the C# command-line compiler from the Beta 2 version to the final release, and indeed there is a slight problem. The problem rests with the version number of the compiler's resource DLL.

If you've upgraded from Beta 2 of Visual Studio 2008 to the final release version or if you had previously installed the Beta 2 version of the 3.5 .NET framework and upgraded, your resources may not have been upgraded. Run csc.exe from the 3.5 directory and check the reported version.

C:\WINDOWS\Microsoft.NET\Framework\v3.5>csc
Microsoft (R) Visual C# 2008 Compiler Beta 2 version 3.5.30206
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

If you're seeing the red text, your resources were not upgraded correctly, and you may be getting incorrect error messages or worse ones than that of the released product. The reason for this failure to upgrade is that the resource DLL, cscompui.dll, which resides in a subdirectory of "v3.5" such as "1033," has a larger version number than that of the final released product, and setup did not upgrade it.

To get the correct resources, manually rename cscompui.dll to something else and then re-run either VS 2008 or the .NET Framework install, repairing the installation. Afterwards confirm that you have a new cscompui.dll.

Published Friday, March 14, 2008 11:07 PM by Ed Maurer

Comments

 

MSDN Blog Postings » Problems Upgrading from .NET Framework 3.5 Beta 2 said:

March 14, 2008 8:55 PM
 

Charlie Calvert's Community Blog said:

LINQ in Portuguese ( Direct ) http://www.linqpad.net Eric Lippert Why Can't I Access A Protected Member

March 30, 2008 8:45 PM
 

Charlie Calvert's Community Blog said:

Welcome to the forty-second issue of Community Convergence. The last few weeks have been a busy time

March 31, 2008 12:56 AM
 

Fduch said:

Then what about moving the functionality to the new .Convert<T>() method?

There is a bug in .Net 3.5 that causes exception when trying to do this:

Dim s = "1 2 3 4".Split(" "c).Cast<Integer>,Sum

But now you're getting rid if it entirely...

May 12, 2008 4:26 PM
Anonymous comments are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker