Biztalk 2k16 err BEC2004 - following Schema not included in the Build Set its Build Action to Compile to be able to perform any action like Generate-Instance.

Salam ELIAS 117 Reputation points
2024-04-29T07:44:19.3566667+00:00

Hi, I have BTS 2k16 along with VS 2k19, I craeted a project with an xml schema, when I try to generate an instance, I get

Invoking component...

E:\Projects\Repos.......\Bts.CarSample.Schemas\Car.xsd: error BEC2004: The following Schema file E:\Projects\Repos....\Car.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.

When I check BuildAction, it is set to BtsCompile

User's image

So what is missing or is there any config to do to be able to generate an xml instance? Thanks

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:23:26.99+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.