private void Load() { _outputFilePath = ProjectUtils.GetAssemblyOutputFilePath(_projectAssembly); if (File.Exists(_filePath)) { var fileInfo = new FileInfo(_filePath); _createdDate = fileInfo.CreationTime; _lastModifiedDate = fileInfo.LastWriteTime; _fileSize = fileInfo.Length; } OnPropertyChanged("OutputFilePath"); OnPropertyChanged("CreatedDate"); OnPropertyChanged("LastModifiedDate"); OnPropertyChanged("FileSize"); }
private void UpdateOutputFilePath() { _outputFilePath = ProjectUtils.GetAssemblyOutputFilePath(_projectAssembly); OnPropertyChanged("OutputFilePath"); }