Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 1b0b18c

Browse files
committed
Created a NET40 and NET45 project for GitTools.Core
1 parent 63f8e94 commit 1b0b18c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+3202
-33
lines changed

src/GitTools.Core.Tests/GitTools.Core.Tests.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
<DebugSymbols>true</DebugSymbols>
1919
<DebugType>full</DebugType>
2020
<Optimize>false</Optimize>
21-
<OutputPath>..\..\output\debug\NET45\GitTools.Core.Tests\</OutputPath>
22-
<DefineConstants>TRACE;DEBUG;NET;NET45</DefineConstants>
21+
<OutputPath>..\..\output\Debug\GitTools.Core.Tests\net45\</OutputPath>
22+
<DefineConstants>TRACE;DEBUG</DefineConstants>
2323
<ErrorReport>prompt</ErrorReport>
2424
<WarningLevel>4</WarningLevel>
2525
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
@@ -28,8 +28,8 @@
2828
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2929
<DebugType>pdbonly</DebugType>
3030
<Optimize>true</Optimize>
31-
<OutputPath>..\..\output\release\NET45\GitTools.Core.Tests\</OutputPath>
32-
<DefineConstants>TRACE;NET;NET45</DefineConstants>
31+
<OutputPath>..\..\output\Release\GitTools.Core.Tests\net45\</OutputPath>
32+
<DefineConstants>TRACE</DefineConstants>
3333
<ErrorReport>prompt</ErrorReport>
3434
<WarningLevel>4</WarningLevel>
3535
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
@@ -75,9 +75,9 @@
7575
<Compile Include="Properties\AssemblyInfo.cs" />
7676
</ItemGroup>
7777
<ItemGroup>
78-
<ProjectReference Include="..\GitTools.Core\GitTools.Core.csproj">
79-
<Project>{c11252f9-0eca-44dc-860b-e029c04fbd10}</Project>
80-
<Name>GitTools.Core</Name>
78+
<ProjectReference Include="..\GitTools.Core\GitTools.Core.NET40\GitTools.Core.NET40.csproj">
79+
<Project>{C11252F9-0ECA-44DC-860B-E029C04FBD10}</Project>
80+
<Name>GitTools.Core.NET40</Name>
8181
</ProjectReference>
8282
<ProjectReference Include="..\GitTools.IssueTrackers\GitTools.IssueTrackers.csproj">
8383
<Project>{ac5f41ea-962e-491b-8557-a2a10dc757e4}</Project>

src/GitTools.Core.sln

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
44
VisualStudioVersion = 14.0.23107.0
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTools.Core", "GitTools.Core\GitTools.Core.csproj", "{C11252F9-0ECA-44DC-860B-E029C04FBD10}"
7-
EndProject
86
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "misc", "misc", "{72ECAB81-A674-4AC8-8795-7AD71C3E1A5A}"
97
ProjectSection(SolutionItems) = preProject
108
..\appveyor.yml = ..\appveyor.yml
@@ -17,16 +15,21 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTools.Core.Tests", "GitT
1715
EndProject
1816
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTools.IssueTrackers", "GitTools.IssueTrackers\GitTools.IssueTrackers.csproj", "{AC5F41EA-962E-491B-8557-A2A10DC757E4}"
1917
EndProject
18+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTools.Core.NET40", "GitTools.Core\GitTools.Core.NET40\GitTools.Core.NET40.csproj", "{C11252F9-0ECA-44DC-860B-E029C04FBD10}"
19+
EndProject
20+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitTools.Core", "GitTools.Core", "{753DD689-12ED-42D8-8AF7-936336D65FA0}"
21+
ProjectSection(SolutionItems) = preProject
22+
GitTools.Core\GitTools.Core.nuspec = GitTools.Core\GitTools.Core.nuspec
23+
EndProjectSection
24+
EndProject
25+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitTools.Core.NET45", "GitTools.Core\GitTools.Core.NET45\GitTools.Core.NET45.csproj", "{66295D7C-58FD-4641-AEAB-3DF7EA8FA4D2}"
26+
EndProject
2027
Global
2128
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2229
Debug|Any CPU = Debug|Any CPU
2330
Release|Any CPU = Release|Any CPU
2431
EndGlobalSection
2532
GlobalSection(ProjectConfigurationPlatforms) = postSolution
26-
{C11252F9-0ECA-44DC-860B-E029C04FBD10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27-
{C11252F9-0ECA-44DC-860B-E029C04FBD10}.Debug|Any CPU.Build.0 = Debug|Any CPU
28-
{C11252F9-0ECA-44DC-860B-E029C04FBD10}.Release|Any CPU.ActiveCfg = Release|Any CPU
29-
{C11252F9-0ECA-44DC-860B-E029C04FBD10}.Release|Any CPU.Build.0 = Release|Any CPU
3033
{0834BE9B-5CDE-4CAB-A683-C70A7D91450B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3134
{0834BE9B-5CDE-4CAB-A683-C70A7D91450B}.Debug|Any CPU.Build.0 = Debug|Any CPU
3235
{0834BE9B-5CDE-4CAB-A683-C70A7D91450B}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -35,8 +38,20 @@ Global
3538
{AC5F41EA-962E-491B-8557-A2A10DC757E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
3639
{AC5F41EA-962E-491B-8557-A2A10DC757E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
3740
{AC5F41EA-962E-491B-8557-A2A10DC757E4}.Release|Any CPU.Build.0 = Release|Any CPU
41+
{C11252F9-0ECA-44DC-860B-E029C04FBD10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42+
{C11252F9-0ECA-44DC-860B-E029C04FBD10}.Debug|Any CPU.Build.0 = Debug|Any CPU
43+
{C11252F9-0ECA-44DC-860B-E029C04FBD10}.Release|Any CPU.ActiveCfg = Release|Any CPU
44+
{C11252F9-0ECA-44DC-860B-E029C04FBD10}.Release|Any CPU.Build.0 = Release|Any CPU
45+
{66295D7C-58FD-4641-AEAB-3DF7EA8FA4D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
46+
{66295D7C-58FD-4641-AEAB-3DF7EA8FA4D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
47+
{66295D7C-58FD-4641-AEAB-3DF7EA8FA4D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
48+
{66295D7C-58FD-4641-AEAB-3DF7EA8FA4D2}.Release|Any CPU.Build.0 = Release|Any CPU
3849
EndGlobalSection
3950
GlobalSection(SolutionProperties) = preSolution
4051
HideSolutionNode = FALSE
4152
EndGlobalSection
53+
GlobalSection(NestedProjects) = preSolution
54+
{C11252F9-0ECA-44DC-860B-E029C04FBD10} = {753DD689-12ED-42D8-8AF7-936336D65FA0}
55+
{66295D7C-58FD-4641-AEAB-3DF7EA8FA4D2} = {753DD689-12ED-42D8-8AF7-936336D65FA0}
56+
EndGlobalSection
4257
EndGlobal

src/GitTools.Core/GitTools.Core.csproj renamed to src/GitTools.Core/GitTools.Core.NET40/GitTools.Core.NET40.csproj

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props" Condition="Exists('..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props')" />
3+
<Import Project="..\..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props" Condition="Exists('..\..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props')" />
44
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
55
<PropertyGroup>
66
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -12,40 +12,38 @@
1212
<AssemblyName>GitTools.Core</AssemblyName>
1313
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
15-
<NuGetPackageImportStamp>
16-
</NuGetPackageImportStamp>
1715
<TargetFrameworkProfile />
1816
</PropertyGroup>
1917
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2018
<DebugSymbols>true</DebugSymbols>
2119
<DebugType>full</DebugType>
2220
<Optimize>false</Optimize>
23-
<OutputPath>..\..\output\Debug\GitTools.Core\net4\</OutputPath>
21+
<OutputPath>..\..\..\output\Debug\GitTools.Core\net4\</OutputPath>
2422
<DefineConstants>TRACE;DEBUG</DefineConstants>
2523
<ErrorReport>prompt</ErrorReport>
2624
<WarningLevel>4</WarningLevel>
27-
<DocumentationFile>..\..\output\Debug\GitTools.Core\net4\GitTools.Core.xml</DocumentationFile>
25+
<DocumentationFile>..\..\..\output\Debug\GitTools.Core\net4\GitTools.Core.xml</DocumentationFile>
2826
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2927
<NoWarn>1591;1998</NoWarn>
3028
</PropertyGroup>
3129
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3230
<DebugType>pdbonly</DebugType>
3331
<Optimize>true</Optimize>
34-
<OutputPath>..\..\output\Release\GitTools.Core\net4\</OutputPath>
32+
<OutputPath>..\..\..\output\Release\GitTools.Core\net4\</OutputPath>
3533
<DefineConstants>TRACE</DefineConstants>
3634
<ErrorReport>prompt</ErrorReport>
3735
<WarningLevel>4</WarningLevel>
3836
<NoWarn>1591;1998</NoWarn>
3937
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
40-
<DocumentationFile>..\..\output\Release\GitTools.Core\net4\GitTools.Core.xml</DocumentationFile>
38+
<DocumentationFile>..\..\..\output\Release\GitTools.Core\net4\GitTools.Core.xml</DocumentationFile>
4139
</PropertyGroup>
4240
<ItemGroup>
4341
<Reference Include="LibGit2Sharp, Version=0.21.0.176, Culture=neutral, processorArchitecture=MSIL">
44-
<HintPath>..\packages\LibGit2Sharp.0.21.0.176\lib\net40\LibGit2Sharp.dll</HintPath>
42+
<HintPath>..\..\packages\LibGit2Sharp.0.21.0.176\lib\net40\LibGit2Sharp.dll</HintPath>
4543
<Private>True</Private>
4644
</Reference>
4745
<Reference Include="MethodTimer, Version=1.15.7.0, Culture=neutral, PublicKeyToken=cb1364609f40a1dc, processorArchitecture=MSIL">
48-
<HintPath>..\packages\MethodTimer.Fody.1.15.7.0\lib\portable-net4+sl5+wp8+win8+wpa81+MonoAndroid16+MonoTouch40\MethodTimer.dll</HintPath>
46+
<HintPath>..\..\packages\MethodTimer.Fody.1.15.7.0\lib\portable-net4+sl5+wp8+win8+wpa81+MonoAndroid16+MonoTouch40\MethodTimer.dll</HintPath>
4947
<Private>True</Private>
5048
</Reference>
5149
<Reference Include="System" />
@@ -57,7 +55,7 @@
5755
<Reference Include="System.Xml" />
5856
</ItemGroup>
5957
<ItemGroup>
60-
<Compile Include="..\SolutionAssemblyInfo.cs">
58+
<Compile Include="..\..\SolutionAssemblyInfo.cs">
6159
<Link>Properties\SolutionAssemblyInfo.cs</Link>
6260
</Compile>
6361
<Compile Include="App_Packages\LibLog.4.2\LibLog.cs" />
@@ -99,7 +97,6 @@
9997
<Content Include="FodyWeavers.xml" />
10098
</ItemGroup>
10199
<ItemGroup>
102-
<None Include="GitTools.Core.nuspec" />
103100
<None Include="packages.config">
104101
<SubType>Designer</SubType>
105102
</None>
@@ -110,10 +107,10 @@
110107
<PropertyGroup>
111108
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
112109
</PropertyGroup>
113-
<Error Condition="!Exists('..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets'))" />
114-
<Error Condition="!Exists('..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props'))" />
110+
<Error Condition="!Exists('..\..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets'))" />
111+
<Error Condition="!Exists('..\..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props'))" />
115112
</Target>
116-
<Import Project="..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets" Condition="Exists('..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets')" />
113+
<Import Project="..\..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets" Condition="Exists('..\..\packages\Fody.1.29.3\build\portable-net+sl+win+wpa+wp\Fody.targets')" />
117114
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
118115
Other similar extension points exist, see Microsoft.Common.targets.
119116
<Target Name="BeforeBuild">

0 commit comments

Comments
 (0)