FIX: You may receive a compile error when you build a project that has a promoted property whose name is the same as the Namespace property of the PropertySchema.xsd file in BizTalk Server 2004 (842457)
The information in this article applies to:
- Microsoft BizTalk Server 2004 Developer Edition
- Microsoft BizTalk Server 2004 Enterprise Edition
- Microsoft BizTalk Server 2004 Partner Edition
- Microsoft BizTalk Server 2004 Standard Edition
SYMPTOMSYou may receive a compile error when you build a project that has a promoted property whose name is the same as the Namespace property of the PropertySchema.xsd file in Microsoft BizTalk Server 2004. The compile error is similar to the following: error CS0101: C:\BizTalk Projects\CompileError\Result.xsd(12): The namespace 'Namespace' already contains a definition for 'Property' CAUSEThis problem occurs when the Namespace property name of the property schema is the same as the name of a promoted property in a BizTalk Server 2004 project. When the project is compiled, identical class name and namespace combinations create a name conflict. This class name and namespace conflict may prevent the BizTalk Server 2004 project from being compiled.WORKAROUNDTo work around this problem, use one of the following methods: - Modify the Namespace property of the PropertySchema.xsd file.
- Modify the schema that contains the properties that you promoted so that these schema files have different Namespace properties.
To modify the Namespace property of either schema file, locate and select the schema file in Solution Explorer. In the Properties window, locate the Namespace property, and type a new name for the property. Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. For more information about promoting properties, visit the following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Minor | Last Reviewed: | 5/23/2006 |
---|
Keywords: | kbbiztalk2004-2006swept kbBTSOrchestration kbBug KB842457 kbAudDeveloper kbAudITPRO |
---|
|