473,395 Members | 1,457 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,395 software developers and data experts.

Anyway to tell when something was compiled?

UJ
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.
Nov 14 '06 #1
7 1225
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.
Nov 14 '06 #2
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\Microsoft.NET\Framework\{version}\Temp orary
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.

Nov 14 '06 #3
"David Longnecker" <dl*********@community.nospamwrote in message
news:46************************@msnews.microsoft.c om...
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...
Nov 14 '06 #4
UJ
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**@markNOSPAMrae.comwrote in message
news:uQ**************@TK2MSFTNGP03.phx.gbl...
"David Longnecker" <dl*********@community.nospamwrote in message
news:46************************@msnews.microsoft.c om...
>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...

Nov 15 '06 #5
UJ
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.comwrote in message
news:ua**************@TK2MSFTNGP06.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**@markNOSPAMrae.comwrote in message
news:uQ**************@TK2MSFTNGP03.phx.gbl...
>"David Longnecker" <dl*********@community.nospamwrote in message
news:46************************@msnews.microsoft. 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...


Nov 15 '06 #6
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
Nov 15 '06 #7
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.comwrote in message
news:ua**************@TK2MSFTNGP06.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**@markNOSPAMrae.comwrote in message
news:uQ**************@TK2MSFTNGP03.phx.gbl...
>>"David Longnecker" <dl*********@community.nospamwrote in message
news:46************************@msnews.microsoft .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...

Nov 16 '06 #8

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

Similar topics

26
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...
6
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.
3
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...
0
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...
7
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
8
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...
6
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...
12
by: vinayakapuram | last post by:
program1 :1 main() { printf("trip" "trapas"); } output:trip traps prog 2:
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
tracyyun
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...

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.