C# - Uygulamaya ICON ekleme ( .ico ) { 10.1 } (1 Viewer)

Joined
Aug 5, 2018
Credits
0
Rating - 0%
Yapacağımız uygulamaların Windows default .exe iconu olmasını istemeyiz, kolay bir şekilde Visual Studio üzerinde Console uygulamamızın icon'unu değiştirelim.

Belirleyeceğimiz fotoğrafımızı .ico uzantısına çevirmemiz gerek bunun için bir sürü siteler mevcut örnek olarak;
http://icoconvert.com/

.ico uzantılı simgemiz hazırsa uygulamamızı Visual Studio'da açalım açtıktan sonra Çözüm Gezginimize ( Solution Explorer ) bakalım.
( Eğer kapalıysa CTRL+ALT+L ile açabilirsiniz )

Orada bulunan Properties seçeneğine iki kere tıklatalım. Ardından karşımıza böyle bir Page açılacak.
2.jpg

Gördüğünüz gibi orta alt tarafta simge seçeneği var, "Gözat" seçeneği ile .ico uzantılı ikonumuzu seçiyoruz ardından bir kere bu bölümden uygulamamızı debug seçeneği ile çalıştırıyoruz.
3.jpg

( F5 )

Bu kadar işlemler, değiştini fark edeceksiniz zaten.
 
Joined
May 26, 2023
Credits
200
Rating - 0%
These steps should be followed in order to modify the icon for your Console application in Visual Studio.
- To begin, convert the desired image to the .ico format. Websites can be utilized for this.
- Once the icon file is prepared, launch your application in Visual Studio and go to the Solution Explorer. Using the keyboard shortcut CTRL+ALT+L, you can display it if it isn't already.
- In the Solution Explorer, click twice on the Properties menu item. A page with various settings will be opened as a result.
- Find the icon option at the page's bottom, in the center. To choose your Dotico icon file, select "Browse" from the menu.
- To see the changes take effect, run your application in debug mode after selecting the icon.
You can quickly alter the icon for your Console application by following these instructions. It's important to think about cross-platform software development in addition to changing the icon of your Console application. By using a cross-platform development strategy, you can develop applications that can run on different operating systems, including Windows, macOS, and Linux, without having to make significant code changes. You can read here for more information if you require it: https://andersenlab.com/services/cross-platform-development
 
Joined
Dec 4, 2023
Credits
0
Rating - 0%
Changing the icon for a Console application in Visual Studio is important for improving project distinction and professionalism. The customized icon acts as a visual identifier, particularly in environments with multiple projects, enabling efficient navigation and project recognition. While console applications primarily interact via the command line, the custom icon adds a polished touch that reflects attention to detail and a dedication to providing a positive user experience. This is very helpful for software development services companies as it provides a complete and integrated development environment that supports a wide variety of programming languages and development tasks. Thank you for sharing this, very informative!
 

Users who are viewing this thread

Top