[MonoDevelop] problem managing 2 projects

Ultrakorne ultrakorne@paranoici.org
Sun, 21 Nov 2004 22:51:28 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ultrakorne wrote:
| hi i have some problems manage 2 project.
| i have those 2 projects open, the second one need to use a .cs file from
| the first, i add this file to the resource files.
| run ./make.sh all gives me an error, namespace cannot be found (the
| namespace where the shared class is ), if i compile from md, it compiles
| (if i run from md, it runs the first project) so i run from bin/Debug...
| and i have this error:
|

errata corrige, nor from make.sh and md the error is the same, cant find
namespace (where the shared file is)

tha makefile filled by md is this

SOURCES = \
./Main.cs \
./AssemblyInfo.cs \
./core/ServerHandle.cs

RESOURCES = \
../client/utility/Packet.cs

RESOURCES_BUILD = $(foreach res,$(RESOURCES), $(addprefix
- -resource:,$(res)),$(notdir $(res)))

MCS_OPTIONS =

all: UltraGDRServer.exe

UltraGDRServer.exe: $(SOURCES) $(RESOURCES)
~   mcs $(MCS_OPTIONS) -target:exe -out:"UltraGDRServer.exe"
$(RESOURCES_BUILD) $(SOURCES) \
~   && cp "UltraGDRServer.exe" ../../build/bin/.

I need something like (i edited manually and so it works)

SOURCES = \
./Main.cs \
./AssemblyInfo.cs \
../client/utility/Packet.cs \
./core/ServerHandle.cs

MCS_OPTIONS =

all: UltraGDRServer.exe

UltraGDRServer.exe: $(SOURCES) $(RESOURCES)
~   mcs $(MCS_OPTIONS) -target:exe -out:"UltraGDRServer.exe" $(SOURCES) \
~   && cp "UltraGDRServer.exe" ../../build/bin/.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBoQ3gzMLB4uKES7kRAlrAAJoDAqdJEPHZFcLQDn3qzYqaFitFTQCfU6CZ
laRcJxqV0U+ZtFkRNyXiZF8=
=xWDm
-----END PGP SIGNATURE-----