December 2005 Entries
Using a post-build event can be a time saver. You can create command lines in the project property pages (right-click the project, say your winform or console, in the solution explorer and then choose 'Properties'). Under common properties, choose 'Build Events'. Then click the ellipsis beside Post-build Command Line. In this dialog, you can run commands and call other programs. For this topic, enter this simple one-liner to have all those Enterprise Library config files nicely copied to your output...
As i toiled over this, I was sure there was some problem with the InfoPath Automation I was doing: infoPathApplication = new ApplicationClass(); oXDocumentCollection = infoPathApplication.XDocume... oXDocument = oXDocumentCollection.NewFro... The symptom: InfoPath just hangs right on this line. Now, to put some context around it... I found a nifty way to save our accountants tons of hours through the year by prefilling parts of the form. The accountants select a lookup key...