@@ -30,11 +30,13 @@ Task("build")
30
30
Configuration = configuration ,
31
31
NoRestore = true ,
32
32
NoIncremental = false ,
33
- MSBuildSettings = new DotNetCoreMSBuildSettings ( )
34
- . WithProperty ( "Version" , buildVersion . Version )
35
- . WithProperty ( "AssemblyVersion" , buildVersion . AssemblyVersion )
36
- . WithProperty ( "FileVersion" , buildVersion . FileVersion )
37
- . WithProperty ( "ContinuousIntegrationBuild" , BuildSystem . IsLocalBuild ? "false" : "true" )
33
+ MSBuildSettings = new DotNetCoreMSBuildSettings
34
+ {
35
+ Version = buildVersion . Version ,
36
+ AssemblyVersion = buildVersion . AssemblyVersion ,
37
+ FileVersion = buildVersion . FileVersion ,
38
+ ContinuousIntegrationBuild = BuildSystem . IsLocalBuild ,
39
+ } ,
38
40
} ) ;
39
41
} ) ;
40
42
@@ -68,9 +70,11 @@ Task("pack")
68
70
NoRestore = true ,
69
71
NoBuild = true ,
70
72
OutputDirectory = "./artifact/nuget" ,
71
- MSBuildSettings = new DotNetCoreMSBuildSettings ( )
72
- . WithProperty ( "Version" , buildVersion . Version )
73
- . WithProperty ( "PackageReleaseNotes" , releaseNotes )
73
+ MSBuildSettings = new DotNetCoreMSBuildSettings
74
+ {
75
+ Version = buildVersion . Version ,
76
+ PackageReleaseNotes = releaseNotes ,
77
+ } ,
74
78
} ) ;
75
79
} ) ;
76
80
0 commit comments