Exemplo n.º 1
0
 public void SetUpFixture()
 {
     string[] filepaths = new string[] {
         IO.Path.Combine("Testdata", "razortemplates", "simplestrongly", "hellopackageStrongly.cshtml"),
         IO.Path.Combine("Testdata", "razortemplates", "simpleweakly", "hellopackageWeakly.cshtml"),
         IO.Path.Combine("Testdata", "razortemplates", "simplewithlayout", "hellopackage.cshtml"),
         IO.Path.Combine("Testdata", "razortemplates", "simplewithlayout", "layout.cshtml")
     };
     ItemDeployment.DeployFiles(filepaths, true);
 }
 public void SetUpFixture()
 {
     string[] filepaths = new string[] {
         IO.Path.Combine("Testdata", "packagerepository", "package1", "package.wpdef"),
         IO.Path.Combine("Testdata", "packagerepository", "package2", "package.wpdef"),
         IO.Path.Combine("Testdata", "packagerepository", "package3", "package.wpdef"),
         IO.Path.Combine("Testdata", "packagerepository", "package4", "package.wpdef"),
         IO.Path.Combine("Testdata", "newpackagefiles", "mytemplate.cshtml")
     };
     ItemDeployment.DeployFiles(filepaths, true);
 }