Open johnjelinek opened 9 years ago
I think the rename step is because of this commit: https://github.com/scriptcs/scriptcs/commit/0b4acc09de742bbb260529535f2ef5418ee72ed3
@johnjelinek if you are using the latest nightly build, then yes, it has the renamed file system artifacts but it doesn't do the rename automatically. In that version, you can do the renaming by doing:-
scriptcs start.csx -Modules migrate
Note that we are taking another direction with this now and we anticipate that the 'migrate' module will be removed in 0.13 (and in a forthcoming nightly) and instead scriptcs will detect and auto-migrate for you (it will only make copies of the current artifacts instead of renaming, just in case they are being used for something else, e.g. a regular .NET solution).
As for the actual problem you are raising here, nothing springs to mind right now and I don't have time to investigate right now but if it is blocking you, you could try and use the Nancy script pack instead https://www.nuget.org/packages/ScriptCs.Nancy/ which, AFAIK, does work on Mono.
I rolled back to v0.12
before that rename was required. Problem still exists. I decided to just do dev on Windows :/ -- neither webapiselfhost / nancy worked for me on mono. The script pack does work though on mono :) Thanks!
0.12 works without the scriptcs_
prefix, so if you still needed it then your roll back must have failed.
I didn't need to rename for v0.12. Had the same error though when running. On Jan 16, 2015 12:39 AM, "Adam Ralph" notifications@github.com wrote:
0.12 works without the scriptcs_ prefix, so if you still needed it then your roll back must have failed.
— Reply to this email directly or view it on GitHub https://github.com/scriptcs/scriptcs-samples/issues/20#issuecomment-70214430 .
OK. We'll investigate the problem with the sample on Mono. Thanks for raising it.
I'm glad the script pack works though!
I had to rename
packages.config
toscriptcs_packages.config
to doscriptcs -install
.