//Opening varfileOpenCommand=ComponentManager.Singleton.CreateInstance<ICommand>(newGuid("9D09E965-6254-46fd-9C21-B27FD2E97B52"));fileOpenCommand.ExecuteBatch(new[]{@"D:\Temp\Codesys\MyProject.project"});//Do something//SavingvarfileSaveAsCommand=cm.CreateInstance<ICommand>(newGuid("6D0D9CC5-67A2-46fd-9D29-FDFA326321E5"));fileSaveAsCommand.ExecuteBatch(newstring[1]{@"D:\TestSaveAs.project"});// Exception here
Hi!
When I saving the CoDeSys project with C#, I get the exception:
ArgumentNullException
Parameter: buffer
The stack trace:
Code:
Related
Talk.ru: 1