GoogleTestAdapter icon indicating copy to clipboard operation
GoogleTestAdapter copied to clipboard

Project configurations other than Debug/Release

Open kazuhiro-nishimura opened this issue 2 years ago • 1 comments

I wish it would support project configurations other than Debug and Release with the NuGet package. It would be better if it does not look the configuration name but the project properties to switch the linked libraries.

https://github.com/csoltenborn/GoogleTestAdapter/blob/d619bf84730eb33d13b11db4e07facd45dc18ee0/GoogleTestNuGet/googletest.targets.tt#L18-L27

kazuhiro-nishimura avatar Nov 02 '23 01:11 kazuhiro-nishimura

It could use similar conditions as files installed with VS, couldn't it?

      <RuntimeLibrary Condition="'$(UseDebugLibraries)' != 'true'">MultiThreadedDll</RuntimeLibrary>
      <RuntimeLibrary Condition="'$(UseDebugLibraries)' == 'true'">MultiThreadedDebugDll</RuntimeLibrary>

kazuhiro-nishimura avatar Nov 20 '23 10:11 kazuhiro-nishimura