日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

解决若干WTL与VS2010的兼容问题(如error MSB6006: “cmd.exe”)

發(fā)布時(shí)間:2023/12/10 编程问答 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 解决若干WTL与VS2010的兼容问题(如error MSB6006: “cmd.exe”) 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

解決[error MSB6006: “cmd.exe” 已退出,代碼為 9009。]問題:

The AppWizard for VS2010 above has two small glitches (however they might deter people from using WTL with VS2010). These are very easy to fix:

1) [Output Directory] and [Intermediate Directory] in new project properties are not followed by a backslash ('\').

To fix: file: .\AppWiz\Files\Scripts\1033\default.js

I have replaced:

??????????? if(bDebug)
??????? {
??????????? config.IntermediateDirectory = 'Debug';
??????????? config.OutputDirectory = 'Debug';
??????????? config.ATLMinimizesCRunTimeLibraryUsage = false;
??????? }
??????? else
??????? {
??????????? config.IntermediateDirectory = 'Release\\';
??????????? config.OutputDirectory = 'Release\\';
??????????? config.ATLMinimizesCRunTimeLibraryUsage = true;
??????? }
with

??????? // Add generic configuration details
??????? config.IntermediateDirectory = '$(SolutionDir)$(Configuration)\\';
??????? config.OutputDirectory = '$(Configuration)\\';

??????? config.ATLMinimizesCRunTimeLibraryUsage = !bDebug;
2) Some WTL headers are missing in newly created projects.

The symbol WTL_USE_CPP_FILES seems to be missing when the template stdafx.h file is parsed, as a result a bunch of header files are not included in new projects.

Again in .\AppWiz\Files\Scripts\1033\default.js, I have added:

??????? // Add WTL_USE_CPP_FILES to all projects
??? wizard.AddSymbol("WTL_USE_CPP_FILES", true)
just below line 41 (so that the lines are always included). This seems to do the trick.

I've never looked at VS appWizards before (or js for that matter), so I can't guarantee the workarounds are concrete. It seems pretty straighforward though & I've been using WTL with VS2010 with no problems since I've made those changes...

WTL is awesome btw - many thanks to the folks who still maintain it!

?

解決[ Compiling Ribbon.xml 'uicc' 不是內(nèi)部或外部命令,也不是可運(yùn)行的程序或批處理文件。]問題:

The Windows SDK v7.0A which comes with Visual Studio 2010 is not the full Windows SDK.
Among other things, it doesn't include uicc.exe

You should install the full Windows 7 SDK.

然后:

To compile the Ribbon.xml file you NEED the Windows 7 SDK (as VS2010
distributions miss the necessary uicc.exe tool)
AND you must add the path to your uicc.exe (probably C:\Program
Files\Microsoft SDKs\Windows\v7.0\Bin\) in Property
Manager->Microsoft.Cpp.Win32.user->Properties->VC++ Directories->Executable
Directories.

?

?

轉(zhuǎn)載于:https://www.cnblogs.com/Sunwayking/articles/2176438.html

總結(jié)

以上是生活随笔為你收集整理的解决若干WTL与VS2010的兼容问题(如error MSB6006: “cmd.exe”)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。