Jump to content
  • Advertisement
Sign in to follow this  
mick8569

export .exe from VC#??

This topic is 4107 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

First off, this is my first post so hi everyone :). I apologise for the stupid question, i have tried searching, and like many things i have run into trying to learn programming, i dont understand how this could possibly be difficult. I have written a very simple program in C# with visual c# 2005 express edition and i want to put it into a single file that i can give to friends and they can run it on their computer (PC and MAC). I would assume that would be a .exe file. All i can find is 'publish' which installs stuff on the computer and comes with three files. any help would be much appreciated, Thanks, Mick.

Share this post


Link to post
Share on other sites
Advertisement
Build the Solution. Build -> Build Solution
The executables will be created in a bin sub folder of your project folder.
You have now compiled you code into an EXE file.

Your friends will need the .NET framework installed to run your EXE file.

Good luck.

Share this post


Link to post
Share on other sites
Thanks for the reply. It is my understanding that anyone with windows xp/vista will have the.net framework (though probably not the most current), so that would work on their computer? but not on a mac?

Im actually trying to give it to a friend on a mac at the moment, how would i do that?

thanks again,
Mick.

Share this post


Link to post
Share on other sites
Quote:
Original post by mick8569
Thanks for the reply. It is my understanding that anyone with windows xp/vista will have the.net framework (though probably not the most current), so that would work on their computer? but not on a mac?

Im actually trying to give it to a friend on a mac at the moment, how would i do that?

thanks again,
Mick.


No, not everyone with Windows XP has the .NET framework.
My guess is that it's included in the latest updates,
But even that could be wrong.

For Vista, yes it comes equipped with .NET framework.

For compatibility with Macs, check out http://www.mono-project.com/Mono:OSX

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!