Skip to content

Commit

Permalink
Fix running x64 projects using unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
poiru committed Jun 14, 2013
1 parent 531eee0 commit 6332702
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rainmeter.props
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@

<!-- Non-static projects must delayload CppUnitTestFramework.dll to avoid the "module not found"
errors (since CppUnitTestFramework.dll is available only when running tests). -->
<DelayLoadTestDLL Condition="'$(ConfigurationType)'!='StaticLibrary'">Microsoft.VisualStudio.TestTools.CppUnitTestFramework.dll</DelayLoadTestDLL>
<DelayLoadTestDLL>Microsoft.VisualStudio.TestTools.CppUnitTestFramework.dll</DelayLoadTestDLL>
<DelayLoadTestDLL Condition="'$(Platform)'=='x64'">Microsoft.VisualStudio.TestTools.CppUnitTestFramework.x64.dll</DelayLoadTestDLL>
<DelayLoadTestDLL Condition="'$(ConfigurationType)'=='StaticLibrary'"></DelayLoadTestDLL>
<DelayLoadTestDLL Condition="'$(ExcludeTests)'=='true'"></DelayLoadTestDLL>
</PropertyGroup>

Expand Down

0 comments on commit 6332702

Please sign in to comment.