tags:

views:

425

answers:

3

I have a console application, I want to include an ico file as an embedded resource in the exe, then have it as the programs icon in windows explorer, how is this done?

+2  A: 

Hello JL,

If you right click on your actual project that you want to change the final icon and select properties at the pop-up menu, then the main screen will change to the properties file edit, in the screen that appeared, at the botton you will see that you can select the icon to use in the application, select it and when you compile your project, at the release type you will see that the application have the icon that you selected.

Regards.

Nathan Campos
+1  A: 

In the project settings page for your Console Application, go to the Application Page.

Under "Icon and Manifest", click on the [...] button next to where it says (Default Icon), and pick your Icon. Rebuild your app.

This will give your console application a custom icon.

Reed Copsey
+1  A: 

The icon displayed in windows explorer for any .net application is the assembly icon which can be set in the project settings in visual studio.

m_arnell