[MonoDevelop] problem managing 2 projects

Rafael Teixeira Rafael Teixeira <monoman@gmail.com>
Mon, 22 Nov 2004 16:24:08 -0200


Well you can compile your utility class(es) to a .netmodule (a third
project) that you should add to both projects. That method is similar
to static linking, and guarantees that no defines will possibly affect
compiling the utility class, giving different results in the server
and in the second project (probably a client library?).

That said I don't know if MD currently supports compiling to modules
(it probably does), and "adding" them and putting a dependency in the
makefile (probably not).

Hope it helps somewhat,


On Mon, 22 Nov 2004 15:07:53 +0100, Ultrakorne <ultrakorne@paranoici.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> | Instead of adding the second project (or project file) to the resources
> | add the project to references. Go to the edit reference dialog and click
> | on the Projects tab. The project should be in the. Select and click add.
> 
> | Hope this solves your problem
> 
> | RT
> 
> i tryed that too.. it compiles, but when i execute the program i get:
> 
> ~ ** (UltraGDRServer.exe:3944): WARNING **: Could not find assembly
> UltraGDR, references from
> /home/ultra/Projects/UltraGDR/src/server/bin/Debug/UltraGDRServer.exe
> (assemblyref_index=2)
> ~     Major/Minor: 1,0
> ~     Build:       1787,27148
> ~     Token:
> System error: No such file or directory
> 
> cannot open assembly UltraGDRServer.exe
> 
> where UltraGDRServer is the second project (this wich uses a .cs from
> the first
> 
> i solved by making a symbolink link to the .cs i need... and use "add
> file" to add in the second project... but this is not a fine solution!
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFBofK5zMLB4uKES7kRAj5TAJ9KMcclivl5xzaPKwL3Nm6OLO4LMgCfRX1c
> fsy4nGdR6vvgDL4YlzSSZuM=
> =ByH6
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
Just the 'crazy' me in a sane world, or would it be the reverse? I dunno...