public void TestGenerateAssemblies() { GenerateAssembliesCommand task = new GenerateAssembliesCommand(); task.BasePath = "C:\\testlocalization"; task.Configuration = "Debug"; task.Culture = "pt"; task.FileVersion = "1.1"; task.KeyFile = @"C:\GeneXus\TeroNet\CommonInfo\Security\Keys\Artech.snk"; task.ToolsPath = @"C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\"; task.PlanXml = @"C:\GeneXus\TeroNet\_Tmp\ResourcesCatalog.xml"; Assert.IsTrue(task.Do()); }
public override bool Execute() { if (String.IsNullOrEmpty(KeyFile) || !File.Exists(KeyFile)) { Console.WriteLine("Empty or Invalid KeyStore File, taking Artech.snk from the current assembly directory"); KeyFile = Path.Combine(Assemblies.GetAssemblyDirectory(), "Artech.snk"); } GenerateAssembliesCommand cmd = new GenerateAssembliesCommand() { PlanXml = PlanXml, BasePath = BasePath, Culture = Culture, Configuration = Configuration, FileVersion = FileVersion, KeyFile = KeyFile, SpecificAssembly = SpecificAssembly, ToolsPath = ToolsPath, IntermediateDirectory = IntermediateDirectory }; return(cmd.Do()); }