protected override ProjectSettings LoadProjectSettings()
        {
            ISpecFlowConfigurationReader configurationReader = new Vs2008SpecFlowConfigurationReader(project, tracer);

            var configurationHolder = configurationReader.ReadConfiguration();

            return(new ProjectSettings
            {
                ProjectName = project.Name,
                AssemblyName = project.Properties.Item("AssemblyName").Value as string,
                ProjectFolder = VsxHelper.GetProjectFolder(project),
                DefaultNamespace = project.Properties.Item("DefaultNamespace").Value as string,
                ProjectPlatformSettings = ProjectPlatformSettings(),
                ConfigurationHolder = configurationHolder
            });
        }
示例#2
0
        protected override ProjectSettings LoadProjectSettings()
        {
            ISpecFlowConfigurationReader configurationReader = new Vs2008SpecFlowConfigurationReader(project, tracer);

            var configurationHolder = configurationReader.ReadConfiguration();

            return(new ProjectSettings
            {
                ProjectName = project.Name,
                AssemblyName = project.Properties.Item("AssemblyName").Value as string,
                ProjectFolder = VsxHelper.GetProjectFolder(project),
                DefaultNamespace = project.Properties.Item("DefaultNamespace").Value as string,
                ProjectPlatformSettings = new ProjectPlatformSettings(),            // TODO: We only support C# for now, later we'll add support to grab the provider based on the project
                ConfigurationHolder = configurationHolder
            });
        }