Search This Blog

Saturday, January 20, 2018

Exe icon is missing in custom Build Configurations after Visual Studio build

If you add custom build configurations to your solution, make sure you manually add, for all of them, the ApplicationIcon element with the proper .ico file in the .csproj file of the main project.

  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Development|x86'">
    <ApplicationIcon>MyIcon.ico</ApplicationIcon>
  </PropertyGroup>

No comments:

Post a Comment