Skip to content

System.IO.FileNotFoundException using scriptcs -install on Chocolatey 0.5.0 build #321

@glennblock

Description

@glennblock

Reported by @bc3tech (thanks!)

Installing other packages both loosely or with a packages.config yields similar results whether it is a script pack or not.

C:\users\gblock\test> scriptcs -install ScriptCs.AzureMobileServices
INFO : Installing packages...
INFO : Installed: ScriptCs.AzureMobileServices
INFO : Installation completed successfully.
INFO : Copying assemblies to bin folder...

Unhandled Exception: System.IO.FileNotFoundException: Could not find file 'C:\users\gblock\test\ScriptCs.AzureMobileServ
ices'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.GetAttributes(String path)
   at ScriptCs.FileSystem.GetWorkingDirectory(String path)
   at ScriptCs.Command.RestoreCommand.Execute()
   at ScriptCs.Command.CompositeCommand.Execute()
   at ScriptCs.Program.Main(String[] args)
C:\users\gblock\test>

Both @bc3tech and I hit this on 0.5.0.

This is a show stopper and needs to get fixed ASAP!

If folks want to use chocolatey pull from 0.4.0 till we fix this

cinst scriptcs -version 0.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions