How to add BSF to existing projects?

Feb 14, 2012 at 8:22 AM
Edited Feb 14, 2012 at 8:32 AM

I have installed BSF and it works fine for new projects.

How do i modify my existing projects for them to work with BSF?

Coordinator
Feb 14, 2012 at 8:08 PM

Hi!

Thanks for using BSF!

I'm afraid it is not possible to convert your current projects to BSF, because the guidance within BSF assumes some kind of project structure to put artifacts in.

You could generate new project structures with the BSF and then move your current artifacts in there, but I don't know if that is feasable for your situation.

Feb 29, 2012 at 1:26 PM

I was just hoping to take advantage of the rest of the features of BSF as my solution is already divided into Orchestrations, Maps etc.

Is there no way to reconfigure a solution to match?

Coordinator
Feb 29, 2012 at 7:39 PM

If the solution matches the naming conventions of the BSF, then I guess it will work.

You need to make sure you've enabled the guidance in Visual Studio for your project. I haven't tried it, so it is just a guess.

Please let me know if you succeed!

Dec 18, 2013 at 8:03 AM
Schemas should end with .Schemas
Maps should end with .Maps
etc.

From code bts.codeplex
/// <summary>
    /// Gets the project type for the given project
    /// </summary>
    /// <param name="project">a Project object</param>
    /// <returns>the project type</returns>
    private static BizTalkProjectType GetBizTalkProjectType(Project project)
    {
        string projectType = project.Name.Substring(project.Name.LastIndexOf('.') + 1);
        switch (projectType)
        {
            case "Maps": 
                return BizTalkProjectType.Maps;
            case "Schemas": 
                return BizTalkProjectType.Schemas;
            case "Orchestrations": 
                return BizTalkProjectType.Orchestrations;
            case "Pipelines": 
                return BizTalkProjectType.Pipelines;
            default:
                return BizTalkProjectType.Unknown;
        }
    }
make sure projects are added in ...deployment.btdfproj as well!
<schemas>...</schemas>
<Transforms>...</Transforms>
etc.