@@ -79,10 +79,10 @@ public partial class AppViewModel : ObservableObject/*, IAppViewModel*/
7979 private readonly DocumentTools _documentTools ;
8080 private readonly Cr2WTools _cr2WTools ;
8181 private readonly TemplateFileTools _templateFileTools ;
82- private readonly ProjectResourceTools _projectResourceTools ;
8382 private readonly IUpdateService _updateService ;
8483 // expose to view
8584 public ISettingsManager SettingsManager { get ; init ; }
85+ public ProjectResourceTools ProjectResourceTools { get ; init ; }
8686
8787 /// <summary>
8888 /// Class constructor
@@ -132,7 +132,7 @@ IUpdateService updateService
132132 _documentTools = documentTools ;
133133 _cr2WTools = cr2WTools ;
134134 _templateFileTools = templateFileTools ;
135- _projectResourceTools = projectResourceTools ;
135+ ProjectResourceTools = projectResourceTools ;
136136 _updateService = updateService ;
137137
138138 _fileValidationScript = _scriptService . GetScripts ( ) . ToList ( )
@@ -946,7 +946,7 @@ private async Task ScanForBrokenReferencePaths()
946946 case null :
947947 return ;
948948 case true when ! _archiveManager . IsInitialized :
949- _projectResourceTools . InitializeArchiveManager ( ) ;
949+ ProjectResourceTools . InitializeArchiveManager ( ) ;
950950 break ;
951951 }
952952
@@ -965,7 +965,8 @@ private async Task ScanForBrokenReferencePaths()
965965 }
966966
967967 _loggerService . Info ( "Done scanning" ) ;
968- Interactions . ShowBrokenReferencesList ( ( "Broken references" , brokenReferences ) ) ;
968+ Interactions . ShowDictionaryAsCopyableList ( ( "Broken references" ,
969+ $ "The following { brokenReferences . Count } files seem to hold broken references", brokenReferences , true ) ) ;
969970 }
970971
971972 [ RelayCommand ( CanExecute = nameof ( CanShowProjectActions ) ) ]
@@ -999,7 +1000,8 @@ private void ScanForBrokenFiles()
9991000
10001001 Dictionary < string , List < string > > files = [ ] ;
10011002 files . Add ( ActiveProject . ModName , brokenFiles ) ;
1002- Interactions . ShowBrokenReferencesList ( ( "Broken references" , files ) ) ;
1003+ Interactions . ShowDictionaryAsCopyableList ( ( "Broken references" ,
1004+ $ "The following { files . Count } files seem to hold broken references", files , true ) ) ;
10031005 _progressService . IsIndeterminate = false ;
10041006 return ;
10051007
0 commit comments