void ProjectTargetFrameworkChanged (object sender, ProjectTargetFrameworkChangedEventArgs e) { if (e.Project.HasPackagesConfig ()) { var runner = new PackageCompatibilityRunner (e.Project); runner.Run (); } }
void ProjectTargetFrameworkChanged(object sender, ProjectTargetFrameworkChangedEventArgs e) { if (e.Project.HasPackages()) { var runner = new PackageCompatibilityRunner(e.Project); runner.Run(); } }
void ProjectTargetFrameworkChanged(object sender, ProjectTargetFrameworkChangedEventArgs e) { if (e.Project.HasPackagesConfig()) { var runner = new PackageCompatibilityRunner(e.Project); runner.Run(); } else if (DotNetCoreNuGetProject.CanCreate(e.Project.DotNetProject)) { // Ignore - .NET Core project target framework changes are handled // by the DotNetCoreProjectExtension. } else if (PackageReferenceNuGetProject.CanCreate(e.Project.DotNetProject)) { RestorePackagesInProjectHandler.Run(e.Project.DotNetProject); } }