Changing console app icon (visual studio code)

Arnold Zahrneinder

Long story made short, how can I change the icon for a console app in VS Code (.Net 5)? Does it have to be done in the .csproj file? Or is there a command or wizard to do this?

Matteo Mathieu

You could use:

<PropertyGroup>
<ApplicationIcon Condition=" '$(Platform)' == 'x86' ">x86.ico</ApplicationIcon>
<ApplicationIcon Condition=" '$(Platform)' == 'x64' ">x64.ico</ApplicationIcon>
</PropertyGroup>

Edit: Although, when you compile your application, you have the option to choose an icon for it.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Can't change the icon of a console app in Visual Studio Community Edition

Visual Studio 2017 - Specify an App Icon

umake - no visual studio code launcher icon

Extend icon theme with extension Visual Studio Code

Visual Studio Code - file icon color

How to Kill a script in Visual Studio Console App

Visual Studio Add Console App as Reference

Visual Studio Code Java JUnit Not Outputting to Console

PyCharm-like console in Visual Code Studio

Visual Studio Code Debug Console colors?

Visual Studio Code for C# Console Application

Visual Studio Code replaces console.log()

How to use the console code in the .NET in visual studio

How to convert RingCentral SMS console app to a Forms app in Visual Studio?

Use modern link select cursor icon in visual studio 2019 app

Change icon color in title bar & status bar in Visual Studio Code

Is there a way to fix missing icon for Visual Studio Code on Wayland?

How to set a dynamic color for a TreeItem icon in Visual Studio Code?

Changing the cursor appearance in Visual Studio Code via extension API

Changing the color of django specific tag braces in visual studio code

Why does Visual Studio Code keep changing the working directory?

App icon is not changing in Xamarin forms

Generating .NET Core Console App .exe in Visual Studio 2017

Resize Terminal Console App with C# in Visual Studio (MacOSX)

Why is there no .NET Core options displayed in the console app for Visual Studio for Mac?

How to write unicode to Visual Studio output tab for debugging (NOT console app)?

Debug .Net Core Console App out of Visual Studio 2017

.net core in visual studio works with console app but not with wpf or winforms

Visual Studio C# Console App (.NET Core) Template Different