intriguing build problem
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngvs' list.


Daniel Niland
I'm new to this newsgroup and would like to know if this issue has been
covered before.

When I build my asp web app to my remote site from vs.net, for some
reason the .cs files that I use for codebehind don't get updated when
the application is restarted. I'm able to make changes to .aspx pages
that show up fine, but any changes to the .cs files won't come through,
old versions are used instead even though when I check the file on the
server, the .cs has been updated. My provider (orcsweb) has no clue
what's going on. Everything works fine on my local machine.

Is there something in the preferences that I'm not setting? Any ideas?
I've tried deleting the cache, no dice. Could anyone point me in a
helpful direction?

Thanks!
Reply to this message...
 
    
Daniel Niland
-- Moved from [aspngfreeforall] to [aspngvs] by Tim Musschoot <Click here to reveal e-mail address> --

I'm new to this newsgroup and would like to know if this issue has been
covered before.

When I build my asp web app to my remote site from vs.net, for some reason
the .cs files that I use for codebehind don't get updated when the
application is restarted. I'm able to make changes to .aspx pages that show
up fine, but any changes to the .cs files won't come through, old versions
are used instead even though when I check the file on the server, the .cs
has been updated. My provider (orcsweb) has no clue what's going on.
Everything works fine on my local machine.

Is there something in the preferences that I'm not setting? Any ideas? I've
tried deleting the cache, no dice. Could anyone point me in a helpful
direction?

Thanks!

Reply to this message...
 
    
Michael Wells
Are you copying the /bin directory contents as well as the .aspx files?

=20
-----Original Message-----
From: Daniel Niland [mailto:Click here to reveal e-mail address]
Sent: Thursday, July 11, 2002 1:52 PM
To: aspngvs
Subject: [aspngvs] intriguing build problem

I'm new to this newsgroup and would like to know if this issue has been
covered before.
=20
When I build my asp web app to my remote site from vs.net, for some
reason the .cs files that I use for codebehind don't get updated when
the application is restarted. I'm able to make changes to .aspx pages
that show up fine, but any changes to the .cs files won't come through,
old versions are used instead even though when I check the file on the
server, the .cs has been updated. My provider (orcsweb) has no clue
what's going on. Everything works fine on my local machine.
=20
Is there something in the preferences that I'm not setting? Any ideas?
I've tried deleting the cache, no dice. Could anyone point me in a
helpful direction?
=20
Thanks!
=20
| [aspngvs] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngvs.asp =3D JOIN/QUIT
| http://www.asplists.com/search =3D SEARCH Archives

Reply to this message...
 
    
Daniel Niland
I am simply hitting the "build" button. Is there something more that I need
to do?

[Original message clipped]

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com

Reply to this message...
 
    
Ryan Christensen
You shouldn't need the .cs files on teh server all you need for final upload is your static front-end pages (ASPX, ASCX, etc) all codebehind code goes in teh /bin folder assembly. Check to make sure that you are getting that updated and that your hosting provider supports .NET. I use Brinkster and they only let you have a bin folder on the root of the site no subs since the root of your .NET site needs to be an application to run.

RYAN
----- Original Message -----
From: Daniel Niland
To: aspngvs
Sent: Thursday, July 11, 2002 11:52 AM
Subject: [aspngvs] intriguing build problem

I'm new to this newsgroup and would like to know if this issue has been covered before.

When I build my asp web app to my remote site from vs.net, for some reason the .cs files that I use for codebehind don't get updated when the application is restarted. I'm able to make changes to .aspx pages that show up fine, but any changes to the .cs files won't come through, old versions are used instead even though when I check the file on the server, the .cs has been updated. My provider (orcsweb) has no clue what's going on. Everything works fine on my local machine.

Is there something in the preferences that I'm not setting? Any ideas? I've tried deleting the cache, no dice. Could anyone point me in a helpful direction?

Thanks!

| [aspngvs] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngvs.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives
Reply to this message...
 
    
Michael Wells

From my experience, Ryan is correct. Once you've compiled an ASP.NET
application, the only deployment components are...

+ Your aspx, ascx, and config files (throughout your directory
structure)
+ Supporting files (gifs, jpegs, css, xml, xsl, etc.)
+ Everything in the bin directory (/bin/*.*)

The Build process compiles your C# files into the DLL's you see in the
bin directory. AFAIK, the *.cs files are no longer used for anything.

I tend to to deploy all files, so that I have a copy on my client's
server... but many of these files aren't used. If you want to be strict
about deploying the bare minimum file set, you should check to see
whether resx files, etc, are needed.

[Original message clipped]

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com