By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,909 Members | 2,008 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,909 IT Pros & Developers. It's quick & easy.

Compile error!

P: n/a
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 ?
Nov 15 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
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]
- ni**************@exisconsulting.com

"Mattias Thuresson" <mt*@home.se> wrote in message
news:u2**************@tk2msftngp13.phx.gbl...
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 ?

Nov 15 '05 #2

P: n/a
You also need to add
using Banverket; and/or using Banverket.Data; and/or using
Banverket.Data.DPCII;
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #3

P: n/a
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 [.NET/C# MVP]" <ni**************@exisconsulting.com> skrev
i meddelandet news:#q**************@TK2MSFTNGP12.phx.gbl...
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]
- ni**************@exisconsulting.com

"Mattias Thuresson" <mt*@home.se> wrote in message
news:u2**************@tk2msftngp13.phx.gbl...
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 ?


Nov 15 '05 #4

P: n/a
I have done that, the project should work, and is working if you do that
procedure that i wrote about in my first post.
"Morten Wennevik" <mo************@hotmail.com> skrev i meddelandet
news:opruy984wege0n9a@localhost...
You also need to add
using Banverket; and/or using Banverket.Data; and/or using
Banverket.Data.DPCII;
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Nov 15 '05 #5

P: n/a
Did you make a reference to the DLL, or to the project which builds the DLL?
"Mattias Thuresson" <mt*@home.se> wrote in message
news:u2**************@tk2msftngp13.phx.gbl...
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 ?

Nov 15 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.