Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 822 Bytes

File metadata and controls

27 lines (21 loc) · 822 Bytes
title NuGet Error NU5036
description NU5036 Error code
author rrelyea
ms.author jodou
ms.date 8/8/2018
ms.topic reference
ms.reviewer anangaur
f1_keywords
NU5036

NuGet Error NU5036

This package has an improperly escaped Url in LicenseUrl

Issue

LicenseUrl metadata value in the nuspec file should be properly escaped. Some versions of nuget pack functionality have a problem which will be updated asap.

Solution

Use a fixed version of nuget pack functionality:

  • "NuGet.exe pack" - fixed in 4.9.1
  • "dotnet.exe pack" - broken in 2.1.500. No fix available yet. (don't use new License expression or file feature yet, to avoid problem.)
  • "msbuild /t:pack" - broken in Visual Studio 15.9.1. No fix available yet. (don't use new License expression or file feature yet, to avoid problem.)