Exemple #1
0
        public int CreateProjectFlavorCfg(IVsCfg pBaseProjectCfg, out IVsProjectFlavorCfg ppFlavorCfg)
        {
            // We're flavored with a Windows Store 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 uwpCfg;

            ErrorHandler.ThrowOnFailure(
                _innerVsProjectFlavorCfgProvider.CreateProjectFlavorCfg(
                    pBaseProjectCfg,
                    out uwpCfg
                    )
                );
            ppFlavorCfg = new PythonUwpProjectConfig(pBaseProjectCfg, uwpCfg);
            return(VSConstants.S_OK);
        }
Exemple #2
0
 public int CreateProjectFlavorCfg(IVsCfg pBaseProjectCfg, out IVsProjectFlavorCfg ppFlavorCfg) {
     // We're flavored with a Windows Store 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 uwpCfg;
     ErrorHandler.ThrowOnFailure(
         _innerVsProjectFlavorCfgProvider.CreateProjectFlavorCfg(
             pBaseProjectCfg,
             out uwpCfg
         )
     );
     ppFlavorCfg = new PythonUwpProjectConfig(pBaseProjectCfg, uwpCfg);
     return VSConstants.S_OK;
 }