By default, a new WSF file added as WinScript1.wsf looks like this:
<?xml version="1.0" encoding="utf-8" ?> <package xmlns="Windows Script Host"> <job> <script language="VBscript">
</script>
</job>
</package>
This file will generate schema errors against wshmeta.xsd in the Common7\\Packages\\schemas\\xml directory of your Visual Studio installation. To deal with this problem immediately, change the file to this:
<?xml version="1.0" encoding="utf-8" ?> <package xmlns="http://schemas.microsoft.com/WindowsScriptHost"> <job> <script language="VBscript">
</script>
</job>
</package>