views:

407

answers:

1

Everytime I add an xsd file to my Visual Studio 2008 build project, its build action is defaulted to "none". I regularly forget to put this one to "content" which messes up the build...

Is there anyway to set the default build action of xsd files to "content"?

+1  A: 

Go to Projects > Custom Build Rules and add the appropriate build-time action for xsd extension. Or, do you want something else?

dirkgently
@dirkgently where is that setting? cant find it.
gsharp
Looks like a C++ option. I'm working with C#.
Carra