MSBuild / InfoPath Form Publishing

J

joeybeninghove

I'm developing an automated Team Build using MSBuild and one of the my
solutions has an InfoPath project (C#, VS 2005 B2). I need to
automatically compile and publish this InfoPath form during the MSBuild
process. If I can just get it to create the .xsn file I can take care
of the task to copy it to the required location.

Anyone know how to do this? Looks like MSBuild doesn't even try to
compile the InfoPath project. Is it because it's a "special" project
template and it doesn't yet have support for this? Any ideas?

Thanks,
Joey
 
G

Greg Leizerowicz

I'm not sure how customizable MSBuild is, but I posted this in reply to a
similar question:

The InfoPath team's blog details a script solution, but it can be done in
managed code as well (contact me for a quick and dirty version). See their 5
part solution at:
http://blogs.msdn.com/infopath/archive/2004/5/4.aspx
http://blogs.msdn.com/infopath/archive/2004/5/5.aspx
http://blogs.msdn.com/infopath/archive/2004/5/6.aspx
http://blogs.msdn.com/infopath/archive/2004/5/7.aspx

Very helpful for anyone bored with the publishing wizard interface. Thanks
"InfoPath Team", whoever you are!

HINT: Get the MS Cabinet Software SDK if you don't already have it:
http://support.microsoft.com/default.aspx?scid=kb;en-us;310618

(e-mail address removed) (replace 'spam' with 'bayada')
 

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