CF1.0 to CF2.0 problem after conversion

E

Ed Debrot

I am trying to convert an existing VS2003 .Net CF - C# app into VS2005 and
get the following error. I have verified that the file exists and is
referenced but I still get this error. I have a feeling this has to do with
the VS2005 beta2 screwing up my system (I'm now running the VS2005 release).
Any ideas would be greatly appreciated.

thanks.


Error 1 Metadata file 'c:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\Microsoft.WindowsCE.F
orms.dll' could not be opened -- 'Version 2.0 is not a compatible version.'
C:\ADD_Sys\hhdel\Projects\DotNet\RavenWinCE.root\RavenWinCE\Raven\CSC Raven
 
G

Ginny Caughey [MVP]

Ed,

You may be right. Did you use vs_uninst.exe to get rid of beta 2 before
installing RTM? I had to run that utility 2 or 3 times to completely clean
my machine before installing VS 2005 RTM.
 
E

Ed Debrot

Thanks, no I did not run vs_uninst (at least not knowing about it).

I was able to successfully convert the project on a PC that never had
beta 2 installed. So, I guess that verifies my suspicion about beta 2. I
was still not able to build the project on my pc though. The last thing
I did seemed to fix things. I noticed that all my references were fro
the 2.0 project. I changed them all to the 1.0 dll's and the project
compiles ok. I'm considering re-creating the project files as a new
project under 2.0 so that I can use that as my target instead. A little
more work than I'd like to try, but it might be worthwhile.
 
G

Ginny Caughey [MVP]

Ed,

Good to hear you've got it working. If you ever do need that uninstall
utility, there's a link to it in the Readme for the RTM installation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top