Solved

Visual Studio 2005 - Setup Project

Posted on 2009-04-02
3
606 Views
Last Modified: 2013-11-26
Hello.
I've got a C# project in VS2005. Under that solution, I added a Setup Projecct.  It detects dependencies and .NET is one of them. I actually de-check the option to make a setup for .NET.
To make a long story short and get to the question - my project is just using the regular default references.  But to make those run, does my target machine also have to have .NET 2.0 installed?  My setup from the Setup Project seems to hang on whether .NET is installed or not.  That doesn't seem right to me. Shouldn't an exe be able to run without .NET?  After all, it's just a compiled module without any special DLL references.  
Is there a problem with the way I am setting up the Setup Project?  Suspect that by including the Setup Project in the program's solution, it might be looking at the project dependencies and always give me that .NET prerequisite.  Haven't tested it yet, but should I create a completely separate Setup Project and just include the bin output of the original project?  Is there some kind of guide on how to do this nicely?

Best Regards,
Alan
0
Comment
Question by:adwooley2
  • 2
3 Comments
 
LVL 4

Expert Comment

by:shrikantss
ID: 24056996
0
 

Author Comment

by:adwooley2
ID: 24059344
OK - I have seen this site, but the thing that catches my eye is this:  
"Note: This does not include the .NET framework."

So, back to my question - does my target machine also have to have .NET 2.0 installed?  My setup from the Setup Project seems to hang on whether .NET is installed or not.  That doesn't seem right to me. Shouldn't an exe be able to run without .NET?  After all, it's just a compiled module without any special DLL references.  
0
 
LVL 4

Accepted Solution

by:
shrikantss earned 450 total points
ID: 24065758
hey even you compile your exe without using any dll you already code it using the visual studio .After You  Compile it got converted into msil code which can be understand by CLR which is the .net runtime
so you need to have .net  framework installed on the client machine where you want your code executed since
1.as you are using .net it is separate platform as it included a virtual machine which interact with your operating system on behalf of your application .It parse all the functionalities  given in your code to the operating sytem and then you get the desired result of it...
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What .NET URL re-routing tool did I use? 2 56
C# Single Form 8 42
Visual Studio 2015 Source Code Control 10 53
SQL Exceptions 3 43
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question