Deploying/Development without Visual Studio


J

Jonathan

I hope only those who have deployed their apps without visual studio
to repsond. I have developed a simple apps using #develop and
everything runs well until calling methods from
System.Data.SqlServerCe.dll (eg SqlCeReplication()) and I get
MissingMethodException. Can someone please guide me thru the steps for
my application to work? I've gotten the dll from platform builder 4.2,
installed CF 1.0 SP2, my app did start up but juz can't do database
processing. Thanks!
 
Ad

Advertisements

Z

Zanna

Jonathan ha scritto:
I hope only those who have deployed their apps without visual studio
to repsond. I have developed a simple apps using #develop and
everything runs well until calling methods from
System.Data.SqlServerCe.dll (eg SqlCeReplication()) and I get
MissingMethodException. Can someone please guide me thru the steps for
my application to work? I've gotten the dll from platform builder 4.2,
installed CF 1.0 SP2, my app did start up but juz can't do database
processing. Thanks!

#D is not designed to compile for CF.
Are you sure you are targetting the right framework? (not the complete one)

Bye
 
T

Tom

The SqlCE runtime is not included in your cab file. It has to be installed
separately with the cab's provided in the CF folder. I think I saw documents
on the internet describing how to incorporate everyting in one cab, you
might wanna check there.
 
J

Jonathan Lee

Yup I am aware that #D was not developed for CF. However, an IDE is an
IDE (I suppose) so long the right libraries are referenced. I've gotten
off this site http://dotnetdn.com/without-visual-studio/ however, the
files differ from the SP2 and I can't really find the exact same files
to rename. Also, under Platform Builder there is a set of exact same
files. So should I use those under Platform Builder 4.2 or use the ones
from the CF Framework cab files? Cheers!
 
Ad

Advertisements

Z

Zanna

Jonathan Lee ha scritto:
Yup I am aware that #D was not developed for CF. However, an IDE is an
IDE (I suppose) so long the right libraries are referenced. I've gotten
off this site http://dotnetdn.com/without-visual-studio/ however, the
files differ from the SP2 and I can't really find the exact same files
to rename. Also, under Platform Builder there is a set of exact same
files. So should I use those under Platform Builder 4.2 or use the ones
from the CF Framework cab files? Cheers!

I don't know PB, but I think you can use the same files (note that if
you need to test in emulator you need the X86 version of the dll).

To rename .cab CF dll you can load thi files into Reflector and it will
show you the right name.

Note also that you need to say to the compiler that you are using
another framework (i.e. for vbc.exe you need to add /netcf and /sdkpath
options, for csc the /nostdlib)

bye
 

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