public ProjectLaunchTargetsProvider(
            IUnconfiguredProjectVsServices unconfiguredProjectVsServices,
            ConfiguredProject project,
            IDebugTokenReplacer tokenReplacer,
            IFileSystem fileSystem,
            IEnvironmentHelper environment,
            IActiveDebugFrameworkServices activeDebugFramework,
            ProjectProperties properties,
            IProjectThreadingService threadingService,
            IVsUIService <SVsShellDebugger, IVsDebugger10> debugger,
            IRemoteDebuggerAuthenticationService remoteDebuggerAuthenticationService,
            Lazy <IProjectHotReloadSessionManager> hotReloadSessionManager,
            Lazy <IHotReloadOptionService> debuggerSettings)
        {
            _project = project;
            _unconfiguredProjectVsServices = unconfiguredProjectVsServices;
            _tokenReplacer        = tokenReplacer;
            _fileSystem           = fileSystem;
            _environment          = environment;
            _activeDebugFramework = activeDebugFramework;
            _threadingService     = threadingService;
            _debugger             = debugger;
            _remoteDebuggerAuthenticationService = remoteDebuggerAuthenticationService;
            _hotReloadSessionManager             = hotReloadSessionManager;
            _debuggerSettings = debuggerSettings;

            _outputTypeChecker = new OutputTypeChecker(properties);
        }
예제 #2
0
        public async Task OutputTypeChecker_True_IsConsoleAsync()
        {
            OutputTypeChecker outputTypeChecker = CreateOutputTypeChecker(ConfigurationGeneral.OutputTypeValues.Exe);

            Assert.True(await outputTypeChecker.IsConsoleAsync());
        }
예제 #3
0
        public async Task OutputTypeChecker_False_IsConsoleAsync()
        {
            OutputTypeChecker outputTypeChecker = CreateOutputTypeChecker(ConfigurationGeneral.OutputTypeValues.Library);

            Assert.False(await outputTypeChecker.IsConsoleAsync());
        }
예제 #4
0
        public async Task OutputTypeChecker_False_IsLibraryAsyncWhenEvaluationFails()
        {
            OutputTypeChecker outputTypeChecker = CreateFailedOutputTypeChecker();

            Assert.False(await outputTypeChecker.IsLibraryAsync());
        }