Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Limitations of a No-Install C# Application?

I'm using SharpDevelop to create a WinForm-based C# application. After studying my target audience, I believe it is in my best interest to use a no-install application. While creating my HelloWorld! program to get to know SharpDevelop (I have just switched from VBExpress), I found that the file it outputs is a .exe without any setup process. However, I'm worried that some of the features I want won't be compatible with this format. I don't want to get deep into this app and find out users are going to have to keep the program in the same directory as 548 other random files.

Here are the features I'm concerned about:

+Save user data (XML) in AppData.
+Access internet feeds (XML and/or JSON).
+Minimize to tray on close.

Also, are there any common pitfalls with this type of deployment method?

EDIT: I understand the enduser will need the .NET framwork for C# programs. I am not worried about this.

like image 818
Matt Avatar asked Sep 14 '11 01:09

Matt


People also ask

Can you run C code without compiling?

C is a mid-level language and it needs a compiler to convert it into an executable code so that the program can be run on our machine.

Is C free to download?

C-Free is a free IDE software for PC developed by Program Arts Software. It is a fast and lightweight Integrated Development...

Can I run C program in Eclipse?

Eclipse is popular for Java project development. It also supports C/C++, PHP, Python, Perl, and other web project developments via extensible plug-ins. Eclipse is cross-platform and runs under Windows, Linux and Mac OS.

Can I code C on Visual Studio?

The Microsoft C/C++ for Visual Studio Code extension supports IntelliSense, debugging, code formatting, auto-completion. Visual Studio for Mac doesn't support Microsoft C++, but does support . NET languages and cross-platform development.


1 Answers

It will execute with the same privileges.

The only thing you will want to look out for is making sure the end user has the correct .NET framework installed since you don't have an installer to do that for you. But now reading the end of your message it appears you already have that covered.

If you are concerned about the deployment technique you can test it on a non-dev machine, though the results should be the exact same.

like image 198
Anthony Sottile Avatar answered Oct 11 '22 10:10

Anthony Sottile