You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm glad that in the newest .NET Core version there's a possibility to change an application icon, however it looks like it's limited to publishing in local environment. Is Docker not supported?
What I'm trying to achieve:
Publishing self-contained, single file executable using 'dotnet publish' command and with the icon file I'm specifying in project's csproj using Docker container.
It works using Visual Studio 'Publish' button on local Windows. It doesn't work while using dotnet cli using docker container.
My configuration using Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core:
This is .Net Core 3.1 Console Application with defined icon as below:
Publish command is executed using command: dotnet publish -c Release -o out
On the left side there is executable published on host machine. On the right, docker container.
Not only it lacks icon but also some of the assembly info. Could anyone explain to me why there's such a difference?
The text was updated successfully, but these errors were encountered:
jacekard
changed the title
Publishing single file application with custom icon via dotnet cli
Publishing single file application with custom icon via dotnet cli on Docker
Feb 18, 2020
Hello,
I'm glad that in the newest .NET Core version there's a possibility to change an application icon, however it looks like it's limited to publishing in local environment. Is Docker not supported?
What I'm trying to achieve:
Publishing self-contained, single file executable using 'dotnet publish' command and with the icon file I'm specifying in project's csproj using Docker container.
It works using Visual Studio 'Publish' button on local Windows. It doesn't work while using dotnet cli using docker container.
My configuration using Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core:
This is .Net Core 3.1 Console Application with defined icon as below:
Publish command is executed using command:
dotnet publish -c Release -o out
On the left side there is executable published on host machine. On the right, docker container.
Not only it lacks icon but also some of the assembly info. Could anyone explain to me why there's such a difference?
The text was updated successfully, but these errors were encountered: