|
2 | 2 | <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | 3 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
4 | 4 | <PropertyGroup> |
| 5 | + <Description>Core support library for NuGet Gallery Frontend and Backend</Description> |
5 | 6 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
6 | 7 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
7 | 8 | <ProjectGuid>{097B2CDD-9623-4C34-93C2-D373D51F5B4E}</ProjectGuid> |
|
12 | 13 | <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion> |
13 | 14 | <FileAlignment>512</FileAlignment> |
14 | 15 | <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> |
| 16 | + <RuntimeIdentifier>win</RuntimeIdentifier> |
| 17 | + <NoWarn>$(NoWarn);NU5104</NoWarn> |
15 | 18 | <NuGetPackageImportStamp> |
16 | 19 | </NuGetPackageImportStamp> |
17 | 20 | <BuildPackage>true</BuildPackage> |
|
211 | 214 | </ItemGroup> |
212 | 215 | <ItemGroup> |
213 | 216 | <None Include="app.config" /> |
214 | | - <None Include="NuGetGallery.Core.nuspec" /> |
215 | 217 | </ItemGroup> |
216 | 218 | <ItemGroup> |
217 | 219 | <EmbeddedResource Include="CoreStrings.resx"> |
|
247 | 249 | <PackageReference Include="Newtonsoft.Json"> |
248 | 250 | <Version>9.0.1</Version> |
249 | 251 | </PackageReference> |
250 | | - <PackageReference Include="NuGet.Common"> |
251 | | - <Version>4.8.0-preview4.5287</Version> |
| 252 | + <PackageReference Include="Microsoft.Web.Xdt"> |
| 253 | + <Version>2.1.1</Version> |
252 | 254 | </PackageReference> |
253 | | - <PackageReference Include="NuGet.Frameworks"> |
254 | | - <Version>4.8.0-preview4.5287</Version> |
| 255 | + <PackageReference Include="Microsoft.WindowsAzure.ConfigurationManager"> |
| 256 | + <Version>3.1.0</Version> |
255 | 257 | </PackageReference> |
256 | | - <PackageReference Include="NuGet.Packaging"> |
257 | | - <Version>4.8.0-preview4.5287</Version> |
| 258 | + <PackageReference Include="NuGet.Build.Tasks.Pack"> |
| 259 | + <Version>5.0.0-preview1.5429</Version> |
| 260 | + <PrivateAssets>all</PrivateAssets> |
258 | 261 | </PackageReference> |
259 | | - <PackageReference Include="NuGet.Packaging.Core"> |
| 262 | + <PackageReference Include="NuGet.Packaging"> |
260 | 263 | <Version>4.8.0-preview4.5287</Version> |
261 | 264 | </PackageReference> |
262 | 265 | <PackageReference Include="NuGet.Services.Validation"> |
|
265 | 268 | <PackageReference Include="NuGet.Services.Validation.Issues"> |
266 | 269 | <Version>2.28.0-master-37018</Version> |
267 | 270 | </PackageReference> |
268 | | - <PackageReference Include="NuGet.Versioning"> |
269 | | - <Version>4.8.0-preview4.5287</Version> |
270 | | - </PackageReference> |
271 | 271 | <PackageReference Include="WindowsAzure.Storage"> |
272 | 272 | <Version>7.1.2</Version> |
273 | 273 | </PackageReference> |
274 | 274 | </ItemGroup> |
| 275 | + <Target Name="PopulateNuspec" BeforeTargets="GenerateNuspec"> |
| 276 | + <PropertyGroup> |
| 277 | + <PackageId Condition="'$(PackageId)' == ''">$(MSBuildProjectName)</PackageId> |
| 278 | + <Title Condition="'$(Title)' == ''">$(PackageId)</Title> |
| 279 | + <Authors>.NET Foundation</Authors> |
| 280 | + <PackageLicenseUrl>https://github.com/NuGet/NuGetGallery/blob/master/LICENSE.txt</PackageLicenseUrl> |
| 281 | + <PackageProjectUrl>https://github.com/NuGet/NuGetGallery</PackageProjectUrl> |
| 282 | + <Copyright>© .NET Foundation. All rights reserved.</Copyright> |
| 283 | + <IncludeSymbols Condition="'$(IncludeSymbols)' == ''">true</IncludeSymbols> |
| 284 | + <NoPackageAnalysis Condition="'$(NoPackageAnalysis)' == ''">true</NoPackageAnalysis> |
| 285 | + </PropertyGroup> |
| 286 | + </Target> |
275 | 287 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
276 | 288 | <PropertyGroup> |
277 | 289 | <SignPath>..\..\build</SignPath> |
|
0 commit comments