BepInExTests.csproj 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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.Core\BepInEx.Core.csproj">
  77. <Project>{4FFBA620-F5ED-47F9-B90C-DAD1316FD9B9}</Project>
  78. <Name>BepInEx.Core</Name>
  79. </ProjectReference>
  80. <ProjectReference Include="..\BepInEx.Unity\BepInEx.Unity.csproj">
  81. <Project>{EAE9FAE6-8011-45A3-8B6E-0C7F14210533}</Project>
  82. <Name>BepInEx.Unity</Name>
  83. </ProjectReference>
  84. </ItemGroup>
  85. <Choose>
  86. <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
  87. <ItemGroup>
  88. <Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  89. <Private>False</Private>
  90. </Reference>
  91. <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  92. <Private>False</Private>
  93. </Reference>
  94. <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  95. <Private>False</Private>
  96. </Reference>
  97. <Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  98. <Private>False</Private>
  99. </Reference>
  100. </ItemGroup>
  101. </When>
  102. </Choose>
  103. <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
  104. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  105. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  106. <PropertyGroup>
  107. <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>
  108. </PropertyGroup>
  109. <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'))" />
  110. <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'))" />
  111. </Target>
  112. <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')" />
  113. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  114. Other similar extension points exist, see Microsoft.Common.targets.
  115. <Target Name="BeforeBuild">
  116. </Target>
  117. <Target Name="AfterBuild">
  118. </Target>
  119. -->
  120. </Project>