Skip to content
This repository was archived by the owner on Mar 2, 2023. It is now read-only.

Commit 02cf742

Browse files
committed
Promoting MVC to v5.0.2
1 parent b3558a0 commit 02cf742

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ configuration: Release
33
platform: Any CPU
44

55
install:
6-
- ps: $env:build_version = (Select-Xml -Path ".\src\Unity.Mvc.csproj" -XPath "/Project/PropertyGroup/Version" | Select-Object -ExpandProperty Node).InnerText
6+
- ps: $env:build_version = (Select-Xml -Path ".\package.props" -XPath "/Project/PropertyGroup/Version" | Select-Object -ExpandProperty Node).InnerText
77
- ps: Update-AppveyorBuild -Version "$env:build_version.$env:APPVEYOR_BUILD_NUMBER"
88

99
dotnet_csproj:

package.props

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project>
2+
3+
<PropertyGroup>
4+
<Version>5.0.2</Version>
5+
<PackageReleaseNotes>This package is compatible with .NET 4.5 and 4.7 frameworks.</PackageReleaseNotes>
6+
</PropertyGroup>
7+
8+
<PropertyGroup>
9+
<UnityContainerVersion>5.1.0</UnityContainerVersion>
10+
<UnityAbstractionsVersion>2.1.0</UnityAbstractionsVersion>
11+
</PropertyGroup>
12+
13+
</Project>

src/Unity.Mvc.csproj

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<Version>5.0.3</Version>
5-
<PackageReleaseNotes>This package is compatible with .NET 4.5 and 4.7 frameworks.</PackageReleaseNotes>
6-
</PropertyGroup>
3+
<Import Project="..\package.props" />
74

85
<PropertyGroup>
96
<FileVersion>$(Version).0</FileVersion>
@@ -67,15 +64,15 @@
6764
</ItemGroup>
6865

6966
<ItemGroup Condition="!Exists('$(UnityAbstractions)')">
70-
<PackageReference Include="Unity.Abstractions" Version="2.0.2" />
67+
<PackageReference Include="Unity.Abstractions" Version="$(UnityAbstractionsVersion)" />
7168
</ItemGroup>
7269

7370
<ItemGroup Condition="Exists('$(UnityContainer)')">
7471
<ProjectReference Include="$(UnityContainer)" />
7572
</ItemGroup>
7673

7774
<ItemGroup Condition="!Exists('$(UnityContainer)')">
78-
<PackageReference Include="Unity.Container" Version="5.0.1" />
75+
<PackageReference Include="Unity.Container" Version="$(UnityContainerVersion)" />
7976
</ItemGroup>
8077

8178
</Project>

tests/MVC.Tests.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3+
<Import Project="..\package.props" />
4+
35
<PropertyGroup>
46
<TargetFramework>net47</TargetFramework>
57
<IsPackable>false</IsPackable>
@@ -38,11 +40,11 @@
3840

3941

4042
<ItemGroup Condition="!Exists('$(UnityAbstractions)')">
41-
<PackageReference Include="Unity.Abstractions" Version="2.0.2" />
43+
<PackageReference Include="Unity.Abstractions" Version="$(UnityAbstractionsVersion)" />
4244
</ItemGroup>
4345

4446
<ItemGroup Condition="!Exists('$(UnityContainer)')">
45-
<PackageReference Include="Unity.Container" Version="5.0.1" />
47+
<PackageReference Include="Unity.Container" Version="$(UnityContainerVersion)" />
4648
</ItemGroup>
4749

4850
</Project>

0 commit comments

Comments
 (0)