JS1248: Expected 'assembly'

The code appears to define global attributes for an assembly, but the assembly identifier is not used. The correct syntax to define an assembly attribute is:

[assembly: attribute]

The attribute should be a valid global attribute for an assembly, which are provided by the System.Reflection namespace. For more information, see System.Reflection Namespace.

To correct this error

  • Make sure to use the correct syntax to declare global attributes.

See Also

Concepts

Troubleshooting Your Scripts

Other Resources

JScript Reference