Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Cannot reference dll in windows service

$
0
0

Hi!

I've created a windows service in VS 2010 which references the model conveniently placed in a separate project which compiles to a dll. I have no problem referencing this dll in other parts of my solution (web apps), but in my windows services the following symptoms display:

  1. Compiler error: The type or namespace %%% cannot be found (are you missing....
  2. I add a reference to %%% (directly to a dll copy or to the project, makes no difference).
  3. The compile error disappears.
  4. I build.
  5. The compile error reappears.

Using fw4.

What's up with that?

Edit: I can add and use other dlls ofcourse. Third party and microsoft's.


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>