This repository was archived by the owner on Mar 2, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +21
-9
lines changed Expand file tree Collapse file tree 4 files changed +21
-9
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ configuration: Release
3
3
platform : Any CPU
4
4
5
5
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
7
7
- ps : Update-AppveyorBuild -Version "$env:build_version.$env:APPVEYOR_BUILD_NUMBER"
8
8
9
9
dotnet_csproj :
Original file line number Diff line number Diff line change
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 >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
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" />
7
4
8
5
<PropertyGroup >
9
6
<FileVersion >$(Version).0</FileVersion >
67
64
</ItemGroup >
68
65
69
66
<ItemGroup Condition =" !Exists('$(UnityAbstractions)')" >
70
- <PackageReference Include =" Unity.Abstractions" Version =" 2.0.2 " />
67
+ <PackageReference Include =" Unity.Abstractions" Version =" $(UnityAbstractionsVersion) " />
71
68
</ItemGroup >
72
69
73
70
<ItemGroup Condition =" Exists('$(UnityContainer)')" >
74
71
<ProjectReference Include =" $(UnityContainer)" />
75
72
</ItemGroup >
76
73
77
74
<ItemGroup Condition =" !Exists('$(UnityContainer)')" >
78
- <PackageReference Include =" Unity.Container" Version =" 5.0.1 " />
75
+ <PackageReference Include =" Unity.Container" Version =" $(UnityContainerVersion) " />
79
76
</ItemGroup >
80
77
81
78
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
+ <Import Project =" ..\package.props" />
4
+
3
5
<PropertyGroup >
4
6
<TargetFramework >net47</TargetFramework >
5
7
<IsPackable >false</IsPackable >
38
40
39
41
40
42
<ItemGroup Condition =" !Exists('$(UnityAbstractions)')" >
41
- <PackageReference Include =" Unity.Abstractions" Version =" 2.0.2 " />
43
+ <PackageReference Include =" Unity.Abstractions" Version =" $(UnityAbstractionsVersion) " />
42
44
</ItemGroup >
43
45
44
46
<ItemGroup Condition =" !Exists('$(UnityContainer)')" >
45
- <PackageReference Include =" Unity.Container" Version =" 5.0.1 " />
47
+ <PackageReference Include =" Unity.Container" Version =" $(UnityContainerVersion) " />
46
48
</ItemGroup >
47
49
48
50
</Project >
You can’t perform that action at this time.
0 commit comments