Change app icon in Visual Studio 2005?

后端 未结 4 760
情话喂你
情话喂你 2021-02-08 23:40

I\'d like to use a different icon for the demo version of my game, and I\'m building the demo with a different build config than I do for the full verison, using a preprocessor

4条回答
  •  失恋的感觉
    2021-02-09 00:10

    I don't know a way in visual studio, because the application settings are bound to the hole project. But a simple way is to use a PreBuild event and copy the app.demo.ico to app.ico or the app.release.ico to app.ico demanding on the value of the key $(ConfigurationName) and refer to the app.ico in your project directory.

提交回复
热议问题