示例#1
0
        public SolutionContext([NotNull] Solution solution, [NotNull] SolutionConfiguration solutionConfiguration, [NotNull] EnvDTE.SolutionContext context)
        {
            Contract.Requires(solution != null);
            Contract.Requires(solutionConfiguration != null);
            Contract.Requires(context != null);

            _solution             = solution;
            SolutionConfiguration = solutionConfiguration;
            _context = context;

            ConfigurationName = context.ConfigurationName;
            PlatformName      = context.PlatformName;
            ProjectName       = context.ProjectName;
        }
        public SolutionContext(Solution solution, SolutionConfiguration solutionConfiguration, EnvDTE.SolutionContext ctx)
        {
            Contract.Requires(solution != null);
            Contract.Requires(solutionConfiguration != null);
            Contract.Requires(ctx != null);

            _solution = solution;
            _solutionConfiguration = solutionConfiguration;
            _ctx = ctx;

            _configurationName = ctx.ConfigurationName;
            _platformName      = ctx.PlatformName;

            ProjectName = ctx.ProjectName;
        }
示例#3
0
 public ProjectConfiguration(EnvDTE.SolutionContext solutionContext)
 {
     this.solutionContext = solutionContext;
 }