Meta.MetaPackage.GenerateBoostBuildFileCallback C# (CSharp) Method

GenerateBoostBuildFileCallback() private method

private GenerateBoostBuildFileCallback ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void GenerateBoostBuildFileCallback(object sender, EventArgs e)
        {
            IVsMonitorSelection SelectionService;
            SelectionService = (IVsMonitorSelection)GetGlobalService(typeof(SVsShellMonitorSelection));
            IntPtr ppHier;
            uint pitemid;
            IVsMultiItemSelect ppMIS;
            IntPtr ppSC;
            if (SelectionService.GetCurrentSelection(out ppHier, out pitemid, out ppMIS, out ppSC) == VSConstants.S_OK)
            {
                //! Handle single selections only for now.
                if (pitemid != VSConstants.VSITEMID_SELECTION && ppHier != null)
                {
                    IVsHierarchy hierarchy = Marshal.GetTypedObjectForIUnknown(ppHier, typeof(IVsHierarchy)) as IVsHierarchy;

                    EnvDTE.Project project = ProjectHelper.GetProject(hierarchy);
                    foreach (EnvDTE.Project prj in project.DTE.Solution.Projects)
                    {
                        try
                        {
                            //GenerateBoostBuildFile gen = new GenerateBoostBuildFile(prj);
                        }
                        catch (System.Exception)
                        {
                        }
                    }

                    GetBuildOutputPane().OutputStringThreadSafe("Conversion to x64 done." + Environment.NewLine);
                }
            }
        }