Solved

Visual Studio 2005 - Setup Project

Posted on 2009-04-02
3
604 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
Comment Utility
0
 

Author Comment

by:adwooley2
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
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 …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now