summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-05-11 12:49:28 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-05-11 12:49:28 -0400
commit7b92d379793275905277cea7d0dec7de806e967b (patch)
tree00d71abdda5b4e594ca6067f567462abf6aa3ba3
parent69850cb1143110877ad0eea206a6537fe42c9063 (diff)
downloadSMAPI-7b92d379793275905277cea7d0dec7de806e967b.tar.gz
SMAPI-7b92d379793275905277cea7d0dec7de806e967b.tar.bz2
SMAPI-7b92d379793275905277cea7d0dec7de806e967b.zip
fix unit test project
-rw-r--r--build/common.targets2
-rw-r--r--src/SMAPI.Tests/StardewModdingAPI.Tests.csproj5
2 files changed, 3 insertions, 4 deletions
diff --git a/build/common.targets b/build/common.targets
index 44c2c071..fbb8c26c 100644
--- a/build/common.targets
+++ b/build/common.targets
@@ -30,7 +30,7 @@
<!-- add game references-->
<Choose>
- <When Condition="'$(MSBuildProjectName)' == 'StardewModdingAPI' OR '$(MSBuildProjectName)' == 'StardewModdingAPI.Mods.ConsoleCommands'">
+ <When Condition="'$(MSBuildProjectName)' == 'StardewModdingAPI' OR '$(MSBuildProjectName)' == 'StardewModdingAPI.Mods.ConsoleCommands' OR '$(MSBuildProjectName)' == 'StardewModdingAPI.Tests'">
<Choose>
<When Condition="$(OS) == 'Windows_NT'">
<ItemGroup>
diff --git a/src/SMAPI.Tests/StardewModdingAPI.Tests.csproj b/src/SMAPI.Tests/StardewModdingAPI.Tests.csproj
index 001b006c..f4d7b3e3 100644
--- a/src/SMAPI.Tests/StardewModdingAPI.Tests.csproj
+++ b/src/SMAPI.Tests/StardewModdingAPI.Tests.csproj
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\NUnit.3.10.1\build\NUnit.props" Condition="Exists('..\packages\NUnit.3.10.1\build\NUnit.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
@@ -78,8 +78,7 @@
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <Import Project="..\..\build\constants.targets" />
- <Import Project="..\..\build\build.targets" />
+ <Import Project="..\..\build\common.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>