473,796 Members | 2,720 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Clickonce: show publish version

Hi,

Is it possible to show the publish version in a app that is deployed using
ClickOnce?

Assembly.GetExe cutingAssembly( ).GetName().Ver sion shows the assembly
version...

Steven

- - -


Dec 5 '05 #1
2 5455
Hello Steven,
look into System.Deployme nt.Application namespace:

ApplicationDepl oyment.CurrentD eployment.Curre ntVersion;

Andrej
"Steven Spits" <no****@company .com> wrote in message
news:ee******** *******@TK2MSFT NGP11.phx.gbl.. .
Hi,

Is it possible to show the publish version in a app that is deployed using
ClickOnce?

Assembly.GetExe cutingAssembly( ).GetName().Ver sion shows the assembly
version...

Steven

- - -

Dec 5 '05 #2
"Andrej Tozon" wrote:
look into System.Deployme nt.Application namespace:
ApplicationDepl oyment.CurrentD eployment.Curre ntVersion;


Perfect! Thank you very much!

Steven

- - -


Dec 5 '05 #3

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

Similar topics

5
5249
by: Danny Tuppeny | last post by:
I've been playing around with ClickOnce today, and it's all good stuff. Except, that if I change my application to NOT be full trust (which seems to make very little difference to the user prompt, which scares me!) but to be installed on the start menu, it seems I don't have permission to call CheckForUpdate()! I understand that if I'm not a full trust app, I can't read the filesystem etc., but not being able to update myself seems a bit...
3
1733
by: KenL | last post by:
I have a WinForm(VB 2.0) application that I am publishing as a ClickOnce installation. We have a need to publish the same application code for several configurations. (Staging, TestSystem, LiveSystem) Each of these configurations differ only in app.Config changes. I would like the ability to install all of these side-by-side on a machine. Also, we QA our Staging build before publishing as live, and I am concerned that I have the ability to...
3
3891
by: Ronald S. Cook | last post by:
We have a VS2005 Team setup and are developing a Windows app (smart client). We are in the cattle feeding business and have 10 distinct feedyards across the U.S. When we wish to deploy an update to our app, we must change an app setting in the project (the IP where the data access layer is) and also the URL in the ClickOnce (to correspond to a server at a particular feedyard). Once we publish, we have to change the app setting and the URL...
3
4037
by: =?Utf-8?B?aG93YXJkd0Bub3NwYW0ubm9zcGFt?= | last post by:
When I publish an application with ClickOnce, I specify Major, Minor, Build, and Revision numbers for the Publish Version, for example as 1, 0, 0, 97. But when I view the version of the exe file in explorer, or get it programatically, it comes back as 1.0. 0.0. The code I use is FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(Application.ExecutablePath); string version = fvi.FileVersion;
3
2065
by: firefox | last post by:
Hola amigos yo publico mi aplicacion a través de ClickOnce y todo funciona muy bien, el único problema que tengo es que algunos clientes omiten las publicaciones y para que la aplicacion nuevamente indique que existe una nueva version etc etc tengo que nuevamente publicar haciendo que los demas tambien tengan que volver a hacerlo sin necesidad. Hay alguna manera para evitar esto ?. Mil Gracias.
3
2685
by: Meelis Lilbok | last post by:
Hi I have made a project with vb.net and publish it(clickonce) On firs laucnh app creates a xml file in startuppath\database\file.xml Now when i update my app and publish it, after dwonloading updates on client machine cliconce "deletes" my directory and file. How to prevent this?
5
5785
by: =?Utf-8?B?R29yZG9uUw==?= | last post by:
I have a windows form application being deployed using ClickOnce on Terminal Services. I am experiencing a problem where by the first user to run up the application is successful and the app downloads and launches successfuly, however if a second user logs on to terminal services and attempts to launch the app then the "Verifying applications. This may take a few moments" message does appear briefly and then disappears but no...
7
2540
by: Carlos Mendonça | last post by:
Has anyone managed to get ClickOnce to work with Firefox? It seems to me that it still has the same issues VS 2K5 had. I appreciate any comments or tips.
6
10961
by: =?Utf-8?B?QW5kcmV3X2QxMjM=?= | last post by:
Here is my problem. I have an app that has over 9 web services. For years I had not issues with clickonce but now it looks like the build is missing XmlSerializers.dll.deploy. I did have this issue once in vs 2005 and one the problem just went away. Well now its back. If I build the app 20 times it may work once. I did find that if I remove this as a required dll that I can get my program to run. I can't seem to find any info about...
0
9673
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9524
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10217
jinu1996
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10168
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
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 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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6785
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5568
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.