BepInExTests.csproj 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{E7CD429A-D057-48E3-8C51-E5C934E8E07B}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>BepInExTests</RootNamespace>
  11. <AssemblyName>BepInExTests</AssemblyName>
  12. <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
  15. <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
  16. <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
  17. <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
  18. <IsCodedUITest>False</IsCodedUITest>
  19. <TestProjectType>UnitTest</TestProjectType>
  20. <NuGetPackageImportStamp>
  21. </NuGetPackageImportStamp>
  22. <TargetFrameworkProfile />
  23. <FileUpgradeFlags>
  24. </FileUpgradeFlags>
  25. <UpgradeBackupLocation>
  26. </UpgradeBackupLocation>
  27. <OldToolsVersion>15.0</OldToolsVersion>
  28. </PropertyGroup>
  29. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
  30. <DebugSymbols>true</DebugSymbols>
  31. <OutputPath>bin\x86\Debug\</OutputPath>
  32. <DefineConstants>DEBUG;TRACE</DefineConstants>
  33. <DebugType>full</DebugType>
  34. <PlatformTarget>x86</PlatformTarget>
  35. <ErrorReport>prompt</ErrorReport>
  36. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  37. </PropertyGroup>
  38. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
  39. <OutputPath>bin\x86\Release\</OutputPath>
  40. <DefineConstants>TRACE</DefineConstants>
  41. <Optimize>true</Optimize>
  42. <DebugType>pdbonly</DebugType>
  43. <PlatformTarget>x86</PlatformTarget>
  44. <ErrorReport>prompt</ErrorReport>
  45. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  46. </PropertyGroup>
  47. <ItemGroup>
  48. <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  49. <HintPath>..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
  50. </Reference>
  51. <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  52. <HintPath>..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath>
  53. </Reference>
  54. <Reference Include="System" />
  55. <Reference Include="UnityEngine">
  56. <HintPath>..\lib\UnityEngine.dll</HintPath>
  57. </Reference>
  58. </ItemGroup>
  59. <Choose>
  60. <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
  61. <ItemGroup>
  62. <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
  63. </ItemGroup>
  64. </When>
  65. <Otherwise />
  66. </Choose>
  67. <ItemGroup>
  68. <Compile Include="AssemblyInit.cs" />
  69. <Compile Include="Configuration\ConfigFileTests.cs" />
  70. <Compile Include="Properties\AssemblyInfo.cs" />
  71. </ItemGroup>
  72. <ItemGroup>
  73. <None Include="packages.config" />
  74. </ItemGroup>
  75. <ItemGroup>
  76. <ProjectReference Include="..\BepInEx.Unity\BepInEx.Unity.csproj">
  77. <Project>{EAE9FAE6-8011-45A3-8B6E-0C7F14210533}</Project>
  78. <Name>BepInEx.Unity</Name>
  79. </ProjectReference>
  80. </ItemGroup>
  81. <Choose>
  82. <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
  83. <ItemGroup>
  84. <Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  85. <Private>False</Private>
  86. </Reference>
  87. <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  88. <Private>False</Private>
  89. </Reference>
  90. <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  91. <Private>False</Private>
  92. </Reference>
  93. <Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  94. <Private>False</Private>
  95. </Reference>
  96. </ItemGroup>
  97. </When>
  98. </Choose>
  99. <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
  100. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  101. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  102. <PropertyGroup>
  103. <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>
  104. </PropertyGroup>
  105. <Error Condition="!Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props'))" />
  106. <Error Condition="!Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets'))" />
  107. </Target>
  108. <Import Project="..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets')" />
  109. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  110. Other similar extension points exist, see Microsoft.Common.targets.
  111. <Target Name="BeforeBuild">
  112. </Target>
  113. <Target Name="AfterBuild">
  114. </Target>
  115. -->
  116. </Project>