error MSB3073

来源:互联网 发布:孙俪淘宝网店 编辑:程序博客网 时间:2024/04/30 14:08

处理办法:

Project->Configuration Properties->General->Target Extension设置为

.ocx 或者.dll

Project->Configuration Properties->Linkerl->General ->Output File设置为

$(OutDir)$(ProjectName)$(TargetExt)



VS2010调试笔记
1、今天调试一个demo,发现如下错误。

1>  系统找不到指定的文件。
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "copy D:\WL_SDK_LAN_C++_20130521\demo\c++\Debug\Sample.exe D:\YuanTuo_1\wulianSDK\wulian_sdk_sample\SDK\Sample.exe
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.

可以修改下面属性:


 

2、VS2010编译错误:

fatal error C1189: #error : This file requires _WIN32_WINNT to be#defined at least to 0x

fatal error C1189: #error :  This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.


下面是彻底解决方法:
在工程的stdafx.h中添加(如有类似语句,需注释掉)
0 0