wdhough
May 31st, 2007, 09:15 AM
Hi, I have two projects, proj1 and proj2.
Proj2 references Proj1 so i have access to all of proj1's classes and objects from proj2.
I have added resources to Proj1, something simple at the moment, just a string called TestString.
From within any class in proj1, i can access my string by simply saying
Proj1.Properties.Resources.TestString.
However when i try to do this from proj2 like this
Proj1.Properties.Resources.TestString.
i get the following error
Proj1.Properties.Resources is inaccessible due to its protection level .
Can anyone tell me how to get around this?
thanks
Will
Proj2 references Proj1 so i have access to all of proj1's classes and objects from proj2.
I have added resources to Proj1, something simple at the moment, just a string called TestString.
From within any class in proj1, i can access my string by simply saying
Proj1.Properties.Resources.TestString.
However when i try to do this from proj2 like this
Proj1.Properties.Resources.TestString.
i get the following error
Proj1.Properties.Resources is inaccessible due to its protection level .
Can anyone tell me how to get around this?
thanks
Will