Sunday, August 2, 2009

How do I make an independent program using Visual 2005?

I am using Windows Visual Studios 2005, programming in C#. I am trying to make a program, that when finished, will not be dependent on Studios to run. I've a;ready added the installer, but it shows a Studios dependancy.

How do I make an independent program using Visual 2005?
Are you trying to run a C# program without dotnet dependency? I'm sorry to say this, but you can't do that.





Visual Studios 2005 runs on Dot Net 2.0. C# is one of Microsoft's prized languages, you will probably have little luck trying to execute C# without dot net dependency. Everything compiled in C# under VS2005 will require dotnet dependency. Perhaps there's a compiler out there that uses C# as a language, and compiles without dotnet dependency, but VS2005 going to work.





sorry bro., try c++ with codewarrior compiler.


good luck.
Reply:First off, make sure you're building in "Release" and not "Debug" mode (look at the properties of your project). Debug may depend on Visual Studio; release will not.





Second, you may be confusing Visual Studio .NET with the .NET platform. Visual Studio should never be a requirement; .NET will always be, because of how C# is compiled. There is, however, an alternative, non-Microsoft version of .NET called Mono. You can google to find that.


No comments:

Post a Comment