Click here to Skip to main content
15,921,212 members
Home / Discussions / C#
   

C#

 
GeneralRe: Events over .Net Remoting Pin
Tom Larsen28-Oct-05 4:48
Tom Larsen28-Oct-05 4:48 
QuestionShared Classes Among Applications In a Single Project Pin
budidharma27-Oct-05 4:24
budidharma27-Oct-05 4:24 
AnswerRe: Shared Classes Among Applications In a Single Project Pin
Jeason Zhao27-Oct-05 4:30
Jeason Zhao27-Oct-05 4:30 
AnswerRe: Shared Classes Among Applications In a Single Project Pin
Matt Newman27-Oct-05 5:14
Matt Newman27-Oct-05 5:14 
GeneralRe: Shared Classes Among Applications In a Single Project Pin
budidharma27-Oct-05 6:11
budidharma27-Oct-05 6:11 
GeneralRe: Shared Classes Among Applications In a Single Project Pin
Rob Graham27-Oct-05 6:20
Rob Graham27-Oct-05 6:20 
AnswerRe: Shared Classes Among Applications In a Single Project Pin
Rob Graham27-Oct-05 6:14
Rob Graham27-Oct-05 6:14 
GeneralRe: Shared Classes Among Applications In a Single Project Pin
budidharma27-Oct-05 6:26
budidharma27-Oct-05 6:26 
Granted, I'm new to C#. But I don't want the helper classes defined in the solution file to be put in separate namespaces, I want them to be in their own namespace that is accessable from the different applications, to avoid confusion.

I'm going to try the DLL solution you mentioned and see if I can get that to work.

Just to reiterate on my goal:
The applications in the project are contained within separate namespaces because MOST of the data in each is not used in the other. However, some of the basic data is derived from the same classes. Those classes I've put in a separate file in their own namespace. Just to show the structure:

The first two applications are like so:

Application 1:
namespace client
{
... // requires processing of class helper1 and helper 2
}

Application 2:
namespace server
{
... // requires processing of class helper1 and helper 2
}

SolutionFile.cs
namespace helper
{
enum type1 { ... }
enum type2 { ... }
class helper1 { ... } // USES ENUM TYPES
class helper2 { ... } // USES ENUM TYPES
}

I hope that clears up my problem a bit.
QuestionAbout ADO.NET2.0 Exception:Capacity must be larger than 0 Pin
Jeason Zhao27-Oct-05 4:20
Jeason Zhao27-Oct-05 4:20 
Questionmanaged DirectX 9 Pin
faviochilo27-Oct-05 2:28
faviochilo27-Oct-05 2:28 
QuestionOut of Memory using DrawImage & ImageAttributes Pin
mandrake_227-Oct-05 1:57
mandrake_227-Oct-05 1:57 
AnswerRe: Out of Memory using DrawImage & ImageAttributes Pin
mandrake_227-Oct-05 4:01
mandrake_227-Oct-05 4:01 
Questionvalidators and javascript(confirm) Pin
ali bagheri27-Oct-05 1:45
ali bagheri27-Oct-05 1:45 
AnswerRe: validators and javascript(confirm) Pin
enjoycrack27-Oct-05 6:49
enjoycrack27-Oct-05 6:49 
QuestionHow to place multiple bitmaps into one picturebox ? Pin
Rashid.Mahmood27-Oct-05 1:36
Rashid.Mahmood27-Oct-05 1:36 
AnswerRe: How to place multiple bitmaps into one picturebox ? Pin
Gulfraz Khan27-Oct-05 4:27
Gulfraz Khan27-Oct-05 4:27 
QuestionPrevent Reusability Pin
Anindya Chatterjee27-Oct-05 0:29
Anindya Chatterjee27-Oct-05 0:29 
AnswerRe: Prevent Reusability Pin
enjoycrack27-Oct-05 6:46
enjoycrack27-Oct-05 6:46 
AnswerRe: Prevent Reusability Pin
Dan Neely27-Oct-05 7:03
Dan Neely27-Oct-05 7:03 
QuestionHow to use StrongNamePublicKeyBlob class Pin
dreamwinter26-Oct-05 23:23
dreamwinter26-Oct-05 23:23 
AnswerRe: How to use StrongNamePublicKeyBlob class Pin
enjoycrack27-Oct-05 6:41
enjoycrack27-Oct-05 6:41 
QuestionRegular Expression Doesn't work 100% Pin
Brendan Vogt26-Oct-05 22:34
Brendan Vogt26-Oct-05 22:34 
AnswerRe: Regular Expression Doesn't work 100% Pin
leppie26-Oct-05 22:58
leppie26-Oct-05 22:58 
QuestionScheduled Tasks Pin
Mridang Agarwalla26-Oct-05 22:20
Mridang Agarwalla26-Oct-05 22:20 
QuestionCreating a DWORD value in the registry Pin
Mridang Agarwalla26-Oct-05 22:12
Mridang Agarwalla26-Oct-05 22:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.