Recreate vcvars32.bat without reinstalling Visual Studio
On my system vcvars32.bat - part of the Visual Studio 2010 installation - has suddenly disappeared. When I start a VS2010 Command Pr开发者_JAVA技巧ompt, I get the following message:
The specified configuration type is missing. The tools for the configuration might not be installed.
Needless to say I haven't removed this file, but files don't disappear by themselves either. Supposedly it is created by the Visual Studio setup, so I'm wondering:
- Has anyone else have this file disappear due to installing Visual Studio or Windows updates? If so, which update?
- Can I recreate this file without reinstalling Visual Studio 2010, SP1, some Windows Update distributed hotfixes and Feature Pack 2?
精彩评论