.cs file not visible

Z

Zeba

I'm not able to 'Add New Item' to my Website in Visual Studio. WHat
may be the reason for this ?

Also, I'm trying to call a public function in a class in my App_Code
\Web folder from my MyCart\BuyItem folder. but it is not visible
( i.e. Visual Studio - intellisense does not show any suggestions )
why is this ? My namespace and class name are all correct. Another cs
file in the same Web directory is visible also.

Thanks !
 
M

Morten Wennevik [C# MVP]

Hi Zeba,

Did you put the file there manually? Can you "Add Existing Item" and point to the file?
 
Z

Zeba

Hi!

I had overlooked to add public identifier before class ..:) that's y
the function wasn't visible..

But I still am not able to add new item. Each time I have to add a
file manually and then do an Add Existing Item. Is it an installation
problem ?

Thanks !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top