473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

.cs File Not Updating

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
Nov 16 '05 #1
4 1199
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.

"Jeff Johnson" <je**********@hotmail.com> wrote in message
news:e%****************@TK2MSFTNGP10.phx.gbl...
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

Nov 16 '05 #2
Thanks Marina.

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

Jeff

"Marina" <so*****@nospam.com> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...
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.

"Jeff Johnson" <je**********@hotmail.com> wrote in message
news:e%****************@TK2MSFTNGP10.phx.gbl...
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


Nov 16 '05 #3
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" <je**********@hotmail.com> wrote in message
news:eU**************@TK2MSFTNGP12.phx.gbl...
Thanks Marina.

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

Jeff

"Marina" <so*****@nospam.com> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...
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.

"Jeff Johnson" <je**********@hotmail.com> wrote in message
news:e%****************@TK2MSFTNGP10.phx.gbl...
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



Nov 16 '05 #4
Thanks. I figured that -- just wanted to be sure.

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

Any other ideas.

Jeff

"Marina" <so*****@nospam.com> wrote in message
news:Oe*************@TK2MSFTNGP12.phx.gbl...
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" <je**********@hotmail.com> wrote in message
news:eU**************@TK2MSFTNGP12.phx.gbl...
Thanks Marina.

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

Jeff

"Marina" <so*****@nospam.com> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...
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.

"Jeff Johnson" <je**********@hotmail.com> wrote in message
news:e%****************@TK2MSFTNGP10.phx.gbl...
> 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
>
>



Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chad | last post by:
I was wondering what the best method of updating a file was. heres my prob, ive got a file with say 1million urls and I want to take the first 10,000 and store them in memory. I want to 10k of...
4
by: Oliver Knoll | last post by:
According to my ANSI book, tmpfile() creates a file with wb+ mode (that is just writing, right?). How would one reopen it for reading? I got the following (which works): FILE *tmpFile =...
4
by: Wes | last post by:
Hello, I have an application using an xml dataset to store app and user settings. The problem I am having is related to writexml. I have a save button on my application that updates the dataset...
1
by: Luis Esteban Valencia | last post by:
Hello Everyone, Iam an intermediate ASP.Net programmer and iam facing a challenging task. I have a table in MS-SQL server database called 'Members'. The table has following fields... ...
6
by: muttu2244 | last post by:
hi all am updating the same file in ftp, through multiple clients, but am scared that two clients may open the same file at a time, and try updating, then the data updated by one data will be...
2
by: Alexey.Murin | last post by:
The application we are developing uses MS Access 2003 database (with help of ADO). We have noticed that during massive records updating the size of the mdb file increases dramatically (from 3-4 to...
3
by: siyaverma | last post by:
i am trying to upload csv file from user's computer to main server the code i am using is if(((isset($_GET)) && ($_GET=="yes")) ) { $typefield = $_GET; echo...
3
by: Evan | last post by:
Hello - My script use a DB file which is written by XML, and the user load this DB file (XML tree in memory), and then do some updating about this tree, such as delete element, generate new...
5
by: Bill Schanks | last post by:
I have a winform app (VB 2005) that allows users to export data to excel, make updates to the excel file and import the data from that Excel file and update the database. My question is: Is it...
2
tdw
by: tdw | last post by:
Hi all, I have several ideas on how to do this, but am having difficulty putting the ideas together and figuring out the most efficient way to do this. I have a database of survey coordinate...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.