Skip to content

Commit 9fac022

Browse files
author
Christy Henriksson
authored
Merge pull request #6356 from NuGet/chenriks-deps
2 parents 2533703 + d0b0175 commit 9fac022

4 files changed

Lines changed: 23 additions & 34 deletions

File tree

build.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ param (
1010
[string]$PackageSuffix,
1111
[string]$Branch,
1212
[string]$CommitSHA,
13-
[string]$BuildBranch = '306fec22edac68336d7e32124d51248734c3a395'
13+
[string]$BuildBranch = 'cb604c2cd1b2f7f71fb574cdda4c83ddb1464cc7'
1414
)
1515

1616
Set-StrictMode -Version 1.0
@@ -93,11 +93,11 @@ Invoke-BuildStep 'Building solution' {
9393
-ev +BuildErrors
9494

9595
Invoke-BuildStep 'Creating artifacts' {
96-
$packageId = 'NuGetGallery.Core'+$PackageSuffix
97-
New-Package (Join-Path $PSScriptRoot "src\NuGetGallery.Core\NuGetGallery.Core.csproj") -Configuration $Configuration -Symbols -BuildNumber $BuildNumber -Version $SemanticVersion -PackageId $packageId `
98-
-ev +BuildErrors
99-
}
100-
96+
$packageId = 'NuGetGallery.Core'+$PackageSuffix
97+
New-ProjectPackage (Join-Path $PSScriptRoot "src\NuGetGallery.Core\NuGetGallery.Core.csproj") -Configuration $Configuration -Symbols -BuildNumber $BuildNumber -Version $SemanticVersion -PackageId $packageId `
98+
-ev +BuildErrors
99+
}
100+
101101
Trace-Log ('-' * 60)
102102

103103
## Calculating Build time

src/NuGetGallery.Core/NuGetGallery.Core.csproj

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,23 @@
1212
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
15+
<RuntimeIdentifier>win</RuntimeIdentifier>
16+
<NoWarn>$(NoWarn);NU5104</NoWarn>
1517
<NuGetPackageImportStamp>
1618
</NuGetPackageImportStamp>
1719
<BuildPackage>true</BuildPackage>
1820
<TargetFrameworkProfile />
1921
</PropertyGroup>
22+
<PropertyGroup>
23+
<Description>Core support library for NuGet Gallery Frontend and Backend</Description>
24+
<PackageId Condition="'$(PackageId)' == ''">$(MSBuildProjectName)</PackageId>
25+
<Authors>.NET Foundation</Authors>
26+
<PackageLicenseUrl>https://github.com/NuGet/NuGetGallery/blob/master/LICENSE.txt</PackageLicenseUrl>
27+
<PackageProjectUrl>https://github.com/NuGet/NuGetGallery</PackageProjectUrl>
28+
<Copyright>© .NET Foundation. All rights reserved.</Copyright>
29+
<IncludeSymbols Condition="'$(IncludeSymbols)' == ''">true</IncludeSymbols>
30+
<NoPackageAnalysis Condition="'$(NoPackageAnalysis)' == ''">true</NoPackageAnalysis>
31+
</PropertyGroup>
2032
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2133
<DebugSymbols>true</DebugSymbols>
2234
<DebugType>full</DebugType>
@@ -211,7 +223,6 @@
211223
</ItemGroup>
212224
<ItemGroup>
213225
<None Include="app.config" />
214-
<None Include="NuGetGallery.Core.nuspec" />
215226
</ItemGroup>
216227
<ItemGroup>
217228
<EmbeddedResource Include="CoreStrings.resx">
@@ -247,27 +258,22 @@
247258
<PackageReference Include="Newtonsoft.Json">
248259
<Version>9.0.1</Version>
249260
</PackageReference>
250-
<PackageReference Include="NuGet.Common">
251-
<Version>4.8.0-preview4.5287</Version>
261+
<PackageReference Include="Microsoft.WindowsAzure.ConfigurationManager">
262+
<Version>3.1.0</Version>
252263
</PackageReference>
253-
<PackageReference Include="NuGet.Frameworks">
254-
<Version>4.8.0-preview4.5287</Version>
264+
<PackageReference Include="NuGet.Build.Tasks.Pack">
265+
<Version>4.8.0</Version>
266+
<PrivateAssets>all</PrivateAssets>
255267
</PackageReference>
256268
<PackageReference Include="NuGet.Packaging">
257269
<Version>4.8.0-preview4.5287</Version>
258270
</PackageReference>
259-
<PackageReference Include="NuGet.Packaging.Core">
260-
<Version>4.8.0-preview4.5287</Version>
261-
</PackageReference>
262271
<PackageReference Include="NuGet.Services.Validation">
263272
<Version>2.28.0-master-37018</Version>
264273
</PackageReference>
265274
<PackageReference Include="NuGet.Services.Validation.Issues">
266275
<Version>2.28.0-master-37018</Version>
267276
</PackageReference>
268-
<PackageReference Include="NuGet.Versioning">
269-
<Version>4.8.0-preview4.5287</Version>
270-
</PackageReference>
271277
<PackageReference Include="WindowsAzure.Storage">
272278
<Version>7.1.2</Version>
273279
</PackageReference>

src/NuGetGallery.Core/NuGetGallery.Core.nuspec

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/NuGetGallery/NuGetGallery.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@
110110
<Reference Include="System.IO.Compression" />
111111
<Reference Include="System.Net" />
112112
<Reference Include="System.Net.Http" />
113-
<Reference Include="System.IO.Compression" />
114-
<Reference Include="System.Net" />
115-
<Reference Include="System.Net.Http" />
116113
<Reference Include="System.Net.Http.WebRequest" />
117114
<Reference Include="System.Runtime.Serialization" />
118115
<Reference Include="System.ServiceModel" />

0 commit comments

Comments
 (0)