Skip to content

Unexpected named argument: inMemory #26

Closed

Description

@ashutoshraina
  • Reproduction :
  • Have scriptcs installed
  • Have Sublime Text 3 installed
  • Install scriptcs package from package control
  • Write a simple script
var foo = 12;
Console.WriteLine(foo);
  • Build
  • Get the below error message
Unexpected named argument: inMemory
ERROR: Usage: scriptcs options

   OPTION                    DESCRIPTION                                                              
   -scriptname (-s)          Script file name, must be specified first                                
   -help (-?)                Displays help                                                            
   -debug (-debug)           Flag which switches on debug mode                                        
   -loglevel (-log)          Flag which defines the log level used.                                   
   -install (-install)       Installs and restores packages which are specified in packages.config    
   -restore (-restore)       Restores installed packages, making them ready for using by the script   
   -save (-save)             Creates a packages.config file based on the packages directory           
   -clean (-clean)           Cleans installed packages from working directory                         
   -allowprerelease (-pre)   Allows installation of packages' prelease versions                       
   -version (-version)       Outputs version information                                              

   EXAMPLE: scriptcs server.csx -debug
   Shows how to start the script with debug mode switched on


[Finished in 0.5s]
Additional information

C:\Users\Ashutosh>scriptcs -version
scriptcs version 0.5.0.0


Activity

  1. filipw commented on Dec 25, 2013

    @filipw
    Member

    you need to upgrade to the new version - cup scriptcs (with chocolatey)

    On 25 December 2013 06:22, Ashutosh Raina notifications@github.com wrote:

    • Reproduction :
    • Have scriptcs installed
    • Have Sublime Text 3 installed
    • Install scriptcs package from package control
    • Write a simple script

    var foo = 12;
    Console.WriteLine(foo);

    • Build
    • Get the below error message

    Unexpected named argument: inMemory
    ERROR: Usage: scriptcs options

    OPTION DESCRIPTION
    -scriptname (-s) Script file name, must be specified first
    -help (-?) Displays help
    -debug (-debug) Flag which switches on debug mode
    -loglevel (-log) Flag which defines the log level used.
    -install (-install) Installs and restores packages which are specified in packages.config
    -restore (-restore) Restores installed packages, making them ready for using by the script
    -save (-save) Creates a packages.config file based on the packages directory
    -clean (-clean) Cleans installed packages from working directory
    -allowprerelease (-pre) Allows installation of packages' prelease versions
    -version (-version) Outputs version information

    EXAMPLE: scriptcs server.csx -debug
    Shows how to start the script with debug mode switched on

    [Finished in 0.5s]

    Additional information

    C:\Users\Ashutosh>scriptcs -version
    scriptcs version 0.5.0.0

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/26
    .

  2. ashutoshraina commented on Dec 25, 2013

    @ashutoshraina
    Author

    Worked. Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions