2 file namespace won't work


M

musosdev

Hi

I have a namespace spanning 2 files. One is an aspx.cs (so it has an aspx
page too, and a partial class) page, and the other is a normal .cs file. They
are both in the same directory.

Both have the same namespace {} definition, and yet my aspx.cs page cannot
see classes from the .cs class file.

I've tried added a using statement, but that had no effect.

What's going on!?!

Tnx, Dan.
 
Ad

Advertisements

M

musosdev

Fixed. I had to put the cs file that wasn't part of the partial page into
App_Code.

Sorry to interrupt :)
 

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