I have created a MSProject 2007 office add-in that I publish by right-click on the project name in the solution explorer. I am using beta 2 of Visual Studio 2008 (C#). Also, I notice in project properties a field named Publish Version that is incremented each time I re-publish the solution. Is there anyway for me to obtain this value while running the add-in? I realize the Publish Version is not the same as the assembly fileversion which I can obtain through reflection.
M.D.A Monday, November 26, 2007 11:09 PM
Take a look at System.Deployment.ApplicationDeployment
I know that works with Click-Once deployments, but not sure in your case.
JR
Jim Ross Tuesday, November 27, 2007 6:01 AM
Take a look at System.Deployment.ApplicationDeployment
I know that works with Click-Once deployments, but not sure in your case.
JR
Jim Ross Tuesday, November 27, 2007 6:01 AM
I did try that approach and it did not pan out. How do I know if I am using Click-Once deployment and if what I am doing is not Click-Once what do they call it (it seems a very easy deployment to just run the Publish wizard so I guess I assumed that is what is meant by Click-Once).
Thanks for your reply.
Mike
M.D.A Tuesday, November 27, 2007 4:24 PM
I thought I would come back to this and report that the issue was related to where the Add-In is running from. If running from the development machine the published version is not available but happily on client machines the information provided in the link by Jim Ross is accurate.