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

Assembly date ?

We all know hot to get the Assembly name and version. Can we get the
assembly compilation date and how can we get this datetime if it's possible?
It's not a very good idea to get the file DateTime because this is the
WebApp and even if we get this DateTime it can be wrong. Do we have some
field or parameter in the strong assembly having this datetime to get it as
a string?

Just D.
Nov 17 '05 #1
3 3661
Hello,
Can we get the assembly compilation date and how
can we get this datetime if it's possible?


I don't think the assembly compilation date is stored anywhere in the
assembly itself. But in my opinion the file system timestamp should quite
reliably reflect the compilation date and time.

Hope this helps.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Nov 17 '05 #2
Hello,
Can we get the assembly compilation date and how
can we get this datetime if it's possible?


I don't think the assembly compilation date is stored anywhere in the
assembly itself. But in my opinion the file system timestamp should quite
reliably reflect the compilation date and time.

Hope this helps.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Nov 17 '05 #3
Thanks Jani,

The problem is that we're working with the WebApp and getting the file
datetime on the server side from the WebApp is not simple process - to
create and register some kind of assembly, give all required permissions and
finally get the required datetime. Yes, it's possible, but it takes some
programming around that. I was wondering if there is an easier way to get
the same. Maybe not.

Just D.
"Jani Järvinen [MVP]" <ja***@removethis.dystopia.fi> wrote in message
news:eK****************@TK2MSFTNGP12.phx.gbl...
Hello,
Can we get the assembly compilation date and how
can we get this datetime if it's possible?


I don't think the assembly compilation date is stored anywhere in the
assembly itself. But in my opinion the file system timestamp should quite
reliably reflect the compilation date and time.

Hope this helps.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/

Nov 17 '05 #4

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

Similar topics

2
by: Peter Gomis | last post by:
I have encountered a situation where I am unable to remove a .NET assembly from the GAC. The message I receive is "Assembly 'assemblyname' could not be uninstalled because it is required by other...
6
by: Matt Frame | last post by:
I wrote a small assembly to test the process of placing it into the Global Assembly Cache but now I cannot remove it. When I hi-light and click delete I get the following: Assembly 'Assembly...
7
by: JerryW | last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
1
by: Patrick | last post by:
Has been trying to get an ASP.NET DLL's modification date/time for the "release date/time" to be displayed on the page's footer Using: System.Reflection.Assembly...
2
by: Dylan Parry | last post by:
Hi, Is there a way of getting the date that an assembly was last compiled? I am trying to help myself to remember what version of a particular assembly my Web applications are using, so I've...
0
by: b.tarrance | last post by:
Hi. Looking for any help I can find! I have a brand new virtual server running Windows Server 2003, Enterprise Edition with Plesk Control Panel 7.5 . I just installed the first program on the...
5
by: Max2006 | last post by:
Hi, When I want to specify a type \in web.config or app.config files, I have to type it like this: type="Microsoft.WCF.Documentation.EnforceGreetingFaultBehavior, HostApplication,...
10
by: =?Utf-8?B?SmFtZXMgV29uZw==?= | last post by:
Hi everybody, I'm trying to use the new VB 2008 right now and I want to know how to preset the company name and copyright informtion in Assembly Information. In my current VB 2005, company name...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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,...

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.