Manifest.xsf is not updated with project references using VS 2003

D

Don

I am using Visual Studio 2003 and Microsoft Office InfoPath 2003 Toolkit for
Visual Studio .NET. I am creating a new Infopath Project using the Infopath
Form Template. I can create and build base my Infopath form just fine.
however, When I add any dll as a reference to my visual studio project, the
Visual Studio build fails when it tries to update the manifest.xsf file.
Consequently, when I try to open the XSN file, it fails. If I manually edit
the manifest.xsf file and add my references in the <files> section, it works.
Any idea how to make InfoPath/Visual Studio work? Upgrading to
VS2005/Infopath 2007 is not an option for me at this point.

------ Rebuild All started: Project: MyFormCode, Configuration: Debug .NET
------

Preparing resources...
Updating references...
Performing main compilation...

Build complete -- 0 errors, 0 warnings
Building satellite assemblies...

------ Rebuild All started: Project: MyProject, Configuration: Debug ------
Post-build processing...
Updating 'C:\...\MyProject\manifest.xsf'...
---------------------- Done ----------------------
Rebuild All: 1 succeeded, 1 failed, 0 skipped
 
D

Don

Isn't this always the case: after you post you go ahead and figure it out
yourself anyway?

The referenced files cannot have the readonly attribute set. Don't know why
but attrib -r on them makes the build work just fine. Seems like a bug to me.
 

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