|
@@ -1,128 +1,42 @@
|
|
-<?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.1.3.2\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props')" />
|
|
|
|
|
|
+<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<PropertyGroup>
|
|
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
|
|
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
|
|
- <ProjectGuid>{E7CD429A-D057-48E3-8C51-E5C934E8E07B}</ProjectGuid>
|
|
|
|
- <OutputType>Library</OutputType>
|
|
|
|
- <AppDesignerFolder>Properties</AppDesignerFolder>
|
|
|
|
- <RootNamespace>BepInExTests</RootNamespace>
|
|
|
|
- <AssemblyName>BepInExTests</AssemblyName>
|
|
|
|
- <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
|
|
|
- <FileAlignment>512</FileAlignment>
|
|
|
|
|
|
+ <TargetFramework>net472</TargetFramework>
|
|
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
- <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
|
|
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
|
|
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
|
|
<IsCodedUITest>False</IsCodedUITest>
|
|
<IsCodedUITest>False</IsCodedUITest>
|
|
<TestProjectType>UnitTest</TestProjectType>
|
|
<TestProjectType>UnitTest</TestProjectType>
|
|
- <NuGetPackageImportStamp>
|
|
|
|
- </NuGetPackageImportStamp>
|
|
|
|
- <TargetFrameworkProfile />
|
|
|
|
- <FileUpgradeFlags>
|
|
|
|
- </FileUpgradeFlags>
|
|
|
|
- <UpgradeBackupLocation>
|
|
|
|
- </UpgradeBackupLocation>
|
|
|
|
- <OldToolsVersion>15.0</OldToolsVersion>
|
|
|
|
|
|
+ <FileUpgradeFlags />
|
|
|
|
+ <UpgradeBackupLocation />
|
|
|
|
+ <AssemblyTitle>BepInExTests</AssemblyTitle>
|
|
|
|
+ <Product>BepInExTests</Product>
|
|
|
|
+ <Copyright>Copyright © 2019</Copyright>
|
|
|
|
+ <OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
|
|
|
|
+ <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
|
- <DebugSymbols>true</DebugSymbols>
|
|
|
|
- <OutputPath>bin\x86\Debug\</OutputPath>
|
|
|
|
- <DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
|
|
<DebugType>full</DebugType>
|
|
<DebugType>full</DebugType>
|
|
- <PlatformTarget>x86</PlatformTarget>
|
|
|
|
- <ErrorReport>prompt</ErrorReport>
|
|
|
|
- <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
</PropertyGroup>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
|
- <OutputPath>bin\x86\Release\</OutputPath>
|
|
|
|
- <DefineConstants>TRACE</DefineConstants>
|
|
|
|
- <Optimize>true</Optimize>
|
|
|
|
<DebugType>pdbonly</DebugType>
|
|
<DebugType>pdbonly</DebugType>
|
|
- <PlatformTarget>x86</PlatformTarget>
|
|
|
|
- <ErrorReport>prompt</ErrorReport>
|
|
|
|
- <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
</PropertyGroup>
|
|
</PropertyGroup>
|
|
|
|
+ <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
|
|
|
|
+ <ItemGroup>
|
|
|
|
+ <PackageReference Include="Iced" Version="1.6.0" />
|
|
|
|
+ <PackageReference Include="MSTest.TestAdapter" Version="1.3.2" />
|
|
|
|
+ <PackageReference Include="MSTest.TestFramework" Version="1.3.2" />
|
|
|
|
+ <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
|
|
|
|
+ <PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
|
|
|
|
+ <PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
|
|
|
|
+ </ItemGroup>
|
|
<ItemGroup>
|
|
<ItemGroup>
|
|
- <Reference Include="Iced, Version=1.6.0.0, Culture=neutral, PublicKeyToken=5baba79f4264913b, processorArchitecture=MSIL">
|
|
|
|
- <HintPath>..\packages\Iced.1.6.0\lib\net45\Iced.dll</HintPath>
|
|
|
|
- </Reference>
|
|
|
|
- <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
|
- <HintPath>..\packages\MSTest.TestFramework.1.3.2\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.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath>
|
|
|
|
- </Reference>
|
|
|
|
- <Reference Include="System" />
|
|
|
|
<Reference Include="UnityEngine">
|
|
<Reference Include="UnityEngine">
|
|
<HintPath>..\lib\UnityEngine.dll</HintPath>
|
|
<HintPath>..\lib\UnityEngine.dll</HintPath>
|
|
</Reference>
|
|
</Reference>
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
- <Choose>
|
|
|
|
- <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
|
|
|
|
- <ItemGroup>
|
|
|
|
- <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
|
|
|
|
- </ItemGroup>
|
|
|
|
- </When>
|
|
|
|
- <Otherwise />
|
|
|
|
- </Choose>
|
|
|
|
- <ItemGroup>
|
|
|
|
- <Compile Include="AssemblyInit.cs" />
|
|
|
|
- <Compile Include="TrampolineTests.cs" />
|
|
|
|
- <Compile Include="Configuration\ConfigFileTests.cs" />
|
|
|
|
- <Compile Include="Properties\AssemblyInfo.cs" />
|
|
|
|
- </ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ItemGroup>
|
|
- <None Include="packages.config" />
|
|
|
|
|
|
+ <ProjectReference Include="..\BepInEx.Core\BepInEx.Core.csproj" />
|
|
|
|
+ <ProjectReference Include="..\BepInEx.IL2CPP\BepInEx.IL2CPP.csproj" />
|
|
|
|
+ <ProjectReference Include="..\BepInEx.Unity\BepInEx.Unity.csproj" />
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
- <ItemGroup>
|
|
|
|
- <ProjectReference Include="..\BepInEx.Core\BepInEx.Core.csproj">
|
|
|
|
- <Project>{4FFBA620-F5ED-47F9-B90C-DAD1316FD9B9}</Project>
|
|
|
|
- <Name>BepInEx.Core</Name>
|
|
|
|
- </ProjectReference>
|
|
|
|
- <ProjectReference Include="..\BepInEx.IL2CPP\BepInEx.IL2CPP.csproj">
|
|
|
|
- <Project>{429d5f83-7fec-4d09-ab82-e868eb61af59}</Project>
|
|
|
|
- <Name>BepInEx.IL2CPP</Name>
|
|
|
|
- </ProjectReference>
|
|
|
|
- <ProjectReference Include="..\BepInEx.Unity\BepInEx.Unity.csproj">
|
|
|
|
- <Project>{EAE9FAE6-8011-45A3-8B6E-0C7F14210533}</Project>
|
|
|
|
- <Name>BepInEx.Unity</Name>
|
|
|
|
- </ProjectReference>
|
|
|
|
- </ItemGroup>
|
|
|
|
- <Choose>
|
|
|
|
- <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
|
|
|
|
- <ItemGroup>
|
|
|
|
- <Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
|
- <Private>False</Private>
|
|
|
|
- </Reference>
|
|
|
|
- <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
|
- <Private>False</Private>
|
|
|
|
- </Reference>
|
|
|
|
- <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
|
- <Private>False</Private>
|
|
|
|
- </Reference>
|
|
|
|
- <Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
|
|
|
- <Private>False</Private>
|
|
|
|
- </Reference>
|
|
|
|
- </ItemGroup>
|
|
|
|
- </When>
|
|
|
|
- </Choose>
|
|
|
|
- <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
|
|
|
|
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.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.1.3.2\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props'))" />
|
|
|
|
- <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'))" />
|
|
|
|
- </Target>
|
|
|
|
- <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')" />
|
|
|
|
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
|
|
- Other similar extension points exist, see Microsoft.Common.targets.
|
|
|
|
- <Target Name="BeforeBuild">
|
|
|
|
- </Target>
|
|
|
|
- <Target Name="AfterBuild">
|
|
|
|
- </Target>
|
|
|
|
- -->
|
|
|
|
</Project>
|
|
</Project>
|