Multiple form authors and the .CSPROJ files - InfoPath Dev
in

InfoPath Dev

Multiple form authors and the .CSPROJ files

Last post 10-04-2013 09:02 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-04-2013 08:54 AM

    Multiple form authors and the .CSPROJ files

    Hello, We have forms that multiple people are designing we all save our templates to the same network location. If I open a form in design mode, that was originally created by one of my coleagues, and I edit it and try to publish it, I get this error: "InfoPath cannot build the Visual Basic or C# code. The Visual Basic or C# project for this form template cannot be found. C:\Users\original person who created form\Documents\InfoPath Projects\FormName\BaseInfoPathTemplate.csproj To Locate the project yourself, click Browse." Why does InfoPath store these .csproj files on the users local machine? Is there a way around this? Is it possible to save these .csproj files to the Network location where the form templates are saved? It's very annoying because the form can't be published until that file is located and manually moved to the Network location.
  • 10-04-2013 09:02 AM In reply to

    Re: Multiple form authors and the .CSPROJ files

    Well - the file location for the code is under Form Options --> Programming (also from the Developer tab on the Ribbon --> Language). I believe in InfoPath Options you can also change the default location for code files.

    When publishing, however, you don't have to have access to these files - you'll notice on the dialog there are two buttons. One says Browse - so you can find the project and re-build the code DLL. The other says Ignore - this will allow you to publish the form using the current code DLL that is in the template.

    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.