add appveyor script

If the assembly version changes you need to ensure that the baufile is run so that the version gets updated correctly in the appveyor.yml file.
For my education, what are `setlocal and endlocal` doing?