Skip to content

Commit

Permalink
Fixing package references (#3175)
Browse files Browse the repository at this point in the history
Fixes #3097
  • Loading branch information
sebastienros authored Feb 10, 2019
1 parent 4faa0de commit 9612a3c
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 4 deletions.
9 changes: 9 additions & 0 deletions src/OrchardCore.Build/Dependencies.AspNetCore.props
Original file line number Diff line number Diff line change
Expand Up @@ -177,5 +177,14 @@
<PackageManagement Include="Microsoft.VisualStudio.Web.CodeGenerators.Mvc" Version="2.2.0" />
<PackageManagement Include="System.ComponentModel.Annotations" Version="4.5.0" />
<PackageManagement Include="System.Security.Cryptography.Cng" Version="4.5.0" />

<!-- These definitions are are used in projects that incur package downgrades. -->
<PackageManagement Include="System.Collections" Version="4.3.0" />
<PackageManagement Include="System.Diagnostics.Debug" Version="4.3.0" />
<PackageManagement Include="System.Globalization" Version="4.3.0" />
<PackageManagement Include="System.IO" Version="4.3.0" />
<PackageManagement Include="System.IO.FileSystem.Primitives" Version="4.3.0" />
<PackageManagement Include="System.Net.Primitives" Version="4.3.0" />
<PackageManagement Include="System.Resources.ResourceManager" Version="4.3.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
<PackageReference Include="Microsoft.Extensions.Localization" />
<PackageReference Include="Microsoft.Extensions.Logging" />
<PackageReference Include="Newtonsoft.Json" />
<PackageReference Include="ncrontab" />
<PackageReference Include="NodaTime" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
Expand All @@ -14,4 +14,8 @@
<PackageReference Include="Microsoft.AspNetCore.Routing" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.IO.FileSystem.Primitives" />
</ItemGroup>

</Project>
15 changes: 14 additions & 1 deletion src/OrchardCore/OrchardCore/OrchardCore.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
Expand All @@ -22,12 +22,25 @@
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Localization" />
<PackageReference Include="Microsoft.Extensions.Logging" />
<PackageReference Include="ncrontab" />
<PackageReference Include="NodaTime" />

<!-- Remove this dependency in RC -->
<PackageReference Include="YamlDotNet" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\OrchardCore.Abstractions\OrchardCore.Abstractions.csproj" />
</ItemGroup>

<ItemGroup>
<!-- Remove these references once ncrontab targets netstandard2.0-->
<PackageReference Include="System.Collections" />
<PackageReference Include="System.Diagnostics.Debug" />
<PackageReference Include="System.Globalization" />
<PackageReference Include="System.IO" />
<PackageReference Include="System.Net.Primitives" />
<PackageReference Include="System.Resources.ResourceManager" />
</ItemGroup>

</Project>

0 comments on commit 9612a3c

Please sign in to comment.