Solved

Visual Studio 2005 - Setup Project

Posted on 2009-04-02
3
610 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 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