This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, I am trying to use
I first started by running my command on Windows, to confirm it is correct. It was and created everything I needed. But I am trying to automate my processes and need it to run on my Mac using Mono. The application runs, I can see all the command line options etc but the issue seems to be with how you are building the filename for resolving the templates. I don't think it's a case sensitivity issue, because I tried passing the IOMap argument to mono, to account for this. So I am wondering if the path separator is hard coded as a backslash? Some good notes about file path compatibility here. Would be fantastic if you can resolve this, it's the last piece in my exit from Windows. As always, thank you :) Cheers, Scott |
|
|
You can actually configure this via your .config file. If you add a new appSettings entry with the key of CSharpTemplate then you can set the path (relative or absolute) for Base.vm. Let me know if that doesnt cover it though.
|
|
|
Hi Jeremy, I did as you suggested:
This resolved the issue of not finding
Is there anyway to specify the directory to look in, or have the other parts resolve relative to the I did try moving the templates to the same directory as
Thanks, Scott |
|
|
Hi Scott, Hmm, we dont have any reference to that type so it sounds like Mono much be doing a bit of a trawl over all types in any referenced assemblies down the chain. Is there any additional info on the exception when its thrown? It seems a bit suspicious that the program runs for long enough to parse through the templates before throwing that.
|
|
|
Hi Jeremy,
This is all that is output. I did think it was odd to be calling the replication manager for a simple DB connection. Scott |
|
|
Ok Ill run up some tests here and see if I can track down how this is getting triggered.
|
|
|
Thanks Jeremy. (Added Mono Version below)
|
|
|
Hi Jeremy, Any update on this issue? Thanks Scott |
|
|
Hi Scott, Sorry this fell off our radar. Ive managed to reproduce this and there was one case of a hard coded directory seperator which we needed to fix so this will be updated in the next nightly build. To get this working here I had to:
|
|
|
Hi Jeremy, That's great, thanks so much, I'll take a look at this tonight. Cheers, Scott |
|