For BizTalk 2016 you should be using Visual Studio 2015 as per Hardware and Software Requirements for BizTalk Server 2016
It isn't supported for a higher version of Visual Studio.
following Schema file is not included in the Build. Set its Build Action to Compile to be able to perform
Hi, I have BTS 2k16 along with VS 2k19, I craeted a project with a valid xml schema. When I try "Validate schema I get
Invoking component...
E:\Projects\YouTube-BizDemo\BizDemo\BizDemo.OrderSchema\Order.xsd: error BEC2004: The following Schema file E:\Projects\YouTube-BizDemo\BizDemo\BizDemo.OrderSchema\Order.xsd, is not included in the Build. Set its Build Action to Compile to be able to perform any action like Validate-Schema/Validate-Instance/Generate-Instance.
Component invocation succeeded.
Build action is et to btsCompile. Here is the schema which I should think is valid
<?xml version="1.0" encoding="UTF-16"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://BizDemo.OrderSchema.Order" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns="http://BizDemo.OrderSchema.Order">
-<xs:element name="Order">
-<xs:complexType>
-<xs:sequence>
<xs:element name="CustomerID" type="xs:string"/>
<xs:element name="DelDate" type="xs:date"/>
<xs:element name="Desc" type="xs:string"/>
-<xs:element name="Line">
-<xs:complexType>
+<xs:sequence>
<xs:attribute name="no" type="xs:int"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
1 answer
Sort by: Most helpful
-
Colin Dijkgraaf 1,361 Reputation points
2024-11-19T01:24:41.3333333+00:00