FrameworkName GetTargetFramework() { if (targetFramework == null) { targetFramework = new ProjectTargetFramework(project); } return targetFramework.TargetFrameworkName; }
FrameworkName GetTargetFramework() { if (targetFramework == null) { targetFramework = new ProjectTargetFramework(project); } return(targetFramework.TargetFrameworkName); }
public PackageManagementProject( IPackageRepository sourceRepository, MSBuildBasedProject project, IPackageManagementEvents packageManagementEvents, IPackageManagerFactory packageManagerFactory) { SourceRepository = sourceRepository; msbuildProject = project; targetFramework = new ProjectTargetFramework(project); this.packageManagementEvents = packageManagementEvents; packageManager = packageManagerFactory.CreatePackageManager(sourceRepository, project); projectManager = packageManager.ProjectManager; }