C# console application icon -


Does anyone have to set the icon of the C # console application in the code (not using project properties in Visual Studio) ?

You can not specify executable icons in the code - it is only part of a binary file.

From the command line you can / win32icon: & lt; File & gt; , if this is any help, but you can not specify it within the code of the app Do not forget that the app icon is not running at all, for longer time displaying the icon !

It seems that you mean the icon for the file in Explorer. If you mean the app's icon running if you double-click on the file, then I believe that there will always be an icon for the console.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -