diff options
author | Mikhail Filippov <Mikhail.Filippov@jetbrains.com> | 2018-01-22 17:57:26 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2018-01-23 16:40:00 +0300 |
commit | 2f6005cc213e7a95974a2f19b776715c1283f75d (patch) | |
tree | 3964a4cdb7f36d823bfe660a8f539c0ae62435b7 /msvc | |
parent | 49d2d5ae51fe5a34e589f6db8191314638c8ac0c (diff) |
Fix NUnit reference generation
Diffstat (limited to 'msvc')
-rw-r--r-- | msvc/scripts/genproj.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/msvc/scripts/genproj.cs b/msvc/scripts/genproj.cs index 1e6b41108a7..e139f222fc8 100644 --- a/msvc/scripts/genproj.cs +++ b/msvc/scripts/genproj.cs @@ -774,7 +774,11 @@ class MsbuildGenerator { var refs = new StringBuilder (); if (response.Contains ("_test")) { - refs.Append ($@" <Reference Include=""..\lib\{profile}\nunitlite.dll"" />{NewLine}"); + refs.Append ($@" <Reference Include=""nunitlite"">{NewLine}"); + refs.Append ($@" <HintPath>..\lib\{profile}\nunitlite.dll</HintPath>{NewLine}"); + refs.Append ($@" <Private>False</Private>{NewLine}"); + refs.Append ($@" </Reference>{NewLine}"); + } // |