error MSB3073

error MSB3073 最近將VC2002 代碼移植到VC2010,出現編譯錯誤: 1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: The command "regsvr32 /s /c "D:\VC++Prj\source code\zutai\cha06\Meter\.\Debug\Meter.dll"  1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: echo regsvr32 exec. time > ".\Debug\regsvr32.trg" 1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(183,5): error MSB3073: :VCEnd" exited with code 3. 英文版處理辦法:  Project->Configuration Properties->General->Target Extension設置爲.ocx 或者.dll Project->Configuration Properties->Linkerl->General ->Output File設置爲$(OutDir)$(ProjectName)$(TargetExt) 中文版處理辦法:  在項目上點右鍵,選擇「屬性」->「配置屬性」->「常規」->「目標文件擴展名」,設置爲.ocx 或者.dll 在項目上點右鍵,選擇「屬性」->「配置屬性」->「連接器」->「 常規 」->「輸出文件」,設置爲$(OutDir)$(ProjectName)$(TargetExt)
相關文章
相關標籤/搜索