Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My professor ask me to create an application and it will be run on a machine without .NET installed.

My application utilizes .NET 4.0 (just basic c# necessites but without the LINQ and complicated references) and he only wants executable file. So how can we run this application on his machine without install .NET (like the setup files and stuff)????

I was thinking of virtualizing via VMware ThinApp, but I find it difficult since it requires the application to be installed, yet my professor only wants the application to be in exe format (so thinapp cannot track the changes in my system).

Any alternative? suggestions?

share|improve this question
    
Could you package your app into an installer and then use ThinApp? –  kobaltz Dec 2 '12 at 3:04
    
ill try that. thank you kobaltz, any alternatives? –  IvanMatala Dec 2 '12 at 3:07
3  
:) Code your application in C++ so you don't need .NET? :) –  kobaltz Dec 2 '12 at 3:07
    
+1 for your smart answer. but gui in C++ is hard and my program uses heaviliy those console.writeline, string functions and stuff. –  IvanMatala Dec 2 '12 at 3:13
1  
@vvavepacket - C++ is just as easy as C#. If its a console application it should be easy. Sounds like you just need to put more effort in on your project. –  Ramhound Dec 2 '12 at 6:30

2 Answers 2

These solutions are not inexpensive, but:

  1. Salamander .NET Linker
  2. Spoon.net Studio
share|improve this answer

There really is no way around this.

Well...not supported anyways. In the background .Net is really just a bunch of assemblies (dlls) - among other complex things. You COULD try to virtualize by bundling with those DLLs. Though, I'm sure this is violating some sort of license and probably won't work anyways.

I think we need to know more information on what this application does before more people scream "C++!!!!". I need this before I can actually recommend anything.

I see some advice about trying it on a system without .Net - I have tried this before and it will complain.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.