How to use different files in a project for different build configurations - Visual Studio C# .net

后端 未结 4 1703
無奈伤痛
無奈伤痛 2020-12-29 13:24

I have a c# .net winforms solution and I want to create two different builds: one that supports IE6 and one that supports IE7. A few of the files in one of my projects are d

4条回答
  •  醉话见心
    2020-12-29 14:02

    I'm not sure how to do what you're asking, but couldn't you just include both versions of your API wrapper in the dll and determine which one to call at runtime? For example, what if a user installs the IE6 version of your app then upgrades to IE7? They'll need to reinstall, right?

    It seems to me like this would be a much simpler solution, but maybe I'm missing something...

提交回复
热议问题