Compile error!

  • Thread starter Thread starter Mattias Thuresson
  • Start date Start date
M

Mattias Thuresson

Everytime I compile my project I'll get a compile error saying:
C:\vss\DPC2\Banverket\Data\DPC2\DPCII Client\DPCApplication.cs(2): The type
or namespace name 'ClientCore' does not exist in the class or namespace
'Banverket.Data.DPCII' (are you missing an assembly reference?)

Now you all think that, all he have to do is to put a refernce to ClientCore
in the project right :) But the refernce is there, this is some other weird
error.
The only thing I can make to get my project compiling is to, close down VS
..NET, remove the ClientCore.dll file, start VS.NET again (which sometimes
takes forever, because i'm working towards a SS-database), compile again,
still not compiling, close VS.Net again and repeat the procedure once more,
then it compiles.

Do anybody reconize this problem ? Is there any solution for it ?
 
Mattias,

Can you give a little more information about your projects and how they
are set up and possibly the projects themselves?
 
You also need to add
using Banverket; and/or using Banverket.Data; and/or using
Banverket.Data.DPCII;
 
My solution contains 15 projects.
It seems that VS.NET locks the file ClientCore.dll from being deleted,
because you can't delete the file when the IDE is opened.
The .dll file is about 124 kB.
Is there anything more specfic you wnat to now about the projects ?


Nicholas Paldino said:
Mattias,

Can you give a little more information about your projects and how they
are set up and possibly the projects themselves?

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Mattias Thuresson said:
Everytime I compile my project I'll get a compile error saying:
C:\vss\DPC2\Banverket\Data\DPC2\DPCII Client\DPCApplication.cs(2): The type
or namespace name 'ClientCore' does not exist in the class or namespace
'Banverket.Data.DPCII' (are you missing an assembly reference?)

Now you all think that, all he have to do is to put a refernce to ClientCore
in the project right :) But the refernce is there, this is some other weird
error.
The only thing I can make to get my project compiling is to, close down VS
.NET, remove the ClientCore.dll file, start VS.NET again (which sometimes
takes forever, because i'm working towards a SS-database), compile again,
still not compiling, close VS.Net again and repeat the procedure once more,
then it compiles.

Do anybody reconize this problem ? Is there any solution for it ?
 
I have done that, the project should work, and is working if you do that
procedure that i wrote about in my first post.
 
Back
Top