This documentation is archived and is not being maintained.

CmdLineError Enumeration

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.

Namespace:  Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public enum CmdLineError

Member nameDescription
NoErrorNo error. This is the default value.
AssemblyNotFoundThe referenced assembly '{0}' could not be found.
CannotCreateEngineCannot create JScript engine.
CompilerConstantCannot change value of compiler constant '{0}'.
DuplicateFileAsSourceAndAssemblyDuplicate file name: '{0}' is listed as both a source file and an imported assembly.
DuplicateResourceFileResource file '{0}' referenced more than once.
DuplicateResourceNameResource name '{0}' is not unique.
DuplicateSourceFileDuplicate file name: '{0}' is listed as a source file more than once.
ErrorSavingCompiledStateError saving compiled state: {0}.
IncompatibleTargetsThe value of the GenerateExecutable property is not compatible with target type '{0}'.
InvalidAssembly'{0}' is not a valid assembly.
InvalidCharactersFile name '{0}' contains invalid characters (wildcard characters are not supported).
InvalidCodePageCode page '{0}' is invalid or not installed.
InvalidDefinitionDefinition '{0}' must be assigned a Boolean or integral value.
InvalidForCompilerOptions'{0}' is not allowed in the CompilerOptions field.
InvalidLocaleIDLocale ID '{0}' is invalid or not installed.
InvalidPlatformPlatform '{0}' is invalid. Specify 'x86', 'Itanium', 'x64', or 'anycpu'.
InvalidTargetTarget '{0}' is invalid. Specify 'exe' or 'library'.
InvalidSourceFile'{0}' is not a valid source file.
InvalidVersion'{0}' is not a valid version string.
InvalidWarningLevelInvalid warning level specified with option '{0}'.
ManagedResourceNotFoundManaged resource '{0}' was not found.
MissingDefineArgumentMissing identifier for '-define:' command-line option.
MissingExtensionMissing file extension for '{0}'.
MissingLibArgumentMissing file specification for '-lib:' command-line option.
MissingReferenceMissing reference in argument list '{0}'.
MissingVersionInfoMissing version information in -assembly.version option.
MultipleOutputNamesMultiple output file names specified.
MultipleTargetsMultiple targets specified.
MultipleWin32ResourcesCannot specify more than one Win32 resource file.
NestedResponseFilesCannot process nested response files.
NoCodePageNo code page is specified with option '{0}'.
NoFileNameNo file name specified with option '{0}'.
NoInputSourcesSpecifiedNo input sources specified.
NoLocaleIDNo Locale ID is specified with option '{0}'.
NoWarningLevelNo warning level specified with option '{0}'.
ResourceNotFoundWin32 resource '{0}' was not found.
SourceFileTooBigSource file too big.
SourceNotFoundCould not find source file '{0}'.
UnknownOptionUnknown option '{0}'.
UnspecifiedUnspecified error.
LASTA placeholder enumeration member that contains the same value as the last (highest) assigned enumeration value.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.