public static GetDependenciesDirectory ( string projectFile ) : string | ||
projectFile | string | |
리턴 | string |
public void ProcessAttributeFile(Project project) { var dependenciesDirectory = ProjectReader.GetDependenciesDirectory(project.FullName); if (dependenciesDirectory == null) { return; } var directoryInfo = fullPathResolver.GetFullPath(dependenciesDirectory, project); var targetFile = new FileInfo(Path.Combine(directoryInfo.FullName, "NotifyPropertyWeaver.dll")); if (!targetFile.Exists) { return; } if (VersionChecker.IsVersionNewer(targetFile)) { var frameworkType = FrameworkTypeReader.GetFrameworkType(project.FullName); fileExporter.ExportAttribute(directoryInfo, frameworkType); } }