149 references to ToolConsole
ComSvcConfig (149)
ComAdminWrapper.cs (8)
172
ToolConsole
.WriteWarning(SR.GetString(SR.FailedToFetchApplicationInformationFromCatalog, appidOrName, ex.ErrorCode, ex.Message));
231
ToolConsole
.WriteWarning(SR.GetString(SR.ApplicationNotFound, appId));
233
ToolConsole
.WriteWarning(SR.GetString(SR.CouldnotGetPartitionForApplication, appId, e.ErrorCode, e.Message));
393
ToolConsole
.WriteWarning(SR.GetString(SR.CannotSetComponentDescription, clsid, appid.ToString("B")));
395
ToolConsole
.WriteWarning(SR.GetString(SR.CannotSetComponentInitializerProperty, ListenerWSUName, appid.ToString("B")));
397
ToolConsole
.WriteWarning(SR.GetString(SR.CannotDisableAccessChecksOnInitializer, ListenerWSUName, appid.ToString("B")));
441
ToolConsole
.WriteWarning(SR.GetString(SR.FailedToMarkListenerComponentAsPrivateForApplication, progid, applicationID));
518
ToolConsole
.WriteWarning(SR.GetString(SR.FailedToRemoveListenerComponentFromApplication, applicationId, progid));
ComplusEndpointConfigContainer.cs (17)
104
ToolConsole
.WriteWarning(SR.GetString(SR.FailedToAbortTransactionWithError, ex.Message));
134
ToolConsole
.WriteLine(SR.GetString(SR.MexEndpointAdded));
140
ToolConsole
.WriteLine(SR.GetString(SR.InterfaceAdded,
146
ToolConsole
.WriteLine(SR.GetString(SR.InterfaceAdded,
157
ToolConsole
.WriteWarning(SR.GetString(SR.MexEndpointAlreadyExposed, endpointConfig.ComponentProgID));
159
ToolConsole
.WriteWarning(SR.GetString(SR.MexEndpointAlreadyExposed, endpointConfig.Clsid));
165
ToolConsole
.WriteWarning(SR.GetString(SR.InterfaceAlreadyExposed,
169
ToolConsole
.WriteWarning(SR.GetString(SR.InterfaceAlreadyExposed,
289
ToolConsole
.WriteLine(SR.GetString(SR.DirectoryCreated, this.appDir));
300
ToolConsole
.WriteLine(SR.GetString((this.configFile.OriginalFileExists ? SR.FileUpdated : SR.FileCreated), configFile.OriginalFileName));
308
ToolConsole
.WriteLine(SR.GetString(SR.FileCreated, this.manifestFile.OriginalFileName));
327
ToolConsole
.WriteWarning(SR.GetString(SR.ShouldRestartApp, this.appInfo.Name));
467
ToolConsole
.WriteWarning(SR.GetString(SR.FailedToLoadConfigForApplicationIgnoring, appInfo.Name, ex.Message));
575
ToolConsole
.WriteLine(SR.GetString(SR.InterfaceRemoved, endpointConfig.ComponentProgID, endpointConfig.InterfaceName));
577
ToolConsole
.WriteLine(SR.GetString(SR.InterfaceRemoved, endpointConfig.Clsid, endpointConfig.Iid));
582
ToolConsole
.WriteWarning(SR.GetString(SR.InterfaceNotExposed, endpointConfig.ComponentProgID, endpointConfig.InterfaceName));
584
ToolConsole
.WriteWarning(SR.GetString(SR.InterfaceNotExposed, endpointConfig.Clsid, endpointConfig.Iid));
ComplusTypeValidator.cs (21)
86
ToolConsole
.WriteError(SR.GetString(SR.IsInternalInterfaceAndCannotBeExposedOverWebService, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name), "");
88
ToolConsole
.WriteWarning(SR.GetString(SR.IsInternalInterfaceAndCannotBeExposedOverWebService, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name));
112
ToolConsole
.WriteError(exceptionMessage, "");
114
ToolConsole
.WriteNonVerboseWarning(exceptionMessage);
123
ToolConsole
.WriteError(SR.GetString(SR.InterfaceHasNoMethods, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name), "");
125
ToolConsole
.WriteNonVerboseWarning(SR.GetString(SR.InterfaceHasNoMethods, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name));
141
ToolConsole
.WriteError(SR.GetString(SR.ParameterOfMethodInInterfaceHasANonCompliantType, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, method.Name, parameter.Name, typeMismatchDetails), "");
143
ToolConsole
.WriteNonVerboseWarning(SR.GetString(SR.ParameterOfMethodInInterfaceHasANonCompliantType, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, method.Name, parameter.Name, typeMismatchDetails));
151
ToolConsole
.WriteError(SR.GetString(SR.InvalidWebServiceReturnValue, method.ReturnType.Name, method.Name, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, typeMismatchDetails), "");
153
ToolConsole
.WriteNonVerboseWarning(SR.GetString(SR.InvalidWebServiceReturnValue, method.ReturnType.Name, method.Name, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, typeMismatchDetails));
183
ToolConsole
.WriteWarning(SR.GetString(SR.TypeResolutionForInterfaceFailed, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, e.InnerException.Message));
212
ToolConsole
.WriteError(SR.GetString(SR.IsInternalInterfaceAndCannotBeExposedOverWebService, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name), "");
214
ToolConsole
.WriteWarning(SR.GetString(SR.IsInternalInterfaceAndCannotBeExposedOverWebService, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name));
233
ToolConsole
.WriteError(SR.GetString(SR.TypeResolutionForInterfaceFailed, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, e.InnerException.Message), "");
235
ToolConsole
.WriteWarning(SR.GetString(SR.TypeResolutionForInterfaceFailed, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, e.InnerException.Message));
243
ToolConsole
.WriteError(SR.GetString(SR.InterfaceHasNoMethods, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name), "");
245
ToolConsole
.WriteWarning(SR.GetString(SR.InterfaceHasNoMethods, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name));
267
ToolConsole
.WriteError(SR.GetString(SR.ParameterOfMethodInInterfaceHasANonCompliantType, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, method.Name, parameter.Name, typeMismatchDetails), "");
269
ToolConsole
.WriteWarning(SR.GetString(SR.ParameterOfMethodInInterfaceHasANonCompliantType, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, method.Name, parameter.Name, typeMismatchDetails));
277
ToolConsole
.WriteError(SR.GetString(SR.InvalidWebServiceReturnValue, method.ReturnType.Name, method.Name, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, typeMismatchDetails), "");
279
ToolConsole
.WriteWarning(SR.GetString(SR.InvalidWebServiceReturnValue, method.ReturnType.Name, method.Name, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, typeMismatchDetails));
EndpointConfigContainer.cs (3)
496
ToolConsole
.WriteWarning(e.Message);
497
ToolConsole
.WriteWarning(SR.GetString(SR.ConfigFileSkipped, e.Filename));
697
ToolConsole
.WriteError(SR.GetString(SR.InvalidRuntime, runtimeVersion), "");
SvcFileManager.cs (3)
253
ToolConsole
.WriteWarning(SR.GetString(SR.SvcFileParsingFailedWithError, fileName, e.Message));
281
ToolConsole
.WriteWarning(SR.GetString(SR.BadlyFormattedSvcFile, fileName));
292
ToolConsole
.WriteWarning(SR.GetString(SR.BadlyFormattedAppIDOrClsidInSvcFile, fileName));
Tool.cs (78)
67
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsage4, Cmd.Install, Abbr.Install));
68
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageExamples));
69
ToolConsole
.WriteLine(" ComSvcConfig.exe /install /application:TestApp /contract:* /hosting:complus");
70
ToolConsole
.WriteLine(" ComSvcConfig.exe /install /application:TestApp /contract:TestComponent,ITest /hosting:was /webDirectory:testdir /mex");
71
ToolConsole
.WriteLine(" ComSvcConfig.exe /install /application:TestApp /contract:TestComponent,ITest.{Method1} /hosting:was /webDirectory:testdir /mex");
72
ToolConsole
.WriteLine(" ComSvcConfig.exe /install /application:TestApp /contract:TestComponent,ITest.{Method2,Method3} /hosting:was /webDirectory:testdir /mex");
76
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsage5, Cmd.Uninstall, Abbr.Uninstall));
77
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageExamples));
78
ToolConsole
.WriteLine(" ComSvcConfig.exe /uninstall /application:OnlineStore /contract:* /hosting:complus");
79
ToolConsole
.WriteLine(" ComSvcConfig.exe /uninstall /application:OnlineStore /contract:* /hosting:was /mex");
80
ToolConsole
.WriteLine(" ComSvcConfig.exe /uninstall /application:OnlineStore /contract:TestComponent,ITest.{Method1} /hosting:was /mex");
81
ToolConsole
.WriteLine(" ComSvcConfig.exe /uninstall /application:OnlineStore /contract:TestComponent,ITest.{Method2,Method3} /hosting:was /mex");
86
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsage6, Cmd.List, Abbr.List));
87
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageExamples));
88
ToolConsole
.WriteLine(" ComSvcConfig.exe /list");
89
ToolConsole
.WriteLine(" ComSvcConfig.exe /list /hosting:complus");
90
ToolConsole
.WriteLine(" ComSvcConfig.exe /list /hosting:was");
104
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsage1));
105
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsage2, ThisAssembly.Title));
106
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsage3));
107
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsage4, Cmd.Install, Abbr.Install));
108
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsage5, Cmd.Uninstall, Abbr.Uninstall));
109
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsage6, Cmd.List, Abbr.List));
110
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsage7));
111
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageApplication, Cmd.Application, Abbr.Application));
112
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageInterface, Cmd.Contract, Abbr.Contract, "{", "}"));
113
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageReferences, Cmd.AllowReferences, Abbr.AllowReferences));
114
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageHosting, Cmd.Hosting, Abbr.Hosting));
115
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageWebServer, Cmd.WebServer, Abbr.WebServer));
116
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageWebDirectory, Cmd.WebDirectory, Abbr.WebDirectory));
117
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageMexOption, Cmd.MetaData, Abbr.MetaData));
118
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageGuidOption, Cmd.ID, Abbr.ID));
119
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageNoLogo, Cmd.NoLogo, Abbr.NoLogo));
120
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageVerbose, Cmd.Verbose, Abbr.Verbose));
121
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsage8, "help"));
122
ToolConsole
.WriteLine(SR.GetString(SR.HelpUsageExamples));
123
ToolConsole
.WriteLine(" ComSvcConfig.exe /install /application:TestApp /contract:* /hosting:complus");
124
ToolConsole
.WriteLine(" ComSvcConfig.exe /install /application:TestApp /contract:TestComponent,ITest /hosting:was /webDirectory:testdir /mex");
125
ToolConsole
.WriteLine(" ComSvcConfig.exe /list");
126
ToolConsole
.WriteLine(" ComSvcConfig.exe /list /hosting:complus");
127
ToolConsole
.WriteLine(" ComSvcConfig.exe /list /hosting:was");
128
ToolConsole
.WriteLine(" ComSvcConfig.exe /uninstall /application:OnlineStore /contract:* /hosting:complus");
129
ToolConsole
.WriteLine(" ComSvcConfig.exe /uninstall /application:OnlineStore /contract:* /hosting:was");
130
ToolConsole
.WriteLine("");
376
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.MexEndpointExposed, config.Address));
379
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.BindingType, config.BindingType));
380
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.BindingConfigurationName, config.BindingName));
381
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.Address, config.Address));
391
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.MexEndpointExposed, addr));
394
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.BindingType, config.BindingType));
395
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.BindingConfigurationName, config.BindingName));
396
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.Address, addr));
449
ToolConsole
.WriteWarning(SR.GetString(SR.InvalidConfigFile, ((WasEndpointConfigContainer)container).ConfigFile.OriginalFileName));
452
ToolConsole
.WriteWarning(SR.GetString(SR.InvalidConfigFile, ((ComplusEndpointConfigContainer)container).ConfigFile.OriginalFileName));
489
ToolConsole
.WriteQueryLine(SR.GetString(SR.EnumeratingComponentsForApplication, options.ShowGuids ? appInfo.ID.ToString("B") : appInfo.Name));
497
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.WasHosting));
498
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.ConfigFileName, ((WasEndpointConfigContainer)container).ConfigFile.OriginalFileName));
502
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.ComplusHosting));
503
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.ConfigFileName, ((ComplusEndpointConfigContainer)container).ConfigFile.OriginalFileName));
514
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.EnumeratingInterfacesForComponent, options.ShowGuids ? classInfo.Clsid.ToString("B") : classInfo.Name));
533
ToolConsole
.WriteQueryLine(" " + SR.GetString(SR.EnumeratingEndpointsForInterfaces, options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name));
567
ToolConsole
.WriteWarning(SR.GetString(SR.NoneOfTheComponentsSatisfiedTheRemoveCriteria));
591
ToolConsole
.WriteWarning(SR.GetString(SR.NoneOfConfigsFoundMatchTheCriteriaSpecifiedNothingWillBeRemoved));
674
ToolConsole
.WriteWarning(SR.GetString(SR.NoneOfTheSpecifiedInterfacesForComponentWereFoundSkipping, Tool.Options.ShowGuids ? classInfo.Clsid.ToString("B") : classInfo.Name));
713
ToolConsole
.WriteWarning(SR.GetString(SR.CannotFindComponentInApplicationSkipping, inComp.Component, Tool.Options.ShowGuids ? appInfo.ID.ToString("B") : appInfo.Name));
762
ToolConsole
.WriteWarning(SR.GetString(SR.CannotFindInterfaceInCatalogForComponentSkipping, itfName, inComp.Component));
794
ToolConsole
.WriteWarning(SR.GetString(SR.NoneOfTheSpecifiedInterfacesForComponentWereFoundSkipping, inComp.Component));
813
ToolConsole
.WriteWarning(SR.GetString(SR.CannotFindComponentInApplicationSkipping, inComp.Component, Tool.Options.ShowGuids ? appInfo.ID.ToString("B") : appInfo.Name));
854
ToolConsole
.WriteWarning(SR.GetString(SR.CannotFindInterfaceInCatalogForComponentSkipping, itfName, inComp.Component));
874
ToolConsole
.WriteWarning(SR.GetString(SR.NoneOfTheSpecifiedInterfacesForComponentWereFoundSkipping, inComp.Component));
914
ToolConsole
.WriteError(SR.GetString(SR.WindowsFunctionalityMissing), "");
921
ToolConsole
.WriteError(SR.GetString(SR.WindowsFunctionalityMissing), "");
929
ToolConsole
.Verbose = options.Verbose;
935
ToolConsole
.WriteError(ae);
941
ToolConsole
.WriteError(appException);
950
ToolConsole
.WriteDetailedException(e, SR.GetString(SR.UnExpectedError));
965
ToolConsole
.Verbose = false; // For Help-mode, ignore quiet flag
1150
ToolConsole
.WriteWarning(SR.GetString(SR.CannotExposePrivateComponentsSkipping, Tool.Options.ShowGuids ? classInfo.Clsid.ToString("B") : classInfo.Name));
WasAdminWrapper.cs (3)
94
ToolConsole
.WriteWarning(SR.GetString(SR.CannotGetWebServersIgnoringWas,
136
ToolConsole
.WriteWarning(SR.GetString(SR.CannotGetWebDirectoryForServer,
181
ToolConsole
.WriteWarning(SR.GetString(SR.CannotGetWebDirectoryPathOnWebDirOfWebServIgnoring,
WasEndpointConfigContainer.cs (16)
84
ToolConsole
.WriteError(SR.GetString(SR.AppIDsDontMatch), "");
109
ToolConsole
.WriteLine(SR.GetString(SR.MexEndpointAdded));
115
ToolConsole
.WriteLine(SR.GetString(SR.InterfaceAdded, endpointConfig.ComponentProgID, endpointConfig.InterfaceName));
119
ToolConsole
.WriteLine(SR.GetString(SR.InterfaceAdded, endpointConfig.Clsid, endpointConfig.Iid));
128
ToolConsole
.WriteWarning(SR.GetString(SR.MexEndpointAlreadyExposed, endpointConfig.ComponentProgID));
130
ToolConsole
.WriteWarning(SR.GetString(SR.MexEndpointAlreadyExposed, endpointConfig.Clsid));
135
ToolConsole
.WriteWarning(SR.GetString(SR.InterfaceAlreadyExposed, endpointConfig.ComponentProgID, endpointConfig.InterfaceName));
137
ToolConsole
.WriteWarning(SR.GetString(SR.InterfaceAlreadyExposed, endpointConfig.Clsid, endpointConfig.Iid));
298
ToolConsole
.WriteWarning(SR.GetString(SR.EndpointNotFoundInSvcFile, appName, componentID, interfaceName, endpoint.BindingName, endpoint.Address));
300
ToolConsole
.WriteWarning(SR.GetString(SR.EndpointNotFoundInSvcFile, endpoint.Appid.ToString("B"), endpoint.Clsid.ToString("B"), endpoint.Iid.ToString("B"), endpoint.BindingName, endpoint.Address));
355
ToolConsole
.WriteLine(SR.GetString((this.configFile.OriginalFileExists ? SR.FileUpdated : SR.FileCreated), configFile.OriginalFileName));
383
ToolConsole
.WriteLine(SR.GetString(SR.InterfaceRemoved, endpointConfig.ComponentProgID, endpointConfig.InterfaceName));
385
ToolConsole
.WriteLine(SR.GetString(SR.InterfaceRemoved, endpointConfig.Clsid, endpointConfig.Iid));
390
ToolConsole
.WriteWarning(SR.GetString(SR.InterfaceNotExposed, endpointConfig.ComponentProgID, endpointConfig.InterfaceName));
392
ToolConsole
.WriteWarning(SR.GetString(SR.InterfaceNotExposed, endpointConfig.Clsid, endpointConfig.Iid));
472
ToolConsole
.WriteWarning(SR.GetString(SR.FailedToLoadConfigForWebDirectoryOnWebSite, webDirectory, webServer));