You are here

Getting Started with Development

7 posts / 0 new
Last post
bwalker2006
Offline
Last seen: 16 years 9 months ago
Joined: 2008-02-27 19:14
Getting Started with Development

Hey Guys and Gals

I'm looking to write a portable app in C# with .NET Framework 3.0. Does anyone have experience deploying a C# .NET App on to a USB drive and did the app have any issues running with the .NET framework from the USB?

Thanks
Bunis

Jacob Mastel
Offline
Last seen: 1 week 2 days ago
Developer
Joined: 2007-06-13 19:36
A slight problem

C# as I'm sure you know need the .net library installed on the host computer. This isn't a very common thing to see on most computers. It will work provided that the .net is installed but if not it won't work and I doubt people will appritate you installing on their computer.

Release Team Member

digitxp
digitxp's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2007-11-03 18:33
Okay, Something very wrong.

Unfortunately, C# and the .NET Framework are impossible (otherwise very hard) to portableize. Simply because not all computers have that exact same version of .NET, and not all PC's will be able to run it Sad . Try some other language, please. There is a portable version of .NET (with viruses). Anyway, when writing a portable program, just make sure everything stays in it's own folder or a specified folder. Nothing in the registry. Smile And welcome to PortableApps Smile Smile

Insert original signature here with Greasemonkey Script.

rab040ma
Offline
Last seen: 5 months 5 days ago
Joined: 2007-08-27 13:35
Well, it's not quite as dire

Well, it's not quite as dire as the previous comments imply. .Net can actually be fairly frugal with registry usage, keeping a lot of settings in ini files and such. I think it will let you define those things fairly readily, to keep settings and files off the host PC. Feel free to experiment.

The problems cited are quite real, though. The resulting program is likely to present issues for distributing it from an Open Source site, and there really are lots of machines where the right .Net runtime is not present.

But that probably won't stop you from learning a lot, or having a program you can run portably for your own purposes on machines you control (so you can make sure the right runtime is installed).

On the other hand, there are other programming languages...

MC

bwalker2006
Offline
Last seen: 16 years 9 months ago
Joined: 2008-02-27 19:14
Thanks

thanks for the help!!!!! I'll use C++.

Bunis Walker

digitxp
digitxp's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2007-11-03 18:33
Good one.

C++ is a very portable language :). Maybe you want to check out sourceforge for Dev C++ Portable Smile Smile

Insert original signature here with Greasemonkey Script.

m2
Offline
Last seen: 13 years 9 months ago
Joined: 2006-12-12 12:00
I'd rather recommend

I'd rather recommend Code::Blocks. It's way more powerful.

"Those people who think they know everything are a great annoyance to those of us who do." Asimov

Log in or register to post comments