Exemplo n.º 1
0
        public static IBuildMetaData GetBuildMetaDataInstance()
        {
            BooConfigReader ret = new ConfigReaderDouble();

            ret.description(Description);
            ret.BuildMetaData.BuildEngine = new BuildEngines.BuildEngine(new MSBuildBuildTool(), BuildFile, FrameworkVersion.FrameworkVersion35, CreateStub<IDependencyDispatcher>());
            ret.BuildMetaData.SourceControl = new SVNSourceControl(SvnUrl);

            foreach (var item in MetaData)
                ret.BuildMetaData.ProjectInfo.Add(item.Key, item.Value);

            ret.BuildMetaData.BuildEngine.AssignTasks(Tasks.ToArray());
            ret.BuildMetaData.BuildEngine.BuildRootDirectory = OutputDirectory;
            ret.BuildMetaData.BuildEngine.SharedLibrary = ".";
            ret.BuildMetaData.BuildEngine.GenerateStrongKey = true;

            return ret.BuildMetaData;
        }
Exemplo n.º 2
0
        public static IBuildMetaData GetBuildMetaDataInstance()
        {
            BooConfigReader ret = new ConfigReaderDouble();

            ret.description(Description);
            ret.BuildMetaData.BuildEngine   = new BuildEngines.BuildEngine(new MSBuildBuildTool(), BuildFile, FrameworkVersion.FrameworkVersion35, CreateStub <IDependencyDispatcher>());
            ret.BuildMetaData.SourceControl = new SVNSourceControl(SvnUrl);

            foreach (var item in MetaData)
            {
                ret.BuildMetaData.ProjectInfo.Add(item.Key, item.Value);
            }

            ret.BuildMetaData.BuildEngine.AssignTasks(Tasks.ToArray());
            ret.BuildMetaData.BuildEngine.BuildRootDirectory = OutputDirectory;
            ret.BuildMetaData.BuildEngine.SharedLibrary      = ".";
            ret.BuildMetaData.BuildEngine.GenerateStrongKey  = true;

            return(ret.BuildMetaData);
        }