File tree Expand file tree Collapse file tree 4 files changed +26
-12
lines changed Expand file tree Collapse file tree 4 files changed +26
-12
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.Interception.Configuration.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.3</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
+ <UnityConfigurationVersion >5.0.2</UnityConfigurationVersion >
12
+ <UnityInterceptionVersion >5.0.3</UnityInterceptionVersion >
13
+ </PropertyGroup >
14
+
15
+ </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 >
77
74
78
75
79
76
<ItemGroup Condition =" !Exists('$(UnityAbstractions)')" >
80
- <PackageReference Include =" Unity.Abstractions" Version =" 2.0.2 " />
77
+ <PackageReference Include =" Unity.Abstractions" Version =" $(UnityAbstractionsVersion) " />
81
78
</ItemGroup >
82
79
83
80
<ItemGroup Condition =" !Exists('$(UnityConfiguration)')" >
84
- <PackageReference Include =" Unity.Configuration" Version =" 5.0.1 " />
81
+ <PackageReference Include =" Unity.Configuration" Version =" $(UnityConfigurationVersion) " />
85
82
</ItemGroup >
86
83
87
84
<ItemGroup Condition =" !Exists('$(UnityInterception)')" >
88
- <PackageReference Include =" Unity.Interception" Version =" 5.0.2 " />
85
+ <PackageReference Include =" Unity.Interception" Version =" $(UnityInterceptionVersion) " />
89
86
</ItemGroup >
90
87
91
88
</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 >
52
54
53
55
54
56
<ItemGroup Condition =" !Exists('$(UnityAbstractions)')" >
55
- <PackageReference Include =" Unity.Abstractions" Version =" 2.0.2 " />
57
+ <PackageReference Include =" Unity.Abstractions" Version =" $(UnityAbstractionsVersion) " />
56
58
</ItemGroup >
57
59
58
60
<ItemGroup Condition =" !Exists('$(UnityConfiguration)')" >
59
- <PackageReference Include =" Unity.Configuration" Version =" 5.0.1 " />
61
+ <PackageReference Include =" Unity.Configuration" Version =" $(UnityConfigurationVersion) " />
60
62
</ItemGroup >
61
63
62
64
<ItemGroup Condition =" !Exists('$(UnityInterception)')" >
63
- <PackageReference Include =" Unity.Interception" Version =" 5.0.2 " />
65
+ <PackageReference Include =" Unity.Interception" Version =" $(UnityInterceptionVersion) " />
64
66
</ItemGroup >
65
67
66
68
<ItemGroup Condition =" !Exists('$(UnityContainer)')" >
67
- <PackageReference Include =" Unity.Container" Version =" 5.0.1 " />
69
+ <PackageReference Include =" Unity.Container" Version =" $(UnityContainerVersion) " />
68
70
</ItemGroup >
69
71
70
72
You can’t perform that action at this time.
0 commit comments