Changing schema version to 8 to match NuGet internal value and adding a pack test for the --serviceable option.
This commit is contained in:
parent
8099e6b9f7
commit
391675c5b9
4 changed files with 49 additions and 5 deletions
|
@ -44,7 +44,7 @@ namespace NuGet
|
|||
/// <summary>
|
||||
/// Added serviceble element under metadata.
|
||||
/// </summary>
|
||||
internal const string SchemaVersionV7 = "http://schemas.microsoft.com/packaging/2016/06/nuspec.xsd";
|
||||
internal const string SchemaVersionV8 = "http://schemas.microsoft.com/packaging/2016/06/nuspec.xsd";
|
||||
|
||||
private static readonly string[] VersionToSchemaMappings = new[] {
|
||||
SchemaVersionV1,
|
||||
|
@ -53,7 +53,7 @@ namespace NuGet
|
|||
SchemaVersionV4,
|
||||
SchemaVersionV5,
|
||||
SchemaVersionV6,
|
||||
SchemaVersionV7
|
||||
SchemaVersionV8
|
||||
};
|
||||
|
||||
public static int GetVersionFromNamespace(string @namespace)
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace NuGet
|
|||
public const int TargetFrameworkSupportForDependencyContentsAndToolsVersion = 4;
|
||||
public const int TargetFrameworkSupportForReferencesVersion = 5;
|
||||
public const int XdtTransformationVersion = 6;
|
||||
public const int ServiceableVersion = 7;
|
||||
public const int ServiceableVersion = 8;
|
||||
|
||||
public static int GetManifestVersion(ManifestMetadata metadata)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue