Is there a way to tell when something was compiled? (I'm trying to find a
way to keep track of what 'version' the web site is and can't find anything
that only changes when it's recompiled.)
TIA - Jeff. 7 1236
What version of .NET? If it's 2.0 I don't think there's any way to
tell when a website is recompiled. If it's not I think there's a way
but I'm not quite sure exactly how.
UJ wrote:
Is there a way to tell when something was compiled? (I'm trying to find a
way to keep track of what 'version' the web site is and can't find anything
that only changes when it's recompiled.)
TIA - Jeff.
Jeff-
As far as I know, ASP.NET 2.0 (basis from there since there wasn't a specified
version) no longer 'compiles' like 1.1; the framework compiles everything
on the fly when it's requested by IIS and drops it in %systemroot\Mic rosoft.NET\Fram ework\{version} \Temporary
ASP.NET Files\.
I'd recommend something such as a Subversion ( http://subversion.tigris.org/)
or SourceSafe for code versioning.
-dl
---
David Longnecker
Web Developer http://blog.tiredstudent.com
Is there a way to tell when something was compiled? (I'm trying to
find a way to keep track of what 'version' the web site is and can't
find anything that only changes when it's recompiled.)
TIA - Jeff.
"David Longnecker" <dl*********@co mmunity.nospamw rote in message
news:46******** *************** *@msnews.micros oft.com...
As far as I know, ASP.NET 2.0 (basis from there since there wasn't a
specified version) no longer 'compiles' like 1.1;
It does if you install the Web Application Project add-in and create a web
application project, or convert your web site project into one...
I've converted it to a web site project. Is there any way for me to tell
when the version has changed? If I have to, I'll end up looking at the
date/time on the .dll and keep track of that.
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:uQ******** ******@TK2MSFTN GP03.phx.gbl...
"David Longnecker" <dl*********@co mmunity.nospamw rote in message
news:46******** *************** *@msnews.micros oft.com...
>As far as I know, ASP.NET 2.0 (basis from there since there wasn't a specified version) no longer 'compiles' like 1.1;
It does if you install the Web Application Project add-in and create a web
application project, or convert your web site project into one...
BTW - the reason for this is that I want to keep a revision history
automatically. At the moment I haven't put it in version control because the
product hasn't been delivered. Plus if I use VSS, can I get full revision
history reports that I can export to something else?
TIA - Jeff.
"UJ" <fr**@nowhere.c omwrote in message
news:ua******** ******@TK2MSFTN GP06.phx.gbl...
I've converted it to a web site project. Is there any way for me to tell
when the version has changed? If I have to, I'll end up looking at the
date/time on the .dll and keep track of that.
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:uQ******** ******@TK2MSFTN GP03.phx.gbl...
>"David Longnecker" <dl*********@co mmunity.nospamw rote in message news:46******* *************** **@msnews.micro soft.com...
>>As far as I know, ASP.NET 2.0 (basis from there since there wasn't a specified version) no longer 'compiles' like 1.1;
It does if you install the Web Application Project add-in and create a web application project, or convert your web site project into one...
UJ wrote:
BTW - the reason for this is that I want to keep a revision history
automatically. At the moment I haven't put it in version control
because the product hasn't been delivered.
The time to begin using revision control is when you create the _first_
project related file. Only using revision control when delivering is
useless. But you have probably learned that the hard way already...
Plus if I use VSS, can I
get full revision history reports that I can export to something else?
Don't know. The version of VSS that I had the dubious pleasure of using
about eight years ago had to have its database rebuilt about once a week. I
haven't found any reasons to look at VSS since.
Ebbe
The reporting in VSS 2005 isn't too shabby and can be dumped to a file or
your clipboard to be posted into a customer report. If you're using VS 2005,
you can use it's integration to add comments and such when you check in and
then report out those comments along with deltas in the code.
To Ebbe's point, not everyone is comfortable in using VSS due to past experiences,
but application aside, the concept of source and versioning control from
project start is invaluable.
To Mark's point re: the Web Application Project ( http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx),
good point... I'd totally forgotten about that.
-dl
---
David Longnecker
Web Developer http://blog.tiredstudent.com
BTW - the reason for this is that I want to keep a revision history
automatically. At the moment I haven't put it in version control
because the product hasn't been delivered. Plus if I use VSS, can I
get full revision history reports that I can export to something else?
TIA - Jeff.
"UJ" <fr**@nowhere.c omwrote in message
news:ua******** ******@TK2MSFTN GP06.phx.gbl...
>I've converted it to a web site project. Is there any way for me to tell when the version has changed? If I have to, I'll end up looking at the date/time on the .dll and keep track of that.
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message news:uQ******* *******@TK2MSFT NGP03.phx.gbl.. .
>>"David Longnecker" <dl*********@co mmunity.nospamw rote in message news:46****** *************** ***@msnews.micr osoft.com...
As far as I know, ASP.NET 2.0 (basis from there since there wasn't a specified version) no longer 'compiles' like 1.1;
It does if you install the Web Application Project add-in and create a web application project, or convert your web site project into one... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michael Strorm |
last post by:
Hi!
I posted a message a while back asking for project suggestions, and decided
to go with the idea of creating an adventure game (although it was never
intended to be a 'proper' game, rather an excuse to write- and learn- some
C++).
To cut a long story short, I wrote a fair chunk of it, but realised that
it's... not very good. Okay, it's...
|
by: Marty |
last post by:
Is there a property or method to tell you if you are running in the IDE
or as a compiled exe? Thanks.
|
by: Max M. Power |
last post by:
How can I tell if my C# code is running in debug mode?
I need to execute some extra code only when my project has been compiled in
debug mode. In release mode I don't want to execute this extra code.
I was looking for something simple I could test like:
#if DEBUG
do_extra_code
#endif
|
by: Fiona McBride |
last post by:
Hi all,
I have a really odd problem with some Visual Basic .NET 2003 code;
I have a program that creates a number of windows which contain
RichTextBox, Timers (disabled) and menus. The code runs fine and
creates the windows as required, BUT if the program is left to do
nothing for several hours, when it is brought back into focus it...
|
by: Don |
last post by:
Is there any way to check, in code, whether that code is being executed
because of a compile as opposed to being executed because someone is just
running the program?
- Don
| |
by: Kevin Murphy |
last post by:
Using PG 7.4.3 on Mac OS X 10.2.8, the following "insert into ... select ..."
statement completed and then announced a syntax error, which seems bizarre.
(Don't be confused by the fact that the two tables referred to
(public.identifiers and original.identifiers) have slightly different column
names.)
egenome_dev=# \!cat...
|
by: Rene |
last post by:
Is there a way to tell if an assembly was compiled on Debug or Release mode?
I tried viewing the file usin Ildasm but did't notice any special comment
line or something that would tell me if it was Debugged or Released.
Thanks.
|
by: vinayakapuram |
last post by:
program1 :1
main()
{
printf("trip" "trapas");
}
output:trip traps
prog 2:
|
by: yashgt |
last post by:
Hi,
We have an application that has been deployed into a virtual folder
along with ascx, aspx and the code-behind files. It runs smoothly as
long as we don't change any code-behind file. If we change a file, we
expect ASP .NET to recompile the website when a user next accesses it.
However, on next access the user gets the following error:
...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |