471,318 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,318 software developers and data experts.

Referencing classes in an exe

Hi all,

This is probably simple, but for some reason escapes me. I've got a
solution with a main project set to build an exe and the others to build
dlls. How do I reference a class in the main project (that will be the exe)
from one of the others?

- John
Jul 21 '05 #1
3 1012
You cannot. VS.NET does not allow you to reference EXE assemblies.

"John Spiegel" <js******@NOSPAMc-comld.com> wrote in message
news:et**************@TK2MSFTNGP14.phx.gbl...
Hi all,

This is probably simple, but for some reason escapes me. I've got a
solution with a main project set to build an exe and the others to build
dlls. How do I reference a class in the main project (that will be the exe) from one of the others?

- John

Jul 21 '05 #2
Thanks, Peter. It was looking that way, but I was hoping I was missing
something. Time to restructure...

- John

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
You cannot. VS.NET does not allow you to reference EXE assemblies.

"John Spiegel" <js******@NOSPAMc-comld.com> wrote in message
news:et**************@TK2MSFTNGP14.phx.gbl...
Hi all,

This is probably simple, but for some reason escapes me. I've got a
solution with a main project set to build an exe and the others to build
dlls. How do I reference a class in the main project (that will be the

exe)
from one of the others?

- John


Jul 21 '05 #3
It will be allowed in VS2005 which will be released on Nov. 7

Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Macka | last post: by
12 posts views Thread by Mark Broadbent | last post: by
16 posts views Thread by PromisedOyster | last post: by
6 posts views Thread by Mikey_Doc | last post: by
4 posts views Thread by Joe | last post: by
2 posts views Thread by Lakenarr | last post: by

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.