following Schema file is not included in the Build. Set its Build Action to Compile to be able to perform

Salam ELIAS 117 Reputation points
2024-11-13T13:45:00.1766667+00:00

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>

Microsoft BizTalk Server
Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
367 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Colin Dijkgraaf 1,361 Reputation points
    2024-11-19T01:24:41.3333333+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.