.cs File Not Updating

  • Thread starter Thread starter Jeff Johnson
  • Start date Start date
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
 
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.
 
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.
 
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
 
Back
Top