Skip to content

Instantly share code, notes, and snippets.

@junosuarez
Last active December 14, 2015 11:29
Show Gist options
  • Save junosuarez/5079202 to your computer and use it in GitHub Desktop.
Save junosuarez/5079202 to your computer and use it in GitHub Desktop.
PS C:\dev\scs\test> scriptcs server.csx
Found package reference: C:\dev\scs\test\packages\Microsoft.AspNet.WebApi.Client.4.0.20710.0\lib\net40
Found package reference: C:\dev\scs\test\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40
Found package reference: C:\dev\scs\test\packages\Microsoft.AspNet.WebApi.SelfHost.4.0.20918.0\lib\net40
Found package reference: C:\dev\scs\test\packages\Microsoft.Net.Http.2.0.20710.0\lib\net40
Found package reference: C:\dev\scs\test\packages\Newtonsoft.Json.4.5.11\lib\net35
Found package reference: C:\dev\scs\test\packages\Newtonsoft.Json.4.5.11\lib\net40
Listening...
PS C:\dev\scs\scriptcs\samples\servicestackhost> scriptcs .\ServiceStack-server.csx
Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\dev\scs\scriptcs\samples\servicestackhost\packages'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption)
at Scriptcs.PackageAssemblyResolver.GetAssemblyNames() in c:\dev\scs\scriptcs\src\Scriptcs\PackageAssemblyResolver.cs:line 26
at Scriptcs.Program.Main(String[] args) in c:\dev\scs\scriptcs\src\Scriptcs\Program.cs:line 37
PS C:\dev\scs\scriptcs\samples\servicestackhost> nuget install
Successfully installed 'ServiceStack.Redis 3.9.37'.
Successfully installed 'ServiceStack 3.9.37'.
Successfully installed 'ServiceStack.OrmLite.SqlServer 3.9.37'.
Successfully installed 'ServiceStack.Text 3.9.37'.
Successfully installed 'ServiceStack.Common 3.9.37'.
PS C:\dev\scs\scriptcs\samples\servicestackhost> scriptcs .
Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\dev\scs\scriptcs\samples\servicestackhost\packages'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption)
at Scriptcs.PackageAssemblyResolver.GetAssemblyNames() in c:\dev\scs\scriptcs\src\Scriptcs\PackageAssemblyResolver.cs:line 26
at Scriptcs.Program.Main(String[] args) in c:\dev\scs\scriptcs\src\Scriptcs\Program.cs:line 37
PS C:\dev\scs\scriptcs\samples\servicestackhost> ls
Directory: C:\dev\scs\scriptcs\samples\servicestackhost
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 3/3/2013 5:04 PM ServiceStack.3.9.37
d---- 3/3/2013 5:04 PM ServiceStack.Common.3.9.37
d---- 3/3/2013 5:04 PM ServiceStack.OrmLite.SqlServer.3.9.37
d---- 3/3/2013 5:04 PM ServiceStack.Redis.3.9.37
d---- 3/3/2013 5:04 PM ServiceStack.Text.3.9.37
-a--- 3/3/2013 4:28 PM 472 packages.config
-a--- 3/3/2013 4:28 PM 824 ServiceStack-server.csx
PS C:\dev\scs\scriptcs\samples\servicestackhost> scriptcs .\ServiceStack-server.csx
Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\dev\scs\scriptcs\samples\servicestackhost\packages'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption)
at Scriptcs.PackageAssemblyResolver.GetAssemblyNames() in c:\dev\scs\scriptcs\src\Scriptcs\PackageAssemblyResolver.cs:line 26
at Scriptcs.Program.Main(String[] args) in c:\dev\scs\scriptcs\src\Scriptcs\Program.cs:line 37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment