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.
365 questions
0 comments No comments
{count} votes

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.