473,473 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Compile error!

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
5 1288
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Danny Boelens | last post by:
Hi all, today I ran into a compile error after a compiler upgrade. I made a small example to demonstrate my compile error: template<typename T1, typename T2> class A {}; class B
5
by: Carmine Cairo | last post by:
Hi, I'm working on a project and today I've note a little problem during the compile fase. Here a little piece of code: // 1st version welldone = 0; size = p->getSize(); backbone = new...
5
by: Brice Prunier | last post by:
Here under 4 schemas i'm working with ( it may be long: sorry...) The context is the following : Resident.xsd imports Person.xsd and includes Common.xsd ( anonimous schema: no TargetNamespace )...
10
by: Chris LaJoie | last post by:
Our company has been developing a program in C# for some time now, and we haven't had any problems with it, but just last night something cropped up that has me, and everyone else, stumped. I...
6
by: Thomas Connolly | last post by:
I have 2 pages referencing the same codebehind file in my project. Originally the pages referenced separate code behind files. Once I changed the reference to the same file, everything worked...
0
by: Jim Heavey | last post by:
Internal Compiler Error: stage 'BEGIN' Hello, I had an application which was working just fine and I decided to modify all database access within the application to utilizie a new Namespace that I...
9
by: ThunderMusic | last post by:
Hi, I'd like to create a compile time error in my class... maybe there's a way already built in in the framework so I can achieve what I want... I have 2 constructors in my class. One of them...
4
by: tony | last post by:
Hello! My question is about calling this method CollectData below but I get a compile error that I shouldn't have because the type parameter is correct. The compile error is the following:...
5
by: wong_powah | last post by:
#include <vector> #include <iostream> using std::cout; using std::vector; enum {DATASIZE = 20}; typedef unsigned char data_t;
2
by: BruceWho | last post by:
I downloaded boost1.35.0 and built it with following command: bjam --toolset=msvc-7.1 --variant=release --threading=multi -- link=shared --with-system stage and it failed to compile, error...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.