creating MSI and deploying to production server

Topics: Bindings File, Settings Management and SSO, General Questions
Dec 3, 2010 at 5:16 AM

Hi all,

I am new to BTDF and I am trying to use BTDF in our project to create MSI and to deploy it in production server.

The structure of project is as follow:

1) XXXX.Transforms(BTproj)

2)XXXX.Orchestrations(BTproj) -- it contains one orchestration and  one folder (say Schema) contains schema of project.

So these two project are under one solution.

So, I have added Deployment framework project  in our solution and modified it as  shown below.

<ProjectVersion>1.0</ProjectVersion

>

<IncludeSchemas>false</IncludeSchemas > >

 

<IncludeOrchestrations>true</IncludeOrchestrations

<IncludeTransforms>true</IncludeTransforms >

and I have added two item group.

<ItemGroup>
    <Transforms Include="xxxxx.Transforms.dll">
      <LocationPath>xxxx.Transforms\bin\$(Configuration)</LocationPath>
</Transforms>
</ItemGroup>

<ItemGroup>
<Orchestrations Include="XXXX.Orchestrations.dll">
     <LocationPath>XXXX.Orchestrations\bin\$(Configuration)</LocationPath>
</Orchestrations>
</ItemGroup>

Is it correct  or do I need  to add scheam item also in BTDPROJ xml file ?

Please  suggest

Thanks  in advance.

Maggi

 

Coordinator
Dec 3, 2010 at 2:00 PM

Hi,

When you combine schemas with other artifacts in a single assembly, then you should treat the entire assembly as a Schemas assembly because schemas must be deployed before most other artifacts.  You should set IncludeOrchestrations to false and IncludeSchemas to true, and move your Orchestrations assembly into a Schemas ItemGroup.  I always recommend keeping schemas in a separate assembly, but everything will work fine under the configuration that I described here.

Thanks,
Tom