Merge pull request #5808 from livarcocc/update_migrate_packages

Update packages used by migration to 1.0.4 and 1.1.1
This commit is contained in:
Livar 2017-02-22 21:35:16 -08:00 committed by GitHub
commit ead36caee1
7 changed files with 219 additions and 130 deletions

View file

@ -7,8 +7,8 @@ namespace Microsoft.DotNet.ProjectJsonMigration
{
public const string AspNetToolsVersion = "1.0.0";
public const string AspNet110ToolsVersion = "1.1.0";
public const string AspNetLTSPackagesVersion = "1.0.2";
public const string EntityFrameworkLTSPackagesVersion = "1.0.2";
public const string AspNetLTSPackagesVersion = "1.0.3";
public const string EntityFrameworkLTSPackagesVersion = "1.0.3";
public const string TestSdkPackageVersion = "15.0.0-preview-20170106-08";
public const string XUnitPackageVersion = "2.2.0-beta5-build3474";
public const string XUnitRunnerPackageVersion = "2.2.0-beta5-build1225";

View file

@ -23,6 +23,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration
var values = line.Split(',');
var packageName = values[0];
var ltsVersion = values[1];
var ftsVersion = values[2];
if (HasVersion(ltsVersion))
{
@ -38,6 +39,22 @@ namespace Microsoft.DotNet.ProjectJsonMigration
Version = ltsVersion
});
}
if(HasVersion(ftsVersion))
{
var version = HasVersion(ltsVersion) ? $"({ltsVersion},{ftsVersion})" : $"[,{ftsVersion})";
projectDependenciesPackages.Add(
new PackageDependencyInfo
{
Name = packageName,
Version = version
},
new PackageDependencyInfo
{
Name = packageName,
Version = ftsVersion
});
}
}
}
}

View file

@ -188,6 +188,30 @@ namespace Microsoft.DotNet.ProjectJsonMigration
Version = ConstantPackageVersions.AspNetToolsVersion
}
},
{
new PackageDependencyInfo
{
Name = "Microsoft.VisualStudio.Web.BrowserLink.Loader",
Version = "[14.1.0-*,)"
},
new PackageDependencyInfo
{
Name = "Microsoft.VisualStudio.Web.BrowserLink",
Version = "1.1.0"
}
},
{
new PackageDependencyInfo
{
Name = "Microsoft.VisualStudio.Web.BrowserLink.Loader",
Version = "[14.0.0-*,14.1.0)"
},
new PackageDependencyInfo
{
Name = "Microsoft.VisualStudio.Web.BrowserLink",
Version = "1.0.1"
}
},
{
new PackageDependencyInfo
{

View file

@ -1,123 +1,131 @@
Id,LtsVersion,CurrentVersion
Microsoft.NETCore.App,1.0.3,1.1.0
Microsoft.AspNetCore,1.0.3,1.1.0
Microsoft.AspNetCore.Authentication,1.0.1,1.1.0
Microsoft.AspNetCore.Authentication.Cookies,1.0.1,1.1.0
Microsoft.AspNetCore.Authentication.Facebook,1.0.1,1.1.0
Microsoft.AspNetCore.Authentication.Google,1.0.1,1.1.0
Microsoft.AspNetCore.Authentication.JwtBearer,1.0.1,1.1.0
Microsoft.AspNetCore.Authentication.MicrosoftAccount,1.0.1,1.1.0
Microsoft.AspNetCore.Authentication.OAuth,1.0.1,1.1.0
Microsoft.AspNetCore.Authentication.OpenIdConnect,1.0.1,1.1.0
Microsoft.AspNetCore.Authentication.Twitter,1.0.1,1.1.0
Microsoft.AspNetCore.CookiePolicy,1.0.1,1.1.0
Microsoft.AspNetCore.Cors,1.0.1,1.1.0
Microsoft.AspNetCore.DataProtection,1.0.1,1.1.0
Microsoft.AspNetCore.DataProtection.Extensions,1.0.1,1.1.0
Microsoft.AspNetCore.DataProtection.SystemWeb,1.0.1,1.1.0
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore,1.0.1,1.1.0
Microsoft.AspNetCore.Hosting.WindowsServices,1.0.1,1.1.0
Microsoft.AspNetCore.Html.Abstractions,1.0.1,1.1.0
Microsoft.AspNetCore.Identity.EntityFrameworkCore,1.0.1,1.1.0
Microsoft.AspNetCore.MiddlewareAnalysis,1.0.1,1.1.0
Microsoft.AspNetCore.Mvc,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.Abstractions,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.ApiExplorer,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.Formatters.Xml,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.WebApiCompatShim,1.0.2,1.1.0
Microsoft.AspNetCore.Owin,1.0.1,1.1.0
Microsoft.AspNetCore.Routing,1.0.2,1.1.0
Microsoft.AspNetCore.Routing.Abstractions,1.0.2,1.1.0
Microsoft.AspNetCore.Server.Kestrel.Https,1.0.2,1.1.0
Microsoft.AspNetCore.Session,1.0.1,1.1.0
Microsoft.AspNetCore.StaticFiles,1.0.1,1.1.0
Microsoft.AspNetCore.TestHost,1.0.1,1.1.0
Microsoft.NETCore.App,1.0.4,1.1.1
Microsoft.AspNetCore,1.0.4,1.1.1
Microsoft.AspNetCore.Authentication,1.0.2,1.1.1
Microsoft.AspNetCore.Authentication.Cookies,1.0.2,1.1.1
Microsoft.AspNetCore.Authentication.Facebook,1.0.2,1.1.1
Microsoft.AspNetCore.Authentication.Google,1.0.2,1.1.1
Microsoft.AspNetCore.Authentication.JwtBearer,1.0.2,1.1.1
Microsoft.AspNetCore.Authentication.MicrosoftAccount,1.0.2,1.1.1
Microsoft.AspNetCore.Authentication.OAuth,1.0.2,1.1.1
Microsoft.AspNetCore.Authentication.OpenIdConnect,1.0.2,1.1.1
Microsoft.AspNetCore.Authentication.Twitter,1.0.2,1.1.1
Microsoft.AspNetCore.Buffering,0.1.2,0.2.1
Microsoft.AspNetCore.CookiePolicy,1.0.2,1.1.1
Microsoft.AspNetCore.Cors,1.0.2,1.1.1
Microsoft.AspNetCore.DataProtection,1.0.2,1.1.1
Microsoft.AspNetCore.DataProtection.Extensions,1.0.2,1.1.1
Microsoft.AspNetCore.DataProtection.Redis,,0.1.1
Microsoft.AspNetCore.DataProtection.SystemWeb,1.0.2,1.1.1
Microsoft.AspNetCore.DataProtection.Sources,1.0.2,1.1.1
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore,1.0.2,1.1.1
Microsoft.AspNetCore.Diagnostics.Elm,0.1.2,0.2.1
Microsoft.AspNetCore.Hosting.WindowsServices,1.0.2,1.1.1
Microsoft.AspNetCore.Html.Abstractions,1.0.2,1.1.1
Microsoft.AspNetCore.Identity.EntityFrameworkCore,1.0.2,1.1.1
Microsoft.AspNetCore.MiddlewareAnalysis,1.0.2,1.1.1
Microsoft.AspNetCore.Mvc,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.Abstractions,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.ApiExplorer,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.Formatters.Xml,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.WebApiCompatShim,1.0.3,1.1.2
Microsoft.AspNetCore.Owin,1.0.2,1.1.1
Microsoft.AspNetCore.Routing,1.0.3,1.1.1
Microsoft.AspNetCore.Routing.Abstractions,1.0.3,1.1.1
Microsoft.AspNetCore.Routing.DecisionTree.Sources,1.0.3,1.1.1
Microsoft.AspNetCore.Server.Kestrel.Https,1.0.3,1.1.1
Microsoft.AspNetCore.Server.WebListener,1.0.2,1.1.1
Microsoft.AspNetCore.Session,1.0.2,1.1.1
Microsoft.AspNetCore.StaticFiles,1.0.2,1.1.1
Microsoft.AspNetCore.TestHost,1.0.2,1.1.1
Microsoft.AspNetCore.Testing,1.0.1,1.1.0-rtm-22752
Microsoft.AspNetCore.DiagnosticsViewPage.Sources,1.0.2,1.1.1
Microsoft.Data.Sqlite,1.0.1,1.1.0
Microsoft.EntityFrameworkCore,1.0.2,1.1.0
Microsoft.EntityFrameworkCore.Design,1.0.2,1.1.0
Microsoft.EntityFrameworkCore.InMemory,1.0.2,1.1.0
Microsoft.EntityFrameworkCore.Relational,1.0.2,1.1.0
Microsoft.EntityFrameworkCore.Relational.Design,1.0.2,1.1.0
Microsoft.EntityFrameworkCore.Sqlite,1.0.2,1.1.0
Microsoft.EntityFrameworkCore.Sqlite.Design,1.0.2,1.1.0
Microsoft.EntityFrameworkCore.SqlServer,1.0.2,1.1.0
Microsoft.EntityFrameworkCore.SqlServer.Design,1.0.2,1.1.0
Microsoft.Extensions.Caching.Memory,1.0.1,1.1.0
Microsoft.Extensions.Caching.Redis,1.0.1,1.1.0
Microsoft.Extensions.Caching.SqlServer,1.0.1,1.1.0
Microsoft.EntityFrameworkCore,1.0.3,1.1.1
Microsoft.EntityFrameworkCore.Design,1.0.3,1.1.1
Microsoft.EntityFrameworkCore.InMemory,1.0.3,1.1.1
Microsoft.EntityFrameworkCore.Relational,1.0.3,1.1.1
Microsoft.EntityFrameworkCore.Relational.Design,1.0.3,1.1.1
Microsoft.EntityFrameworkCore.Sqlite,1.0.3,1.1.1
Microsoft.EntityFrameworkCore.Sqlite.Design,1.0.3,1.1.1
Microsoft.EntityFrameworkCore.SqlServer,1.0.3,1.1.1
Microsoft.EntityFrameworkCore.SqlServer.Design,1.0.3,1.1.1
Microsoft.Extensions.Caching.Memory,1.0.2,1.1.1
Microsoft.Extensions.Caching.Redis,1.0.2,1.1.1
Microsoft.Extensions.Caching.SqlServer,1.0.2,1.1.1
Microsoft.Extensions.CommandLineUtils,1.0.1,1.1.0
Microsoft.Extensions.Configuration,1.0.1,1.1.0
Microsoft.Extensions.Configuration.Binder,1.0.1,1.1.0
Microsoft.Extensions.Configuration.CommandLine,1.0.1,1.1.0
Microsoft.Extensions.Configuration.EnvironmentVariables,1.0.1,1.1.0
Microsoft.Extensions.Configuration.FileExtensions,1.0.1,1.1.0
Microsoft.Extensions.Configuration.Ini,1.0.1,1.1.0
Microsoft.Extensions.Configuration.Json,1.0.1,1.1.0
Microsoft.Extensions.Configuration.UserSecrets,1.0.1,1.1.0
Microsoft.Extensions.Configuration.Xml,1.0.1,1.1.0
Microsoft.Extensions.DependencyInjection,1.0.1,1.1.0
Microsoft.Extensions.DiagnosticAdapter,1.0.1,1.1.0
Microsoft.Extensions.Configuration,1.0.2,1.1.1
Microsoft.Extensions.Configuration.Binder,1.0.2,1.1.1
Microsoft.Extensions.Configuration.CommandLine,1.0.2,1.1.1
Microsoft.Extensions.Configuration.EnvironmentVariables,1.0.2,1.1.1
Microsoft.Extensions.Configuration.FileExtensions,1.0.2,1.1.1
Microsoft.Extensions.Configuration.Ini,1.0.2,1.1.1
Microsoft.Extensions.Configuration.Json,1.0.2,1.1.1
Microsoft.Extensions.Configuration.UserSecrets,1.0.2,1.1.1
Microsoft.Extensions.Configuration.Xml,1.0.2,1.1.1
Microsoft.Extensions.DependencyInjection,1.0.2,1.1.0
Microsoft.Extensions.DiagnosticAdapter,1.0.2,1.1.0
Microsoft.Extensions.FileProviders.Composite,1.0.1,1.1.0
Microsoft.Extensions.FileProviders.Embedded,1.0.1,1.1.0
Microsoft.Extensions.FileProviders.Physical,1.0.1,1.1.0
Microsoft.Extensions.FileSystemGlobbing,1.0.1,1.1.0
Microsoft.Extensions.Globalization.CultureInfoCache,1.0.1,1.1.0
Microsoft.Extensions.Localization,1.0.1,1.1.0
Microsoft.Extensions.Logging,1.0.1,1.1.0
Microsoft.Extensions.Logging.Console,1.0.1,1.1.0
Microsoft.Extensions.Logging.Debug,1.0.1,1.1.0
Microsoft.Extensions.Logging.Filter,1.0.1,1.1.0
Microsoft.Extensions.Logging.TraceSource,1.0.1,1.1.0
Microsoft.VisualStudio.Web.BrowserLink,1.0.0,1.0.0
Microsoft.VisualStudio.Web.BrowserLink.Loader,14.0.1,14.1.0
Microsoft.AspNetCore.AzureAppServicesIntegration,,1.0.0
Microsoft.AspNetCore.DataProtection.AzureStorage,,1.0.0
Microsoft.AspNetCore.Localization.Routing,,1.1.0
Microsoft.AspNetCore.Rewrite,,1.0.0
Microsoft.AspNetCore.ResponseCaching,,1.1.0
Microsoft.AspNetCore.ResponseCompression,,1.0.0
Microsoft.AspNetCore.WebSockets,,1.0.0
Microsoft.Extensions.Logging.AzureAppServices,,1.0.0
Microsoft.Extensions.Configuration.AzureKeyVault,,1.0.0
Microsoft.Extensions.Logging.EventSource,,1.1.0
Microsoft.Extensions.Globalization.CultureInfoCache,1.0.2,1.1.1
Microsoft.Extensions.Localization,1.0.2,1.1.1
Microsoft.Extensions.Logging,1.0.2,1.1.1
Microsoft.Extensions.Logging.Console,1.0.2,1.1.1
Microsoft.Extensions.Logging.Debug,1.0.2,1.1.1
Microsoft.Extensions.Logging.Filter,1.0.2,1.1.1
Microsoft.Extensions.Logging.TraceSource,1.0.2,1.1.1
Microsoft.Extensions.Logging.EventLog,1.0.2,1.1.1
Microsoft.VisualStudio.Web.BrowserLink,1.0.1,1.1.0
Microsoft.AspNetCore.AzureAppServicesIntegration,,1.0.1
Microsoft.AspNetCore.DataProtection.AzureStorage,,1.0.1
Microsoft.AspNetCore.Localization.Routing,,1.1.1
Microsoft.AspNetCore.Rewrite,,1.0.1
Microsoft.AspNetCore.ResponseCaching,1.0.1,1.1.1
Microsoft.AspNetCore.ResponseCompression,,1.0.1
Microsoft.AspNetCore.WebSockets,,1.0.1
Microsoft.Extensions.Logging.AzureAppServices,,1.0.1
Microsoft.Extensions.Configuration.AzureKeyVault,,1.0.1
Microsoft.Extensions.Logging.EventSource,,1.1.1
System.ServiceModel.Duplex,4.0.1,4.3.0
System.ServiceModel.Http,4.1.0,4.3.0
System.ServiceModel.NetTcp,4.1.0,4.3.0
System.ServiceModel.Security,4.0.1,4.3.0
Libuv,1.9.1,1.9.1
Microsoft.AspNet.WebApi.Client,5.2.2,5.2.2
Microsoft.AspNetCore.Antiforgery,1.0.2,1.1.0
Microsoft.AspNetCore.Authorization,1.0.1,1.1.0
Microsoft.AspNetCore.Cryptography.Internal,1.0.1,1.1.0
Microsoft.AspNetCore.Cryptography.KeyDerivation,1.0.1,1.1.0
Microsoft.AspNetCore.DataProtection.Abstractions,1.0.1,1.1.0
Microsoft.AspNetCore.Diagnostics,1.0.1,1.1.0
Microsoft.AspNetCore.Diagnostics.Abstractions,1.0.1,1.1.0
Microsoft.AspNetCore.Hosting,1.0.1,1.1.0
Microsoft.AspNetCore.Hosting.Abstractions,1.0.1,1.1.0
Microsoft.AspNetCore.Hosting.Server.Abstractions,1.0.1,1.1.0
Microsoft.AspNetCore.Http,1.0.1,1.1.0
Microsoft.AspNetCore.Http.Abstractions,1.0.1,1.1.0
Microsoft.AspNetCore.Http.Extensions,1.0.1,1.1.0
Microsoft.AspNetCore.Http.Features,1.0.1,1.1.0
Microsoft.AspNetCore.HttpOverrides,1.0.1,1.1.0
Microsoft.AspNetCore.Identity,1.0.1,1.1.0
Microsoft.AspNetCore.JsonPatch,1.0.0,1.1.0
Microsoft.AspNetCore.Localization,1.0.1,1.1.0
Microsoft.AspNetCore.Mvc.Core,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.Cors,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.DataAnnotations,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.Formatters.Json,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.Localization,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.Razor,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.Razor.Host,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.TagHelpers,1.0.2,1.1.0
Microsoft.AspNetCore.Mvc.ViewFeatures,1.0.2,1.1.0
Microsoft.AspNetCore.Razor,1.0.1,1.1.0
Microsoft.AspNetCore.Razor.Runtime,1.0.1,1.1.0
Microsoft.AspNetCore.Server.IISIntegration,1.0.1,1.1.0
Microsoft.AspNetCore.Server.Kestrel,1.0.2,1.1.0
Microsoft.AspNetCore.WebUtilities,1.0.1,1.1.0
Microsoft.AspNetCore.Antiforgery,1.0.3,1.1.1
Microsoft.AspNetCore.Authorization,1.0.2,1.1.1
Microsoft.AspNetCore.Cryptography.Internal,1.0.2,1.1.1
Microsoft.AspNetCore.Cryptography.KeyDerivation,1.0.2,1.1.1
Microsoft.AspNetCore.DataProtection.Abstractions,1.0.2,1.1.1
Microsoft.AspNetCore.Diagnostics,1.0.2,1.1.1
Microsoft.AspNetCore.Diagnostics.Abstractions,1.0.2,1.1.1
Microsoft.AspNetCore.Hosting,1.0.2,1.1.1
Microsoft.AspNetCore.Hosting.Abstractions,1.0.2,1.1.1
Microsoft.AspNetCore.Hosting.Server.Abstractions,1.0.2,1.1.1
Microsoft.AspNetCore.Http,1.0.2,1.1.1
Microsoft.AspNetCore.Http.Abstractions,1.0.2,1.1.1
Microsoft.AspNetCore.Http.Extensions,1.0.2,1.1.1
Microsoft.AspNetCore.Http.Features,1.0.2,1.1.1
Microsoft.AspNetCore.HttpOverrides,1.0.2,1.1.1
Microsoft.AspNetCore.Identity,1.0.2,1.1.1
Microsoft.AspNetCore.JsonPatch,1.0.0,1.1.1
Microsoft.AspNetCore.Localization,1.0.2,1.1.1
Microsoft.AspNetCore.Mvc.Core,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.Cors,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.DataAnnotations,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.Formatters.Json,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.Localization,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.Razor,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.Razor.Host,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.TagHelpers,1.0.3,1.1.2
Microsoft.AspNetCore.Mvc.ViewFeatures,1.0.3,1.1.2
Microsoft.AspNetCore.Razor,1.0.2,1.1.1
Microsoft.AspNetCore.Razor.Runtime,1.0.2,1.1.1
Microsoft.AspNetCore.Server.IISIntegration,1.0.2,1.1.1
Microsoft.AspNetCore.Server.Kestrel,1.0.3,1.1.1
Microsoft.AspNetCore.WebUtilities,1.0.2,1.1.1
Microsoft.Bcl,1.1.9,1.1.9
Microsoft.Bcl.Build,1.0.14,1.0.14
Microsoft.CodeAnalysis.Analyzers,1.1.0,1.1.0
@ -126,25 +134,26 @@ Microsoft.CodeAnalysis.CSharp,1.3.0,1.3.0
Microsoft.CodeAnalysis.VisualBasic,1.3.0,1.3.0
Microsoft.CSharp,4.0.1,4.3.0
Microsoft.DotNet.InternalAbstractions,1.0.0,
Microsoft.Extensions.Caching.Abstractions,1.0.1,1.1.0
Microsoft.Extensions.Configuration.Abstractions,1.0.1,1.1.0
Microsoft.Extensions.DependencyInjection.Abstractions,1.0.1,1.1.0
Microsoft.Extensions.Caching.Abstractions,1.0.2,1.1.1
Microsoft.Extensions.Configuration.Abstractions,1.0.2,1.1.1
Microsoft.Extensions.DependencyInjection.Abstractions,1.0.2,1.1.0
Microsoft.Extensions.DependencyModel,1.0.0,1.1.0
Microsoft.Extensions.FileProviders.Abstractions,1.0.1,1.1.0
Microsoft.Extensions.Localization.Abstractions,1.0.1,1.1.0
Microsoft.Extensions.Logging.Abstractions,1.0.1,1.1.0
Microsoft.Extensions.Localization.Abstractions,1.0.2,1.1.1
Microsoft.Extensions.Logging.Abstractions,1.0.2,1.1.1
Microsoft.Extensions.ObjectPool,1.0.1,1.1.0
Microsoft.Extensions.Options,1.0.1,1.1.0
Microsoft.Extensions.Options.ConfigurationExtensions,1.0.1,1.1.0
Microsoft.Extensions.Options,1.0.2,1.1.1
Microsoft.Extensions.Options.ConfigurationExtensions,1.0.2,1.1.1
Microsoft.Extensions.PlatformAbstractions,1.0.0,1.1.0
Microsoft.Extensions.Primitives,1.0.1,1.1.0
Microsoft.Extensions.WebEncoders,1.0.1,1.1.0
Microsoft.Extensions.WebEncoders,1.0.2,1.1.1
Microsoft.IdentityModel.Logging,1.0.0,1.1.0
Microsoft.IdentityModel.Protocols,2.0.0,2.1.0
Microsoft.IdentityModel.Protocols.OpenIdConnect,2.0.0,2.1.0
Microsoft.IdentityModel.Tokens,5.0.0,5.1.0
Microsoft.Net.Http,2.2.22,2.2.22
Microsoft.Net.Http.Headers,1.0.1,1.1.0
Microsoft.Net.Http.Headers,1.0.2,1.1.1
Microsoft.Net.Http.Server,1.0.2,1.1.1
Microsoft.NETCore.DotNetHost,1.0.1,1.1.0
Microsoft.NETCore.DotNetHostPolicy,1.0.3,1.1.0
Microsoft.NETCore.DotNetHostResolver,1.0.1,1.1.0
@ -275,7 +284,7 @@ System.Xml.XmlDocument,4.0.1,4.3.0
System.Xml.XmlSerializer,4.0.11,4.3.0
System.Xml.XPath,4.0.1,4.0.1
System.Xml.XPath.XDocument,4.0.1,4.0.1
Microsoft.AspNetCore.ResponseCaching.Abstractions,,1.1.0
Microsoft.AspNetCore.ResponseCaching.Abstractions,1.0.1,1.1.1
Microsoft.Azure.KeyVault,,2.0.2-preview
Microsoft.Azure.KeyVault.WebKey,,2.0.0-preview
Microsoft.Data.Edm,,5.6.4

1 Id LtsVersion CurrentVersion
2 Microsoft.NETCore.App 1.0.3 1.0.4 1.1.0 1.1.1
3 Microsoft.AspNetCore 1.0.3 1.0.4 1.1.0 1.1.1
4 Microsoft.AspNetCore.Authentication 1.0.1 1.0.2 1.1.0 1.1.1
5 Microsoft.AspNetCore.Authentication.Cookies 1.0.1 1.0.2 1.1.0 1.1.1
6 Microsoft.AspNetCore.Authentication.Facebook 1.0.1 1.0.2 1.1.0 1.1.1
7 Microsoft.AspNetCore.Authentication.Google 1.0.1 1.0.2 1.1.0 1.1.1
8 Microsoft.AspNetCore.Authentication.JwtBearer 1.0.1 1.0.2 1.1.0 1.1.1
9 Microsoft.AspNetCore.Authentication.MicrosoftAccount 1.0.1 1.0.2 1.1.0 1.1.1
10 Microsoft.AspNetCore.Authentication.OAuth 1.0.1 1.0.2 1.1.0 1.1.1
11 Microsoft.AspNetCore.Authentication.OpenIdConnect 1.0.1 1.0.2 1.1.0 1.1.1
12 Microsoft.AspNetCore.Authentication.Twitter 1.0.1 1.0.2 1.1.0 1.1.1
13 Microsoft.AspNetCore.CookiePolicy Microsoft.AspNetCore.Buffering 1.0.1 0.1.2 1.1.0 0.2.1
14 Microsoft.AspNetCore.Cors Microsoft.AspNetCore.CookiePolicy 1.0.1 1.0.2 1.1.0 1.1.1
15 Microsoft.AspNetCore.DataProtection Microsoft.AspNetCore.Cors 1.0.1 1.0.2 1.1.0 1.1.1
16 Microsoft.AspNetCore.DataProtection.Extensions Microsoft.AspNetCore.DataProtection 1.0.1 1.0.2 1.1.0 1.1.1
17 Microsoft.AspNetCore.DataProtection.SystemWeb Microsoft.AspNetCore.DataProtection.Extensions 1.0.1 1.0.2 1.1.0 1.1.1
18 Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore Microsoft.AspNetCore.DataProtection.Redis 1.0.1 1.1.0 0.1.1
19 Microsoft.AspNetCore.Hosting.WindowsServices Microsoft.AspNetCore.DataProtection.SystemWeb 1.0.1 1.0.2 1.1.0 1.1.1
20 Microsoft.AspNetCore.Html.Abstractions Microsoft.AspNetCore.DataProtection.Sources 1.0.1 1.0.2 1.1.0 1.1.1
21 Microsoft.AspNetCore.Identity.EntityFrameworkCore Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore 1.0.1 1.0.2 1.1.0 1.1.1
22 Microsoft.AspNetCore.MiddlewareAnalysis Microsoft.AspNetCore.Diagnostics.Elm 1.0.1 0.1.2 1.1.0 0.2.1
23 Microsoft.AspNetCore.Mvc Microsoft.AspNetCore.Hosting.WindowsServices 1.0.2 1.1.0 1.1.1
24 Microsoft.AspNetCore.Mvc.Abstractions Microsoft.AspNetCore.Html.Abstractions 1.0.2 1.1.0 1.1.1
25 Microsoft.AspNetCore.Mvc.ApiExplorer Microsoft.AspNetCore.Identity.EntityFrameworkCore 1.0.2 1.1.0 1.1.1
26 Microsoft.AspNetCore.Mvc.Formatters.Xml Microsoft.AspNetCore.MiddlewareAnalysis 1.0.2 1.1.0 1.1.1
27 Microsoft.AspNetCore.Mvc.WebApiCompatShim Microsoft.AspNetCore.Mvc 1.0.2 1.0.3 1.1.0 1.1.2
28 Microsoft.AspNetCore.Owin Microsoft.AspNetCore.Mvc.Abstractions 1.0.1 1.0.3 1.1.0 1.1.2
29 Microsoft.AspNetCore.Routing Microsoft.AspNetCore.Mvc.ApiExplorer 1.0.2 1.0.3 1.1.0 1.1.2
30 Microsoft.AspNetCore.Routing.Abstractions Microsoft.AspNetCore.Mvc.Formatters.Xml 1.0.2 1.0.3 1.1.0 1.1.2
31 Microsoft.AspNetCore.Server.Kestrel.Https Microsoft.AspNetCore.Mvc.WebApiCompatShim 1.0.2 1.0.3 1.1.0 1.1.2
32 Microsoft.AspNetCore.Session Microsoft.AspNetCore.Owin 1.0.1 1.0.2 1.1.0 1.1.1
33 Microsoft.AspNetCore.StaticFiles Microsoft.AspNetCore.Routing 1.0.1 1.0.3 1.1.0 1.1.1
34 Microsoft.AspNetCore.TestHost Microsoft.AspNetCore.Routing.Abstractions 1.0.1 1.0.3 1.1.0 1.1.1
35 Microsoft.AspNetCore.Routing.DecisionTree.Sources 1.0.3 1.1.1
36 Microsoft.AspNetCore.Server.Kestrel.Https 1.0.3 1.1.1
37 Microsoft.AspNetCore.Server.WebListener 1.0.2 1.1.1
38 Microsoft.AspNetCore.Session 1.0.2 1.1.1
39 Microsoft.AspNetCore.StaticFiles 1.0.2 1.1.1
40 Microsoft.AspNetCore.TestHost 1.0.2 1.1.1
41 Microsoft.AspNetCore.Testing 1.0.1 1.1.0-rtm-22752
42 Microsoft.AspNetCore.DiagnosticsViewPage.Sources 1.0.2 1.1.1
43 Microsoft.Data.Sqlite 1.0.1 1.1.0
44 Microsoft.EntityFrameworkCore 1.0.2 1.0.3 1.1.0 1.1.1
45 Microsoft.EntityFrameworkCore.Design 1.0.2 1.0.3 1.1.0 1.1.1
46 Microsoft.EntityFrameworkCore.InMemory 1.0.2 1.0.3 1.1.0 1.1.1
47 Microsoft.EntityFrameworkCore.Relational 1.0.2 1.0.3 1.1.0 1.1.1
48 Microsoft.EntityFrameworkCore.Relational.Design 1.0.2 1.0.3 1.1.0 1.1.1
49 Microsoft.EntityFrameworkCore.Sqlite 1.0.2 1.0.3 1.1.0 1.1.1
50 Microsoft.EntityFrameworkCore.Sqlite.Design 1.0.2 1.0.3 1.1.0 1.1.1
51 Microsoft.EntityFrameworkCore.SqlServer 1.0.2 1.0.3 1.1.0 1.1.1
52 Microsoft.EntityFrameworkCore.SqlServer.Design 1.0.2 1.0.3 1.1.0 1.1.1
53 Microsoft.Extensions.Caching.Memory 1.0.1 1.0.2 1.1.0 1.1.1
54 Microsoft.Extensions.Caching.Redis 1.0.1 1.0.2 1.1.0 1.1.1
55 Microsoft.Extensions.Caching.SqlServer 1.0.1 1.0.2 1.1.0 1.1.1
56 Microsoft.Extensions.CommandLineUtils 1.0.1 1.1.0
57 Microsoft.Extensions.Configuration 1.0.1 1.0.2 1.1.0 1.1.1
58 Microsoft.Extensions.Configuration.Binder 1.0.1 1.0.2 1.1.0 1.1.1
59 Microsoft.Extensions.Configuration.CommandLine 1.0.1 1.0.2 1.1.0 1.1.1
60 Microsoft.Extensions.Configuration.EnvironmentVariables 1.0.1 1.0.2 1.1.0 1.1.1
61 Microsoft.Extensions.Configuration.FileExtensions 1.0.1 1.0.2 1.1.0 1.1.1
62 Microsoft.Extensions.Configuration.Ini 1.0.1 1.0.2 1.1.0 1.1.1
63 Microsoft.Extensions.Configuration.Json 1.0.1 1.0.2 1.1.0 1.1.1
64 Microsoft.Extensions.Configuration.UserSecrets 1.0.1 1.0.2 1.1.0 1.1.1
65 Microsoft.Extensions.Configuration.Xml 1.0.1 1.0.2 1.1.0 1.1.1
66 Microsoft.Extensions.DependencyInjection 1.0.1 1.0.2 1.1.0
67 Microsoft.Extensions.DiagnosticAdapter 1.0.1 1.0.2 1.1.0
68 Microsoft.Extensions.FileProviders.Composite 1.0.1 1.1.0
69 Microsoft.Extensions.FileProviders.Embedded 1.0.1 1.1.0
70 Microsoft.Extensions.FileProviders.Physical 1.0.1 1.1.0
71 Microsoft.Extensions.FileSystemGlobbing 1.0.1 1.1.0
72 Microsoft.Extensions.Globalization.CultureInfoCache 1.0.1 1.0.2 1.1.0 1.1.1
73 Microsoft.Extensions.Localization 1.0.1 1.0.2 1.1.0 1.1.1
74 Microsoft.Extensions.Logging 1.0.1 1.0.2 1.1.0 1.1.1
75 Microsoft.Extensions.Logging.Console 1.0.1 1.0.2 1.1.0 1.1.1
76 Microsoft.Extensions.Logging.Debug 1.0.1 1.0.2 1.1.0 1.1.1
77 Microsoft.Extensions.Logging.Filter 1.0.1 1.0.2 1.1.0 1.1.1
78 Microsoft.Extensions.Logging.TraceSource 1.0.1 1.0.2 1.1.0 1.1.1
79 Microsoft.VisualStudio.Web.BrowserLink Microsoft.Extensions.Logging.EventLog 1.0.0 1.0.2 1.0.0 1.1.1
80 Microsoft.VisualStudio.Web.BrowserLink.Loader Microsoft.VisualStudio.Web.BrowserLink 14.0.1 1.0.1 14.1.0 1.1.0
81 Microsoft.AspNetCore.AzureAppServicesIntegration 1.0.0 1.0.1
82 Microsoft.AspNetCore.DataProtection.AzureStorage 1.0.0 1.0.1
83 Microsoft.AspNetCore.Localization.Routing 1.1.0 1.1.1
84 Microsoft.AspNetCore.Rewrite 1.0.0 1.0.1
85 Microsoft.AspNetCore.ResponseCaching 1.0.1 1.1.0 1.1.1
86 Microsoft.AspNetCore.ResponseCompression 1.0.0 1.0.1
87 Microsoft.AspNetCore.WebSockets 1.0.0 1.0.1
88 Microsoft.Extensions.Logging.AzureAppServices 1.0.0 1.0.1
89 Microsoft.Extensions.Configuration.AzureKeyVault 1.0.0 1.0.1
90 Microsoft.Extensions.Logging.EventSource 1.1.0 1.1.1
91 System.ServiceModel.Duplex 4.0.1 4.3.0
92 System.ServiceModel.Http 4.1.0 4.3.0
93 System.ServiceModel.NetTcp 4.1.0 4.3.0
94 System.ServiceModel.Security 4.0.1 4.3.0
95 Libuv 1.9.1 1.9.1
96 Microsoft.AspNet.WebApi.Client 5.2.2 5.2.2
97 Microsoft.AspNetCore.Antiforgery 1.0.2 1.0.3 1.1.0 1.1.1
98 Microsoft.AspNetCore.Authorization 1.0.1 1.0.2 1.1.0 1.1.1
99 Microsoft.AspNetCore.Cryptography.Internal 1.0.1 1.0.2 1.1.0 1.1.1
100 Microsoft.AspNetCore.Cryptography.KeyDerivation 1.0.1 1.0.2 1.1.0 1.1.1
101 Microsoft.AspNetCore.DataProtection.Abstractions 1.0.1 1.0.2 1.1.0 1.1.1
102 Microsoft.AspNetCore.Diagnostics 1.0.1 1.0.2 1.1.0 1.1.1
103 Microsoft.AspNetCore.Diagnostics.Abstractions 1.0.1 1.0.2 1.1.0 1.1.1
104 Microsoft.AspNetCore.Hosting 1.0.1 1.0.2 1.1.0 1.1.1
105 Microsoft.AspNetCore.Hosting.Abstractions 1.0.1 1.0.2 1.1.0 1.1.1
106 Microsoft.AspNetCore.Hosting.Server.Abstractions 1.0.1 1.0.2 1.1.0 1.1.1
107 Microsoft.AspNetCore.Http 1.0.1 1.0.2 1.1.0 1.1.1
108 Microsoft.AspNetCore.Http.Abstractions 1.0.1 1.0.2 1.1.0 1.1.1
109 Microsoft.AspNetCore.Http.Extensions 1.0.1 1.0.2 1.1.0 1.1.1
110 Microsoft.AspNetCore.Http.Features 1.0.1 1.0.2 1.1.0 1.1.1
111 Microsoft.AspNetCore.HttpOverrides 1.0.1 1.0.2 1.1.0 1.1.1
112 Microsoft.AspNetCore.Identity 1.0.1 1.0.2 1.1.0 1.1.1
113 Microsoft.AspNetCore.JsonPatch 1.0.0 1.1.0 1.1.1
114 Microsoft.AspNetCore.Localization 1.0.1 1.0.2 1.1.0 1.1.1
115 Microsoft.AspNetCore.Mvc.Core 1.0.2 1.0.3 1.1.0 1.1.2
116 Microsoft.AspNetCore.Mvc.Cors 1.0.2 1.0.3 1.1.0 1.1.2
117 Microsoft.AspNetCore.Mvc.DataAnnotations 1.0.2 1.0.3 1.1.0 1.1.2
118 Microsoft.AspNetCore.Mvc.Formatters.Json 1.0.2 1.0.3 1.1.0 1.1.2
119 Microsoft.AspNetCore.Mvc.Localization 1.0.2 1.0.3 1.1.0 1.1.2
120 Microsoft.AspNetCore.Mvc.Razor 1.0.2 1.0.3 1.1.0 1.1.2
121 Microsoft.AspNetCore.Mvc.Razor.Host 1.0.2 1.0.3 1.1.0 1.1.2
122 Microsoft.AspNetCore.Mvc.TagHelpers 1.0.2 1.0.3 1.1.0 1.1.2
123 Microsoft.AspNetCore.Mvc.ViewFeatures 1.0.2 1.0.3 1.1.0 1.1.2
124 Microsoft.AspNetCore.Razor 1.0.1 1.0.2 1.1.0 1.1.1
125 Microsoft.AspNetCore.Razor.Runtime 1.0.1 1.0.2 1.1.0 1.1.1
126 Microsoft.AspNetCore.Server.IISIntegration 1.0.1 1.0.2 1.1.0 1.1.1
127 Microsoft.AspNetCore.Server.Kestrel 1.0.2 1.0.3 1.1.0 1.1.1
128 Microsoft.AspNetCore.WebUtilities 1.0.1 1.0.2 1.1.0 1.1.1
129 Microsoft.Bcl 1.1.9 1.1.9
130 Microsoft.Bcl.Build 1.0.14 1.0.14
131 Microsoft.CodeAnalysis.Analyzers 1.1.0 1.1.0
134 Microsoft.CodeAnalysis.VisualBasic 1.3.0 1.3.0
135 Microsoft.CSharp 4.0.1 4.3.0
136 Microsoft.DotNet.InternalAbstractions 1.0.0
137 Microsoft.Extensions.Caching.Abstractions 1.0.1 1.0.2 1.1.0 1.1.1
138 Microsoft.Extensions.Configuration.Abstractions 1.0.1 1.0.2 1.1.0 1.1.1
139 Microsoft.Extensions.DependencyInjection.Abstractions 1.0.1 1.0.2 1.1.0
140 Microsoft.Extensions.DependencyModel 1.0.0 1.1.0
141 Microsoft.Extensions.FileProviders.Abstractions 1.0.1 1.1.0
142 Microsoft.Extensions.Localization.Abstractions 1.0.1 1.0.2 1.1.0 1.1.1
143 Microsoft.Extensions.Logging.Abstractions 1.0.1 1.0.2 1.1.0 1.1.1
144 Microsoft.Extensions.ObjectPool 1.0.1 1.1.0
145 Microsoft.Extensions.Options 1.0.1 1.0.2 1.1.0 1.1.1
146 Microsoft.Extensions.Options.ConfigurationExtensions 1.0.1 1.0.2 1.1.0 1.1.1
147 Microsoft.Extensions.PlatformAbstractions 1.0.0 1.1.0
148 Microsoft.Extensions.Primitives 1.0.1 1.1.0
149 Microsoft.Extensions.WebEncoders 1.0.1 1.0.2 1.1.0 1.1.1
150 Microsoft.IdentityModel.Logging 1.0.0 1.1.0
151 Microsoft.IdentityModel.Protocols 2.0.0 2.1.0
152 Microsoft.IdentityModel.Protocols.OpenIdConnect 2.0.0 2.1.0
153 Microsoft.IdentityModel.Tokens 5.0.0 5.1.0
154 Microsoft.Net.Http 2.2.22 2.2.22
155 Microsoft.Net.Http.Headers 1.0.1 1.0.2 1.1.0 1.1.1
156 Microsoft.Net.Http.Server 1.0.2 1.1.1
157 Microsoft.NETCore.DotNetHost 1.0.1 1.1.0
158 Microsoft.NETCore.DotNetHostPolicy 1.0.3 1.1.0
159 Microsoft.NETCore.DotNetHostResolver 1.0.1 1.1.0
284 System.Xml.XmlSerializer 4.0.11 4.3.0
285 System.Xml.XPath 4.0.1 4.0.1
286 System.Xml.XPath.XDocument 4.0.1 4.0.1
287 Microsoft.AspNetCore.ResponseCaching.Abstractions 1.0.1 1.1.0 1.1.1
288 Microsoft.Azure.KeyVault 2.0.2-preview
289 Microsoft.Azure.KeyVault.WebKey 2.0.0-preview
290 Microsoft.Data.Edm 5.6.4

View file

@ -414,7 +414,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
mockProj.Items.Should().NotContain(
i => i.Include == "Microsoft.NETCore.App" && i.ItemType == "PackageReference");
mockProj.Properties.Should().ContainSingle(p => p.Name == "RuntimeFrameworkVersion").Which.Value.Should().Be("1.1.0");
mockProj.Properties.Should().ContainSingle(p => p.Name == "RuntimeFrameworkVersion").Which.Value.Should().Be("1.1.1");
}
[Fact]
@ -436,7 +436,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
mockProj.Items.Should().NotContain(
i => i.Include == "Microsoft.NETCore.App" && i.ItemType == "PackageReference");
var runtimeFrameworkVersion = mockProj.Properties.Should().ContainSingle(p => p.Name == "RuntimeFrameworkVersion").Which;
runtimeFrameworkVersion.Value.Should().Be("1.1.0");
runtimeFrameworkVersion.Value.Should().Be("1.1.1");
runtimeFrameworkVersion.Condition.Should().Contain("netcoreapp1.0");
}
@ -457,7 +457,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
mockProj.Items.Should().NotContain(
i => i.Include == "Microsoft.NETCore.App" && i.ItemType == "PackageReference");
var runtimeFrameworkVersion = mockProj.Properties.Should().ContainSingle(p => p.Name == "RuntimeFrameworkVersion").Which;
runtimeFrameworkVersion.Value.Should().Be("1.1.0");
runtimeFrameworkVersion.Value.Should().Be("1.1.1");
runtimeFrameworkVersion.Condition.Should().BeEmpty();
}

View file

@ -9,11 +9,13 @@ using System;
namespace Microsoft.DotNet.ProjectJsonMigration.Tests
{
public class GivenThatIWantToMigratePackagesToTheirLTSVersions : PackageDependenciesTestBase
public class GivenThatIWantToMigratePackagesToTheirLTSAndFTSVersions : PackageDependenciesTestBase
{
[Theory]
[InlineData("1.0.0", "1.0.3")]
[InlineData("1.0.3-preview2", "1.0.3")]
[InlineData("1.0.0", "1.0.4")]
[InlineData("1.0.3-preview2", "1.0.4")]
[InlineData("1.1.0", "1.1.1")]
[InlineData("1.1.1-preview2", "1.1.1")]
public void ItUpliftsMicrosoftNETCoreAppMetaPackages(
string sourceVersion,
string targetVersion)
@ -74,6 +76,25 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
[InlineData("Microsoft.AspNetCore.Routing.Abstractions", "1.0.0", "Microsoft.AspNetCore.Routing.Abstractions", ConstantPackageVersions.AspNetLTSPackagesVersion)]
[InlineData("Microsoft.AspNetCore.Server.Kestrel", "1.0.0", "Microsoft.AspNetCore.Server.Kestrel", ConstantPackageVersions.AspNetLTSPackagesVersion)]
[InlineData("Microsoft.AspNetCore.Server.Kestrel.Https", "1.0.0", "Microsoft.AspNetCore.Server.Kestrel.Https", ConstantPackageVersions.AspNetLTSPackagesVersion)]
[InlineData("Microsoft.AspNetCore.Antiforgery", "1.1.0", "Microsoft.AspNetCore.Antiforgery", "1.1.1")]
[InlineData("Microsoft.AspNetCore.Mvc", "1.1.0", "Microsoft.AspNetCore.Mvc", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.Abstractions", "1.1.0", "Microsoft.AspNetCore.Mvc.Abstractions", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.ApiExplorer", "1.1.0", "Microsoft.AspNetCore.Mvc.ApiExplorer", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.Core", "1.1.0", "Microsoft.AspNetCore.Mvc.Core", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.Cors", "1.1.0", "Microsoft.AspNetCore.Mvc.Cors", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.DataAnnotations", "1.1.0", "Microsoft.AspNetCore.Mvc.DataAnnotations", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.Formatters.Json", "1.1.0", "Microsoft.AspNetCore.Mvc.Formatters.Json", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.Formatters.Xml", "1.1.0", "Microsoft.AspNetCore.Mvc.Formatters.Xml", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.Localization", "1.1.0", "Microsoft.AspNetCore.Mvc.Localization", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.Razor", "1.1.0", "Microsoft.AspNetCore.Mvc.Razor", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.Razor.Host", "1.1.0", "Microsoft.AspNetCore.Mvc.Razor.Host", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.TagHelpers", "1.1.0", "Microsoft.AspNetCore.Mvc.TagHelpers", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.ViewFeatures", "1.1.0", "Microsoft.AspNetCore.Mvc.ViewFeatures", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Mvc.WebApiCompatShim", "1.1.0", "Microsoft.AspNetCore.Mvc.WebApiCompatShim", "1.1.2")]
[InlineData("Microsoft.AspNetCore.Routing", "1.1.0", "Microsoft.AspNetCore.Routing", "1.1.1")]
[InlineData("Microsoft.AspNetCore.Routing.Abstractions", "1.1.0", "Microsoft.AspNetCore.Routing.Abstractions", "1.1.1")]
[InlineData("Microsoft.AspNetCore.Server.Kestrel", "1.1.0", "Microsoft.AspNetCore.Server.Kestrel", "1.1.1")]
[InlineData("Microsoft.AspNetCore.Server.Kestrel.Https", "1.1.0", "Microsoft.AspNetCore.Server.Kestrel.Https", "1.1.1")]
public void ItUpliftsAspNetCorePackages(
string sourcePackageName,
string sourceVersion,
@ -92,6 +113,14 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
[InlineData("Microsoft.EntityFrameworkCore.Sqlite.Design", "1.0.0", "Microsoft.EntityFrameworkCore.Sqlite.Design", ConstantPackageVersions.EntityFrameworkLTSPackagesVersion)]
[InlineData("Microsoft.EntityFrameworkCore.SqlServer", "1.0.0", "Microsoft.EntityFrameworkCore.SqlServer", ConstantPackageVersions.EntityFrameworkLTSPackagesVersion)]
[InlineData("Microsoft.EntityFrameworkCore.SqlServer.Design", "1.0.0", "Microsoft.EntityFrameworkCore.SqlServer.Design", ConstantPackageVersions.EntityFrameworkLTSPackagesVersion)]
[InlineData("Microsoft.EntityFrameworkCore", "1.1.0", "Microsoft.EntityFrameworkCore", "1.1.1")]
[InlineData("Microsoft.EntityFrameworkCore.InMemory", "1.1.0", "Microsoft.EntityFrameworkCore.InMemory", "1.1.1")]
[InlineData("Microsoft.EntityFrameworkCore.Relational", "1.1.0", "Microsoft.EntityFrameworkCore.Relational", "1.1.1")]
[InlineData("Microsoft.EntityFrameworkCore.Relational.Design", "1.1.0", "Microsoft.EntityFrameworkCore.Relational.Design", "1.1.1")]
[InlineData("Microsoft.EntityFrameworkCore.Sqlite", "1.1.0", "Microsoft.EntityFrameworkCore.Sqlite", "1.1.1")]
[InlineData("Microsoft.EntityFrameworkCore.Sqlite.Design", "1.1.0", "Microsoft.EntityFrameworkCore.Sqlite.Design", "1.1.1")]
[InlineData("Microsoft.EntityFrameworkCore.SqlServer", "1.1.0", "Microsoft.EntityFrameworkCore.SqlServer", "1.1.1")]
[InlineData("Microsoft.EntityFrameworkCore.SqlServer.Design", "1.1.0", "Microsoft.EntityFrameworkCore.SqlServer.Design", "1.1.1")]
public void ItUpliftsEntityFrameworkCorePackages(
string sourcePackageName,
string sourceVersion,
@ -228,11 +257,17 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
}
[Theory]
[InlineData("Microsoft.Extensions.Logging", "1.0.0", "Microsoft.Extensions.Logging", "1.0.1")]
[InlineData("Microsoft.Extensions.Logging.Console", "1.0.0", "Microsoft.Extensions.Logging.Console", "1.0.1")]
[InlineData("Microsoft.Extensions.Logging.Debug", "1.0.0", "Microsoft.Extensions.Logging.Debug", "1.0.1")]
[InlineData("Microsoft.Extensions.Configuration.Json", "1.0.0", "Microsoft.Extensions.Configuration.Json", "1.0.1")]
[InlineData("Microsoft.Extensions.Configuration.UserSecrets", "1.0.0", "Microsoft.Extensions.Configuration.UserSecrets", "1.0.1")]
[InlineData("Microsoft.Extensions.Logging", "1.0.0", "Microsoft.Extensions.Logging", "1.0.2")]
[InlineData("Microsoft.Extensions.Logging.Console", "1.0.0", "Microsoft.Extensions.Logging.Console", "1.0.2")]
[InlineData("Microsoft.Extensions.Logging.Debug", "1.0.0", "Microsoft.Extensions.Logging.Debug", "1.0.2")]
[InlineData("Microsoft.Extensions.Configuration.Json", "1.0.0", "Microsoft.Extensions.Configuration.Json", "1.0.2")]
[InlineData("Microsoft.Extensions.Configuration.UserSecrets", "1.0.0", "Microsoft.Extensions.Configuration.UserSecrets", "1.0.2")]
[InlineData("Microsoft.Extensions.Logging", "1.1.0", "Microsoft.Extensions.Logging", "1.1.1")]
[InlineData("Microsoft.Extensions.Logging.Console", "1.1.0", "Microsoft.Extensions.Logging.Console", "1.1.1")]
[InlineData("Microsoft.Extensions.Logging.Debug", "1.1.0", "Microsoft.Extensions.Logging.Debug", "1.1.1")]
[InlineData("Microsoft.Extensions.Configuration.Json", "1.1.0", "Microsoft.Extensions.Configuration.Json", "1.1.1")]
[InlineData("Microsoft.Extensions.Configuration.UserSecrets", "1.1.0", "Microsoft.Extensions.Configuration.UserSecrets", "1.1.1")]
[InlineData("Microsoft.Extensions.Logging.AzureAppServices", "1.0.0-preview2", "Microsoft.Extensions.Logging.AzureAppServices", "1.0.1")]
public void ItUpliftsMicrosoftExtensionsPackages(
string sourcePackageName,
string sourceVersion,

View file

@ -19,6 +19,10 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
[InlineData("Microsoft.VisualStudio.Web.CodeGenerators.Mvc", "1.0.0-preview3-final", "Microsoft.VisualStudio.Web.CodeGeneration.Design", ConstantPackageVersions.AspNetToolsVersion)]
[InlineData("Microsoft.VisualStudio.Web.CodeGenerators.Mvc", "1.1.0-preview4-final", "Microsoft.VisualStudio.Web.CodeGeneration.Design", ConstantPackageVersions.AspNet110ToolsVersion)]
[InlineData("Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Design", "1.1.0-preview4-final", "Microsoft.AspNetCore.Mvc.Razor.ViewCompilation", ConstantPackageVersions.AspNet110ToolsVersion)]
[InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "14.0.0-preview2-final", "Microsoft.VisualStudio.Web.BrowserLink", "1.0.1")]
[InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "14.0.0-*", "Microsoft.VisualStudio.Web.BrowserLink", "1.0.1")]
[InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "14.0.1", "Microsoft.VisualStudio.Web.BrowserLink", "1.0.1")]
[InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "14.1.0-preview4-final", "Microsoft.VisualStudio.Web.BrowserLink", "1.1.0")]
public void ItMigratesProjectDependenciesToANewNameAndVersion(
string sourceToolName,
string sourceVersion,