Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
Replace project.json with PackageReference in C# projects
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Dec 10, 2017
1 parent 0042207 commit 79bbce8
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 53 deletions.
8 changes: 7 additions & 1 deletion src/GitLink.Tests/GitLink.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
<Reference Include="System" />
<Reference Include="System.Net" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ApprovalTests" Version="3.0.8" />
<PackageReference Include="ApprovalUtilities" Version="3.0.8" />
<PackageReference Include="NUnit" Version="3.5.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.4.1" />
</ItemGroup>
<Choose>
<When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
<ItemGroup>
Expand Down Expand Up @@ -123,7 +129,7 @@
</Choose>
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
<!-- 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>
Expand Down
14 changes: 0 additions & 14 deletions src/GitLink.Tests/project.json

This file was deleted.

12 changes: 11 additions & 1 deletion src/GitLink/GitLink.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Catel.Core" Version="4.5.3" />
<PackageReference Include="EnlistmentInfo" Version="1.0.4" />
<PackageReference Include="GitTools.Core" Version="1.0.0-unstable0021" />
<PackageReference Include="GitVersionTask" Version="4.0.0-beta0009" />
<PackageReference Include="ImpromptuInterface" Version="6.2.2" />
<PackageReference Include="LibGit2Sharp" Version="0.21.0.176" />
<PackageReference Include="NuProj.Common" Version="0.11.14-beta" />
<PackageReference Include="StyleCop.Analyzers" Version="1.0.0" />
<PackageReference Include="System.CommandLine" Version="0.1.0-e161008-1" />
</ItemGroup>
<ItemGroup>
<Compile Include="Extensions\BinaryReaderExtensions.cs" />
<Compile Include="Extensions\PdbExtensions.cs" />
Expand Down Expand Up @@ -97,7 +108,6 @@
<None Include="winsdk.redist.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="project.json" />
</ItemGroup>
<ItemGroup>
<Content Include="Logo.ico" />
Expand Down
25 changes: 0 additions & 25 deletions src/GitLink/project.json

This file was deleted.

4 changes: 4 additions & 0 deletions src/GitLinkTask/GitLinkTask.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
<Reference Include="Microsoft.Build.Utilities.v4.0" />
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="GitVersionTask" Version="4.0.0-beta0009" />
<PackageReference Include="NuProj.Common" Version="0.11.14-beta" />
</ItemGroup>
<ItemGroup>
<None Include="GitLink.props">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down
12 changes: 0 additions & 12 deletions src/GitLinkTask/project.json

This file was deleted.

0 comments on commit 79bbce8

Please sign in to comment.