Identifying the Publish Version of a ClickOnce app at Runtime

M

michael

Not really sure where to post this but here goes:

I would like to be able to put a Publish Version in an AboutBox in my VS
2008 WPF application. I am following this example in the VS2008 help files:

ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/fxref_system.deployment/html/a848f1ad-bea0-1762-ff71-542adc0cdcc9.htm

I am having difficulty adding the following to my source code:

Imports System.Deployment.Application

I get the following error:

Namespace or type specified in the Imports 'System.Deployment.Application'
doesn't contain any public member or cannot be found. Make sure the namespace
or the type is defined and contains at least one public member. Make sure the
imported element name doesn't use any aliases.

I'm not sure why I can't list this import. I'm following the example code
exactly. Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top