Default Namespace for the Biztalk project

Home Page Forums BizTalk 2004 – BizTalk 2010 Default Namespace for the Biztalk project

Viewing 1 reply thread
  • Author
    Posts
    • #20577

      In the property pages under General -> I modified the Default namespace with a different name. I thought that it would effect all the files inside the project. I had some Orchestration files etc.. I had to manually go the .cs of the orchestration file and other files to change the namespace. Is there an easy way.

    • #20581

      Kape,

      Changing the namespace of the project changes the Type Name of the various artifacts in your project (i.e. schemas, maps etc.), however you’re right about orchestrations – the Type Name here is not changed and does need to be changed manually.

      However, there is no need to go into the .cs files generated from the orchestration – these are automatically generated by the X:ANG/s compiler every time you build the orchestration. Instead, open up the orchestration and go into the orchestration properties window (the part where you create new messages and variables etc.) and change the Type Name (and Namespace if necessary) there.

      Bear in mind that if you already have an orchestration that is referencing maps and/or schemas (through ports for example) and you change the Type Name of those artifacts, your orchestration will complain and fail to compile. You will need to update these references to point to the new {Type] names of your artifacts.

      HTH, Nick.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.