Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Clickonce Publish: How to do it on comamnd line - MSBuild?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gkustas@hvc.rr.com - 15 Jan 2006 00:04 GMT
After several hours reading up on Clickonce and hacking away, I was
able to get our (complex) application running from a remote network
shared folder. VERY cool. I used Visual Studio 2005 to reate the
application and deployment manifests, etc., using it's "Publish"
feature from within the IDE.

We already use MSBuild and devenv on the command line to automate our
project builds, and I need to do the same for building the clickonce
publishing.

I understand that I can use mage.exe, but seeing how much functionality
is already in the existing microsoft MSBuild tasks for this, I'm
betting that Visual studio is already using MSBuild every time the
publish function is run from the IDE.

Can anyone tell me if this is something wothwhile persuing, and if so,
is there any doc out there that could help with this?
gkustas@hvc.rr.com - 23 Jan 2006 15:17 GMT
In case anyone cares, it's pretty simple to build the publication from
the command line:

msbuild /t:publish yourproject.csproj

However, to set up you csproj file with the correct files, etc., the
easiest thing to do is to publish it once from the IDE. This will save
all of your publish properties in the csproj so that you can do a
simple command line build afterwards
tbirdsall@gmail.com - 23 Jan 2006 15:47 GMT
Hi,

You may want to check out the Web Deployment Project:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/web
_deployment_projects.asp


I have also compiled a list of MSBuild tutorials and resources you may
find helpful:

http://www.tod1d.net/blog/2005/12/msbuild-turorials-and-resources.html

Enjoy.

Signature

Tod Birdsall, MCSD for .Net
software blog: http://tod1d.net


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.