win7 64位系统使用VS2010生成时出现中文目录乱码问题的解决方法 (Resgen.exe)
Posted on 2014-01-20 12:50 _银子 阅读(330) 评论(0) 收藏 举报In order to work-around this issue you may need to perform the following steps:
1. Close all instances of Visual Studio.
2. From the Visual Studio Tools subfolder, open an elevated “Visual Studio Command Prompt (2010)” (using “Run as administrator” option). Change directory to "<system_drive>:\Program Files (x86)\Microsoft SDKs\Windows\v<x.xx>\bin\”.
3. Issue the command :
corflags /32bit+ ResGen.exe /force
4. Open <project_name>.csproj in notepad.
5. Add the following property <ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture> under the PropertyGroup section. Save and close the csproj file.
浙公网安备 33010602011771号