Ok so I'm trying to hack together something to make SubSonic3 work with Postgres, on Mono.
I almost have the templates generating but have ran into one small problem.
<#@ include file="PostgreSQL.ttinclude" #>
will give a "cannot resolve include file" error.
However, specifying a full path will work(though cumbersome)
<#@ include file="/home/earlz/Projects/SubSonicPostgres/SubSonicPostgres/SubSonic/PostgreSQL.ttinclude" #>
Is there any kind of fix to this issue? Is it even a known bug?
This is the first I've heard about it, and I wrote the MonoDevelop T4 engine :)
There's no trivial workaround, though since full source to MonoDevelop is available, you could easily patch it. Presumably the problem is that since the T4 engine is running inside the MD process, its working directory is MD's working directory. However, the host could easily override LoadIncludeText or ResolvePath to simulate a different working directory.
This really isn't the right place to report bugs - you're lucky I saw your post. You should ask on the MonoDevelop mailing list, and file bugs in the appropriate place.