Exemple #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 Django 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 DjangoProjectConfig(pBaseProjectCfg, webCfg);
            return(VSConstants.S_OK);
        }
Exemple #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 Django 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 DjangoProjectConfig(pBaseProjectCfg, webCfg);
     return VSConstants.S_OK;
 }