zzarchive-Projekt
zzarchive-Projekt copied to clipboard
Can't get init to work
I'm on an up-to-date OSX (El Capitan 10.11.1) and I just installed that latest Mono (Mono MDK 4.2.1 El Capitan Preview). I can't get the init subcommand to work. It seems that pretty much any permutation of command line arguments and current working directory locations results in an "err: target directory:
[ /tmp ]$ mono ~/Applications/projekt/Projekt.exe init NewProject.fsproj --template console --organisation George err: target directory: /private/tmp already exists
(I also tried building Projekt from source but that produces some warnings and NUnit test failures. The first warning was "WARNING: The runtime version supported by this application is unavailable.".)
Hi thanks for the report - could you try: mono ~/Applications/projekt/Projekt.exe init NewProject/NewProject.fsproj --template console ?
It appears that init always expects to create a new folder for the project
I had the same issue. @kjnilsson's solution worked. Is there an easy way to generate a Projekt fsproj file for an existing project?
There isn't however generating an fsproj file then manually editing the xml to add the required files isn't usually that much effort. It would be a nice feature however so feel free to add a feature request ticket for it. :)
I had the same issue. Perhaps renaming the command from init
to new
might help? Then it would be great to provide an init
command that works with a current project/directory/files.