public PowerShellProjectNode(PowerShellPackageBase package)
        {
            _Package = package;

            InitializeImageList();

            CanProjectDeleteItems = true;
        }
        public PowerShellProjectNode( PowerShellPackageBase package )
        {
            _Package = package;

            InitializeImageList();

            CanProjectDeleteItems = true;
        }
        public PowerShellProjectFactory( PowerShellPackageBase package )
            : base(package)
        {
            _Package = package;
            string loc = Assembly.GetExecutingAssembly().Location;
            var fileInfo = new FileInfo( loc );

            string targetspath = Path.Combine( fileInfo.Directory.FullName, "PowerStudio.Targets" );

            BuildEngine.SetGlobalProperty( "PowerStudioTargets", targetspath );

            BuildEngine.SetGlobalProperty( "PowerStudioTasks", Assembly.GetExecutingAssembly().Location );
        }
Ejemplo n.º 4
0
        public PowerShellProjectFactory(PowerShellPackageBase package)
            : base(package)
        {
            _Package = package;
            string loc      = Assembly.GetExecutingAssembly().Location;
            var    fileInfo = new FileInfo(loc);

            string targetspath = Path.Combine(fileInfo.Directory.FullName, "PowerStudio.Targets");

            BuildEngine.SetGlobalProperty("PowerStudioTargets", targetspath);

            BuildEngine.SetGlobalProperty("PowerStudioTasks", Assembly.GetExecutingAssembly().Location);
        }