![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | stamping a page Is there any way to stamp a page with a version nu, perferably from Subversion or a date stamp by MS Dev Studio? I want to know what version of a web page I have posted to my server, so I can figure out if a problem occurred with a particular version? If I were programming in C++, I could use the #pragma directive, but I don't know how to do this programmitically in VB or C# |
My System Specs![]() |
| | #2 (permalink) |
| | Re: stamping a page The version is stored in AssemblyInfo.cs like this: [assembly: AssemblyVersion("2.1.1.1")] You can view it at runtime like this: Label1.Text = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); Note also there's an article here on auto-incrementing the build number: http://www.codeproject.com/KB/dotnet...t_Version.aspx Is that what you meant? Ken Microsoft MVP [ASP.NET] Author: ASP.NET 3.5 For Dummies "support" <supportNOSPAM@xxxxxx-places-work.info> wrote in message news:%23zA%23$OfCJHA.4780@xxxxxx Quote: > Is there any way to stamp a page with a version nu, perferably from > Subversion or a date stamp by MS Dev Studio? > I want to know what version of a web page I have posted to my server, so I > can figure out if a problem occurred with a particular version? > If I were programming in C++, I could use the #pragma directive, but I > don't know how to do this programmitically in VB or C# > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| page numbering past page 82 | .NET General | |||
| Front page change index page? | Vista networking & sharing | |||
| page disappears when Mouse moved off page | General Discussion | |||
| Blue Screen - Page fault in non page area | Vista performance & maintenance | |||