1

My project has a folder with an xml file and an xsd file. When I build, the xml file is copied but not the xsd file. Why is that? The xsd is the one I actually need in my web service.

Eden
  • 523
  • 1
  • 7
  • 21

1 Answers1

2

You need to go to properties of the .xsd file in the Properties window in Visual Studio and set BuildAction as Content.

Also there are other ways to set build action for .xsd files

Community
  • 1
  • 1
TheBoyan
  • 6,802
  • 3
  • 45
  • 61