Reputation: 543
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.
Upvotes: 1
Views: 1303
Reputation: 6890
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
Upvotes: 2