Set a different ApplicationIcon for each build configuration
问题 I'm trying to set a different Icon for each build configuration of my C# project (using VS 2010 pro). One config is for a different customer, thus that config should use a different icon. I'm not sure why this doesn't work in the csproj file: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> ...blah... <ApplicationIcon>Images\RegularIcon.ico</ApplicationIcon> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-Customer|AnyCPU'