Groups | Blog | Home
all groups > dotnet faqs > november 2003 >

dotnet faqs : .NET IDE 2002 and 2003 resources compatibiliy


Jay B. Harlow [MVP - Outlook]
11/27/2003 8:33:46 AM
Alec,
There is a utility at Code Project that will convert a VS.NET 2003 solution
back to VS.NET 2002.

http://www.codeproject.com/macro/vsconvert.asp

It includes converting resources.

Hope this helps
Jay

[quoted text, click to view]

Alec Solter
11/27/2003 10:59:51 AM
Using .NET IDE 2003 I created a simple form that includes a button with
image. When trying to run this project on old .NET IDE 2002 it is throws the
following exception:

System.InvalidCastException: Specified cast is not valid.

It's happens on the following line in standard InitializeConmponent
function:

this.button1.Image =
((System.Drawing.Image)(resources.GetObject("button1.Image")));


Is it possible to work with resource containing C# files in cross
platform way (2002 and 2003 IDEs) ? Is there are any conversion utilities
for porting of these files?


Thanks in advance,
Alec Solter

AddThis Social Bookmark Button