Click here to Skip to main content
15,893,588 members
Articles / Programming Languages / Visual Basic

TFS2010 Team Build with ClickOnce Applications

Rate me:
Please Sign up or sign in to vote.
4.57/5 (6 votes)
28 Oct 2010CPOL5 min read 59.6K   600   11  
How to set up TFS2010 so that you can use Team Build with ClickOnce applications
Public Class frmMain

    Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        If (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed) Then
            txtVersion.Text = System.Deployment.Application.ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString
        Else
            txtVersion.Text = "Not ClickOnce Deployed"
        End If
    End Sub
End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions