This documentation is archived and is not being maintained.
CmdLineError Enumeration
Visual Studio 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Specifies errors that occur when you run the command-line compiler jsc.exe. This enumeration is used to create CmdLineException objects.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
| Member name | Description | |
|---|---|---|
| NoError | No error. This is the default value. | |
| AssemblyNotFound | The referenced assembly '{0}' could not be found. | |
| CannotCreateEngine | Cannot create JScript engine. | |
| CompilerConstant | Cannot change value of compiler constant '{0}'. | |
| DuplicateFileAsSourceAndAssembly | Duplicate file name: '{0}' is listed as both a source file and an imported assembly. | |
| DuplicateResourceFile | Resource file '{0}' referenced more than once. | |
| DuplicateResourceName | Resource name '{0}' is not unique. | |
| DuplicateSourceFile | Duplicate file name: '{0}' is listed as a source file more than once. | |
| ErrorSavingCompiledState | Error saving compiled state: {0}. | |
| IncompatibleTargets | The value of the GenerateExecutable property is not compatible with target type '{0}'. | |
| InvalidAssembly | '{0}' is not a valid assembly. | |
| InvalidCharacters | File name '{0}' contains invalid characters (wildcard characters are not supported). | |
| InvalidCodePage | Code page '{0}' is invalid or not installed. | |
| InvalidDefinition | Definition '{0}' must be assigned a Boolean or integral value. | |
| InvalidForCompilerOptions | '{0}' is not allowed in the CompilerOptions field. | |
| InvalidLocaleID | Locale ID '{0}' is invalid or not installed. | |
| InvalidPlatform | Platform '{0}' is invalid. Specify 'x86', 'Itanium', 'x64', or 'anycpu'. | |
| InvalidTarget | Target '{0}' is invalid. Specify 'exe' or 'library'. | |
| InvalidSourceFile | '{0}' is not a valid source file. | |
| InvalidVersion | '{0}' is not a valid version string. | |
| InvalidWarningLevel | Invalid warning level specified with option '{0}'. | |
| ManagedResourceNotFound | Managed resource '{0}' was not found. | |
| MissingDefineArgument | Missing identifier for '-define:' command-line option. | |
| MissingExtension | Missing file extension for '{0}'. | |
| MissingLibArgument | Missing file specification for '-lib:' command-line option. | |
| MissingReference | Missing reference in argument list '{0}'. | |
| MissingVersionInfo | Missing version information in -assembly.version option. | |
| MultipleOutputNames | Multiple output file names specified. | |
| MultipleTargets | Multiple targets specified. | |
| MultipleWin32Resources | Cannot specify more than one Win32 resource file. | |
| NestedResponseFiles | Cannot process nested response files. | |
| NoCodePage | No code page is specified with option '{0}'. | |
| NoFileName | No file name specified with option '{0}'. | |
| NoInputSourcesSpecified | No input sources specified. | |
| NoLocaleID | No Locale ID is specified with option '{0}'. | |
| NoWarningLevel | No warning level specified with option '{0}'. | |
| ResourceNotFound | Win32 resource '{0}' was not found. | |
| SourceFileTooBig | Source file too big. | |
| SourceNotFound | Could not find source file '{0}'. | |
| UnknownOption | Unknown option '{0}'. | |
| Unspecified | Unspecified error. | |
| LAST | A placeholder enumeration member that contains the same value as the last (highest) assigned enumeration value. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: