Visual studio 2003 solution issue

D

DeveloperX

Hi,
I've a solution with half a dozen related projects in it. For the last
two days I've had issues where I change a method signature in one
project, update the projects using that method appropriately and
compile. When the code executes it gives the error that it can't see
that method.
The error according to MSDN is simply that I haven't recompiled the
assembly containing the alteration. This is not true. So far I have:

simple rebuild
delete all binaries, restart VS, rebuild all
delete all binaries, restart computer, rebuild all.

Sometimes the last one fixes it, sometimes it doesn't. Does anyone
have any ideas?
 
B

Bruce Wood

Hi,
I've a solution with half a dozen related projects in it. For the last
two days I've had issues where I change a method signature in one
project, update the projects using that method appropriately and
compile. When the code executes it gives the error that it can't see
that method.
The error according to MSDN is simply that I haven't recompiled the
assembly containing the alteration. This is not true. So far I have:

simple rebuild
delete all binaries, restart VS, rebuild all
delete all binaries, restart computer, rebuild all.

Sometimes the last one fixes it, sometimes it doesn't. Does anyone
have any ideas?

My memory is a bit foggy on this, but doesn't the solution have a
build order? Are the assemblies being built in the correct order?
 
D

DeveloperX

My memory is a bit foggy on this, but doesn't the solution have a
build order? Are the assemblies being built in the correct order?

It could well be, I just logged on to say I fixed it by deleting the
sln file and recreating it, so I'm putting money on your suggestion :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top