53 lines
3.9 KiB
XML
53 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="..\packages\MSTest.TestAdapter.2.1.0\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.2.1.0\build\net45\MSTest.TestAdapter.props')" />
|
|
<PropertyGroup>
|
|
<ProjectGuid>{408EA5F6-2A53-4472-90DA-CC80D5ACEA13}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>Tests</RootNamespace>
|
|
<AssemblyName>Tests</AssemblyName>
|
|
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
|
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
|
|
<IsCodedUITest>False</IsCodedUITest>
|
|
<TestProjectType>UnitTest</TestProjectType>
|
|
<NuGetPackageImportStamp>
|
|
</NuGetPackageImportStamp>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<RunSettingsFilePath>$(MSBuildProjectDirectory)\Tests.runsettings</RunSettingsFilePath>
|
|
</PropertyGroup>
|
|
<Import Project="..\Solution.project" />
|
|
<ItemGroup>
|
|
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\MSTest.TestFramework.2.1.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\MSTest.TestFramework.2.1.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System" />
|
|
<Reference Include="$(ObjDir)Javalib.dll" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="src\**\*.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="packages.config" />
|
|
</ItemGroup>
|
|
<Target Name="BuildSecondaryDll" AfterTargets="AfterBuild" Inputs="src\BaseTest.cs" Outputs="$(OutputPath)$(AssemblyName)2.dll">
|
|
<Csc Sources="src\BaseTest.cs" OutputAssembly="$(OutputPath)$(AssemblyName)2.dll" References="@(ReferencePath)" DefineConstants="STANDALONE;JAVAONLY" />
|
|
</Target>
|
|
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.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>
|
|
</PropertyGroup>
|
|
<Error Condition="!Exists('..\packages\MSTest.TestAdapter.2.1.0\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.2.1.0\build\net45\MSTest.TestAdapter.props'))" />
|
|
<Error Condition="!Exists('..\packages\MSTest.TestAdapter.2.1.0\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.2.1.0\build\net45\MSTest.TestAdapter.targets'))" />
|
|
</Target>
|
|
<Import Project="..\packages\MSTest.TestAdapter.2.1.0\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.2.1.0\build\net45\MSTest.TestAdapter.targets')" />
|
|
<Target Name="CleanTestResultsInSolutionOutputDirectory" AfterTargets="Clean">
|
|
<RemoveDir Directories="$(ObjDir)TestResults" />
|
|
</Target>
|
|
</Project> |