Solution Items in Visual Studio 2005/2008

Posted by Muneeb on Stack Overflow See other posts from Stack Overflow or by Muneeb
Published on 2010-05-23T01:56:58Z Indexed on 2010/05/23 2:00 UTC
Read the original article Hit count: 314

Filed under:
|
|

Is it possible to add a class as a solution item and use it as a linked item in all the projects in the solution?

Basically I was thinking of creating a class (which will inherit ConfigurationSection) and keeping it as the Solution Item. I wanted to add it as a linked item in all the projects in the solution, so that everyone can use it to access the configuration properties. (Refer to this tutorial for more details)

Now the issue I am facing is that when I create a class in the solution item, it doesn't have any namespace. And it shows up in intellisense, inside the projects but once I create an object of the solution item class, the object doesn't show up in intellisense.

Any ideas why?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET