Ejemplo n.º 1
0
        public int CreateProjectFlavorCfg(IVsCfg pBaseProjectCfg, out IVsProjectFlavorCfg ppFlavorCfg)
        {
            // We're flavored with a Web Application project and our normal
            // project...  But we don't want the web application project to
            // influence our config as that alters our debug launch story.  We
            // control that w/ the web project which is actually just letting
            // the base Python project handle it. So we keep the base Python
            // project config here.
            IVsProjectFlavorCfg webCfg;

            ErrorHandler.ThrowOnFailure(
                _innerVsProjectFlavorCfgProvider.CreateProjectFlavorCfg(
                    pBaseProjectCfg,
                    out webCfg
                    )
                );
            ppFlavorCfg = new PythonWebProjectConfig(pBaseProjectCfg, webCfg);
            return(VSConstants.S_OK);
        }
Ejemplo n.º 2
0
 public int CreateProjectFlavorCfg(IVsCfg pBaseProjectCfg, out IVsProjectFlavorCfg ppFlavorCfg) {
     // We're flavored with a Web Application project and our normal
     // project...  But we don't want the web application project to
     // influence our config as that alters our debug launch story.  We
     // control that w/ the web project which is actually just letting
     // the base Python project handle it. So we keep the base Python
     // project config here.
     IVsProjectFlavorCfg webCfg;
     ErrorHandler.ThrowOnFailure(
         _innerVsProjectFlavorCfgProvider.CreateProjectFlavorCfg(
             pBaseProjectCfg,
             out webCfg
         )
     );
     ppFlavorCfg = new PythonWebProjectConfig(pBaseProjectCfg, webCfg);
     return VSConstants.S_OK;
 }