.cs File Not Updating

J

Jeff Johnson

I'm suddenly having a problem with my .cs file.

I can update the .aspx file and see the changes in the browser, but any
changes to the associated .cs file don't appear when I try to view in the
browser. I've even tried simple Response.Write commands and nothing.

Has anyone had this experience before and how do I correct it? Is it some
kind of caching issue?

Thanks,

Jeff
 
M

Marina

You need to recompile the project. The .cs file is just text, it needs to
be compiled into a DLL that sits in your bin directory.

Now there are ways to not have this compiled DLL and have the .cs file be
the source, but it doesn't sound like you have set it up that way.
 
M

Marina

Select Build [ProjectName] from the Build menu.

I recommend you familiarize yourself with the IDE and read up on the ASP.NET
model before you go too much further.
 
J

Jeff Johnson

Thanks. I figured that -- just wanted to be sure.

No dice though. I'm still not seeing any updating.

Any other ideas.

Jeff

Marina said:
Select Build [ProjectName] from the Build menu.

I recommend you familiarize yourself with the IDE and read up on the ASP.NET
model before you go too much further.

Jeff Johnson said:
Thanks Marina.

How do I recompile the project? I'm fairly new to VS.NET.

Jeff
needs
to in
the it
some
 

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