I removed now the relative path from EntityfileLocal and used:

private static string ProjectDir => Targetdir +
Path.DirectorySeparatorChar + PublicationTitle +
                                    Path.DirectorySeparatorChar +
Language + Path.DirectorySeparatorChar;
Directory.SetCurrentDirectory(ProjectDir); // is in that case
/home/sascha/Dokumente/publican-xcom/articles/Test/de-DE/

The directory is created in the method before that one and it's filled:

sascha@sascha-desktop:~/Dokumente/publican-xcom/articles/Test/de-DE$ ls
Article_Info.xml  Author_Group.xml  images  Revision_History.xml  Test.
ent  Test.xml


But after SetCurrentDirectory i'm getting:

System.IO.DirectoryNotFoundException: Directory
"/home/sascha/Dokumente/publican-xcom/articles/Test/de-DE/" not found

The directory is in my /home/sascha and it's writable and accessable.

Greetings
Sascha
-- 


    
        
            

        
    
    Sascha Manns
       
      

      [email protected]

      GPG:
      0x168428cdb1f20ab1

      jabber:
      [email protected]
    

              
        
 Maifeldstraße 10

         56727 Mayen

        mobile: +49-1573-9242730

         home: +49-2651-4014045
        

        https://saigkill.tuxfamily.org
      

    
    
      
    
    
      
    
    
      
    
    
      
    
    
    
    
      
    
    
      
    
    
    
      
    
    
      
    
    
    
      
    
    
      
    
    
    
      
    
    
      
    
    
    

    
  

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.dot.net/mailman/listinfo/mono-list

Reply via email to