Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / January 2006

Tip: Looking for answers? Try searching our database.

can't compile resx in vs2003 after vs2005 conversion

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mobigital-ggrp@yahoo.com - 09 Jan 2006 15:41 GMT
Hi All,

I have a .NET CF project which I converted to CF2.0 with vs2005 final.

After converting the project I am not able to compile resources in the
project with VS2003.

I get errors like the one below:
"Type System.Drawing.Point cannot be compiled into the .resources file.
This type is not supported for .NET Compact Frameworks."

My other resx files have this error with System.Drawing.Size and others
with System.Drawing Bitmap.

VS2003 and VS2005 are using different project files - I restored the
old vs2003 project files .csdproj and .csdproj.user after VS2005
conversion.

I thought that VS2005 might have touched the resx files, not making
then compatible with VS2003, so I restored old forms with resx files
into a separate directory and repointed the VS2003 project to them. It
still would not compile.

Could the reason be that I have both versions of Visual Studio side by
side.

The references in VS2003 csdproj only have this directory:
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\Designer

What's the best way to resolve this problem? Any help is be
appreciated.

mobigital
Chris Scott - 09 Jan 2006 19:39 GMT
As far as I know you can't.  VS 2005 and VS 2003 resx files are different.
I know you can use both compilers at the same time on a single PC because
that's how mine is set up, and it works fine as long as I use different
projects and source code for each version.

> Hi All,
>
> I have a .NET CF project which I converted to CF2.0 with vs2005 final.
>
> After converting the project I am not able to compile resources in the
> project with VS2003.
.
.
.
mobigital-ggrp@yahoo.com - 09 Jan 2006 20:07 GMT
thanks for the response!

I actually had already separated out affected files (cs and resx) for
both 2003 and 2005 versions - placed them in separate directories, plus
restored older backup versions that were fine with VS2003 and it still
had the same problem.

Could it be that .net cf configuration was affected by installing
VS2005 (Final Pro version)?

Or is there some rule that projects cannot be in the same directory? -
if there is some other common file, like an intermediate resource
compilation file?
Chris Scott - 10 Jan 2006 20:03 GMT
I keep mine in separate directories and it works.  I have not tried placing
them into the same directory, though I can see how it might cause issues
during compilation.

> Or is there some rule that projects cannot be in the same directory? -
> if there is some other common file, like an intermediate resource
> compilation file?
mobigital-ggrp@yahoo.com - 10 Jan 2006 21:24 GMT
turns VS2003 and 2005 were still sharing one resx file- (but not
reporting any errors on it)
once I separated them, the problem went away.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.