|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 |
| -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 |
| - <Import Project="..\packages\LibGit2Sharp.NativeBinaries.1.0.160\build\LibGit2Sharp.NativeBinaries.props" Condition="Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.160\build\LibGit2Sharp.NativeBinaries.props')" /> |
4 |
| - <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
| 2 | +<Project Sdk="Microsoft.NET.Sdk"> |
5 | 3 | <PropertyGroup>
|
6 | 4 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
7 |
| - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
8 |
| - <ProjectGuid>{0834BE9B-5CDE-4CAB-A683-C70A7D91450B}</ProjectGuid> |
| 5 | + <Platform Condition=" '$(Platform)' == '' ">Any CPU</Platform> |
| 6 | + |
9 | 7 | <OutputType>Library</OutputType>
|
10 |
| - <AppDesignerFolder>Properties</AppDesignerFolder> |
11 |
| - <RootNamespace>GitTools.Tests</RootNamespace> |
12 |
| - <AssemblyName>GitTools.Core.Tests</AssemblyName> |
13 |
| - <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
14 |
| - <FileAlignment>512</FileAlignment> |
15 |
| - <LangVersion>5</LangVersion> |
16 |
| - <NuGetPackageImportStamp> |
17 |
| - </NuGetPackageImportStamp> |
| 8 | + <TargetFramework>net46</TargetFramework> |
| 9 | + <TargetFrameworks>netcoreapp1.1;net46</TargetFrameworks> |
| 10 | + <!--<TargetFramework>netcoreapp1.1;net46</TargetFramework>--> |
18 | 11 | </PropertyGroup>
|
19 | 12 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
20 | 13 | <DebugSymbols>true</DebugSymbols>
|
21 |
| - <DebugType>full</DebugType> |
22 |
| - <Optimize>false</Optimize> |
23 |
| - <OutputPath>..\..\output\debug\GitTools.Core.Tests\net45\</OutputPath> |
24 |
| - <DefineConstants>TRACE;DEBUG</DefineConstants> |
25 |
| - <ErrorReport>prompt</ErrorReport> |
26 |
| - <WarningLevel>4</WarningLevel> |
27 |
| - <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
28 |
| - <NoWarn>1591,1701</NoWarn> |
| 14 | + <DebugType>full</DebugType> |
| 15 | + <OutputPath>..\..\output\debug\GitTools.Core.Tests\$(TargetFramework)\</OutputPath> |
| 16 | + <DefineConstants>TRACE;DEBUG</DefineConstants> |
29 | 17 | </PropertyGroup>
|
30 | 18 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
31 | 19 | <DebugType>pdbonly</DebugType>
|
32 | 20 | <Optimize>true</Optimize>
|
33 |
| - <OutputPath>..\..\output\release\GitTools.Core.Tests\net45\</OutputPath> |
34 |
| - <DefineConstants>TRACE</DefineConstants> |
35 |
| - <ErrorReport>prompt</ErrorReport> |
36 |
| - <WarningLevel>4</WarningLevel> |
37 |
| - <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
38 |
| - <NoWarn>1591</NoWarn> |
| 21 | + <OutputPath>..\..\output\release\GitTools.Core.Tests\$(TargetFramework)\</OutputPath> |
| 22 | + <DefineConstants>TRACE</DefineConstants> |
39 | 23 | </PropertyGroup>
|
40 |
| - <ItemGroup> |
41 |
| - <Reference Include="Atlassian.Jira, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> |
42 |
| - <SpecificVersion>False</SpecificVersion> |
43 |
| - <HintPath>..\packages\Atlassian.SDK.2.5.0\lib\Atlassian.Jira.dll</HintPath> |
44 |
| - </Reference> |
45 |
| - <Reference Include="GitTools.Testing, Version=1.1.1.0, Culture=neutral, processorArchitecture=MSIL"> |
46 |
| - <HintPath>..\packages\GitTools.Testing.1.1.1-beta0001\lib\net4\GitTools.Testing.dll</HintPath> |
47 |
| - <Private>True</Private> |
48 |
| - </Reference> |
49 |
| - <Reference Include="LibGit2Sharp, Version=0.23.0.0, Culture=neutral, PublicKeyToken=7cbde695407f0333, processorArchitecture=MSIL"> |
50 |
| - <HintPath>..\packages\LibGit2Sharp.0.23.0-pre20160922233542\lib\net40\LibGit2Sharp.dll</HintPath> |
51 |
| - <Private>True</Private> |
52 |
| - </Reference> |
53 |
| - <Reference Include="nunit.framework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> |
54 |
| - <HintPath>..\packages\NUnit.3.5.0\lib\net45\nunit.framework.dll</HintPath> |
55 |
| - <Private>True</Private> |
56 |
| - </Reference> |
57 |
| - <Reference Include="Shouldly, Version=2.8.2.0, Culture=neutral, PublicKeyToken=6042cbcb05cbc941, processorArchitecture=MSIL"> |
58 |
| - <HintPath>..\packages\Shouldly.2.8.2\lib\net40\Shouldly.dll</HintPath> |
59 |
| - <Private>True</Private> |
60 |
| - </Reference> |
61 |
| - <Reference Include="System" /> |
62 |
| - <Reference Include="System.Core" /> |
63 |
| - <Reference Include="System.Net.Http" /> |
64 |
| - <Reference Include="System.Xml.Linq" /> |
65 |
| - <Reference Include="System.Data.DataSetExtensions" /> |
66 |
| - <Reference Include="Microsoft.CSharp" /> |
67 |
| - <Reference Include="System.Data" /> |
68 |
| - <Reference Include="System.Xml" /> |
| 24 | + |
| 25 | + <ItemGroup> |
| 26 | + <PackageReference Include="Dazinator.GitTools.Testing.Netstandard" Version="1.1.1-beta0001temp" /> |
| 27 | + <PackageReference Include="NUnit" Version="3.7.1" /> |
| 28 | + <PackageReference Include="NUnit.ConsoleRunner" Version="3.7.0" /> |
| 29 | + <PackageReference Include="NUnit3TestAdapter" Version="3.8.0" /> |
| 30 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.*" /> |
| 31 | + <PackageReference Include="Shouldly" Version="2.8.3" /> |
69 | 32 | </ItemGroup>
|
70 |
| - <ItemGroup> |
71 |
| - <Compile Include="..\SolutionAssemblyInfo.cs"> |
72 |
| - <Link>Properties\SolutionAssemblyInfo.cs</Link> |
73 |
| - </Compile> |
74 |
| - <Compile Include="Git\Extensions\AuthenticationInfoExtensionsTests.cs" /> |
75 |
| - <Compile Include="Git\GitDirFinderTests.cs" /> |
76 |
| - <Compile Include="Git\GitRepositoryHelperTests.cs" /> |
77 |
| - <Compile Include="Git\DynamicRepositoriesTests.cs" /> |
78 |
| - <Compile Include="GlobalInitialization.cs" /> |
79 |
| - <Compile Include="Properties\AssemblyInfo.cs" /> |
| 33 | + |
| 34 | + <ItemGroup Condition=" '$(Configuration)' == 'netcoreapp1.1' "> |
| 35 | + <PackageReference Include="Atlassian.SDK" Version="9.5.0" /> |
80 | 36 | </ItemGroup>
|
81 |
| - <ItemGroup> |
82 |
| - <ProjectReference Include="..\GitTools.Core\GitTools.Core.NET40\GitTools.Core.NET40.csproj"> |
83 |
| - <Project>{C11252F9-0ECA-44DC-860B-E029C04FBD10}</Project> |
84 |
| - <Name>GitTools.Core.NET40</Name> |
85 |
| - </ProjectReference> |
| 37 | + |
| 38 | + <ItemGroup Condition=" '$(Configuration)' == 'net46' "> |
| 39 | + <PackageReference Include="Atlassian.SDK" Version="2.5.0" /> |
86 | 40 | </ItemGroup>
|
| 41 | + |
| 42 | + |
| 43 | + |
87 | 44 | <ItemGroup>
|
88 |
| - <None Include="app.config" /> |
89 |
| - <None Include="packages.config" /> |
90 |
| - </ItemGroup> |
| 45 | + <ProjectReference Include="..\GitTools.Core\GitTools.Core.csproj" /> |
| 46 | + </ItemGroup> |
| 47 | + |
91 | 48 | <ItemGroup>
|
92 |
| - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> |
93 |
| - </ItemGroup> |
94 |
| - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
95 |
| - <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
96 |
| - <PropertyGroup> |
97 |
| - <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> |
98 |
| - </PropertyGroup> |
99 |
| - <Error Condition="!Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.160\build\LibGit2Sharp.NativeBinaries.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.NativeBinaries.1.0.160\build\LibGit2Sharp.NativeBinaries.props'))" /> |
100 |
| - </Target> |
| 49 | + <Folder Include="Properties\" /> |
| 50 | + </ItemGroup> |
| 51 | + |
| 52 | + <ItemGroup> |
| 53 | + <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> |
| 54 | + </ItemGroup> |
| 55 | + |
101 | 56 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
102 | 57 | Other similar extension points exist, see Microsoft.Common.targets.
|
103 | 58 | <Target Name="BeforeBuild">
|
|
0 commit comments