Visual studio to override file on selected build configuration
问题 at the moment my project has a license file. No extension attached to the file. The file itself only contains a key. I have 3 build configuration Dev Stage Prod At the moment I have 4 license file. GLicense GLicense_dev GLicense_stage GLicense_prod I tried to use #c preprocessor directive but the third party dll requires me to have the license name exactly as GLicense . The next approach I was thinking of taking was overriding the content of GLicense when building. I was wondering how abouts