Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / November 2005

Tip: Looking for answers? Try searching our database.

InfoPath Development and Visual SourceSafe

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul - 29 Nov 2005 21:21 GMT
Currently, I am working on a project in which I need to create InfoPath forms
with code behind.  I am using Office 11 and Visual Studio 2003.

My concern is, once I check the InfoPath project in to Visual SourceSafe I
am unable to build the project without errors.  It seems that when building a
InfoPath project in VS 2003 requires to update several files contained within
the InfoPath project (ie:  manifest.xsf).

Is there a way to integrate with Visual SourceSafe that allows the build
process to execute without checking out the entire InfoPath project?
Franck Dauché - 29 Nov 2005 22:18 GMT
Hi Paul,

Indeed the manifest is modified (template version number needs to be updated
by default each time you are generating a new version of your template).  If
you select "Do Nothing" on version upgrade, maybe it would help, but frankly,
you are better off checking out all files before compiling.

Regards,

Franck Dauché

> Currently, I am working on a project in which I need to create InfoPath forms
> with code behind.  I am using Office 11 and Visual Studio 2003.
[quoted text clipped - 6 lines]
> Is there a way to integrate with Visual SourceSafe that allows the build
> process to execute without checking out the entire InfoPath project?
Paul - 29 Nov 2005 23:05 GMT
Thanks for your quick response, Frank.

As of right now we are already checking out all the files before compiling
the project.  This is not an ideal solution to this problem though as we are
working in a team environment with multiple developers and several InfoPath
projects in the solution.

In this situation we run into the issue that if I build the entire solution
I need to checkout all the files of every InfoPath project.  In the scenario
that an alternate developer is working on one of the InfoPath projects and
has it checked out I am not able to build the solution.

Also, above and beyond this we have an automated continuous integration
build process.  The automated build will fail if it can not check out all the
files of all the InfoPath projects.

Any help on a solution here would be greatly appreciated

> Hi Paul,
>
[quoted text clipped - 17 lines]
> > Is there a way to integrate with Visual SourceSafe that allows the build
> > process to execute without checking out the entire InfoPath project?
Franck Dauché - 30 Nov 2005 02:16 GMT
Hi Paul,

It is an issue.  My personal experience is:
Create one or several shared assemblies and create a series of IP projects
that people can check out and compile one at a time (with a reference to a
bin folder with the latest compiled shared assemblies).  You can minimize the
amount of code in your FormCode and push all your logic in your shraed
assemblies.  This way each dev can own one or several IP templates at any
time, but don't "lock" others from modifying the shared assemblies and add
code.

Does it make sense?

Franck

> Thanks for your quick response, Frank.
>
[quoted text clipped - 35 lines]
> > > Is there a way to integrate with Visual SourceSafe that allows the build
> > > process to execute without checking out the entire InfoPath project?

Rate this thread:






 
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.