?
Solved

Visual Studio 2005 - Setup Project

Posted on 2009-04-02
3
Medium Priority
?
613 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 1350 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

777 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