1
Vote

BUG para referenciar um novo modelo

description

Inclui este comando nos File.Copy
//Copia os arquivos
                // incluído o Comando Application.StartupPath 
                File.Copy(Path.Combine(Application.StartupPath+DirDominioModelo, "DataBaseServer.config"), Path.Combine(DirNovoDominio, "DataBaseServer.config"), true);
                File.Copy(Path.Combine(Application.StartupPath+DirDominioModelo, "DataDictionary.System.xml"), Path.Combine(DirNovoDominio, "DataDictionary.System.xml"), true);
                File.Copy(Path.Combine(Application.StartupPath+DirDominioModelo, "DataDictionary.Types.xml"), Path.Combine(DirNovoDominio, "DataDictionary.Types.xml"), true);
                File.Copy(Path.Combine(Application.StartupPath+DirDominioModelo, "nDeveloper.Domain.xml"), Path.Combine(DirNovoDominio, "nDeveloper.Domain.xml"), true);
                File.Copy(Path.Combine(Application.StartupPath+DirDominioModelo, "Procedure.System.xml"), Path.Combine(DirNovoDominio, "Procedure.System.xml"), true);
                File.Copy(Path.Combine(Application.StartupPath+DirDominioModelo, "Trigger.System.xml"), Path.Combine(DirNovoDominio, "Trigger.System.xml"), true);

file attachments

comments