Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CmdLineError Enumeration
Collapse the table of content
Expand the table of content

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

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

Community Additions

ADD
Show:
© 2015 Microsoft