Great, thank you! I put the XSD file two directories up, so the following two lines now do the trick: DirectoryInfo schemaDir = (Directory.GetParent(Application.StartupPath)).Parent).Parent; string schemaFullName = schemaDir + Path.DirectorySeparatorChar + "OptionsSchema.xsd";