惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Schneier on Security
Schneier on Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Attack and Defense Labs
Attack and Defense Labs
H
Hacker News: Front Page
Google DeepMind News
Google DeepMind News
雷峰网
雷峰网
C
CXSECURITY Database RSS Feed - CXSecurity.com
Cisco Talos Blog
Cisco Talos Blog
T
Tenable Blog
G
Google Developers Blog
A
About on SuperTechFans
The Cloudflare Blog
S
Securelist
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
C
Cisco Blogs
H
Hackread – Cybersecurity News, Data Breaches, AI and More
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
Forbes - Security
Forbes - Security
腾讯CDC
Application and Cybersecurity Blog
Application and Cybersecurity Blog
V
Vulnerabilities – Threatpost
IT之家
IT之家
博客园_首页
P
Proofpoint News Feed
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Project Zero
Project Zero
月光博客
月光博客
NISL@THU
NISL@THU
爱范儿
爱范儿
S
Secure Thoughts
K
Kaspersky official blog
Security Latest
Security Latest
T
Tailwind CSS Blog
博客园 - Franky
D
Darknet – Hacking Tools, Hacker News & Cyber Security
TaoSecurity Blog
TaoSecurity Blog
The GitHub Blog
The GitHub Blog
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog RSS Feed
S
SegmentFault 最新的问题
H
Help Net Security
T
Tor Project blog
L
LINUX DO - 热门话题
S
Security @ Cisco Blogs
N
News and Events Feed by Topic
O
OpenAI News
S
Schneier on Security

博客园 - FlyWithMyHeart

[转]在资源管理器中使鼠标右键增加一个命令,运行cmd,同时使得当前路径为资源管理器当前的目录 向最具争议的萨芬说再见 这个男人从此自由 不找借口找方法——成功者都有的基本素质 胜读十年书 时延与传输速率、带宽延时 励志醒世[不断更新] [转]手机开发平台指南、教程和资料介绍(修改稿) 小心!六大原因让你不知不觉长胖 人生道路上的100个真相[转] 七秘诀工作效率与薪水翻番 [转] [转]C++多线程调试和测试的注意事项 有关认证方面的资料 fprintf和fwrite的区别 DSP开发 人生失败的31种原因 [转]一个经典回帖 [转]从月薪3500到身价700万的辛酸奋斗的经验 三十岁以前不必在乎的29件事[转] 未婚男子健康生活100条感悟[转]
VS2010修改
FlyWithMyHeart · 2010-06-04 · via 博客园 - FlyWithMyHeart

Fortunately, the fix I did for this is pretty straight-forward as it requires few hand-edit changes in the C++ targets. Here are the steps to make this problem go away:

1) go to <Program Files>\MSBuild\Microsoft.Cpp\v4.0\ and open Microsoft.CppBuild.targets
2) before editing this file, please make a backup
3) find the target named DoLibOutputFilesMatch and inside the target replace:

<VCMessage Condition="'%(_OutputFileFromLib.FullPath)' != '$(TargetPath)'" Code="MSB8012" Type="Warning" Arguments="TargetPath;$(TargetPath);Library;%(_OutputFileFromLib.FullPath);Lib"/>

with

<VCMessage Condition="'%(_OutputFileFromLib.FullPath)' != '$([System.IO.Path]::GetFullPath($(TargetPath)))'" Code="MSB8012" Type="Warning" Arguments="TargetPath;$(TargetPath);Library;%(_OutputFileFromLib.FullPath);Lib"/>

4. find the target named DoLinkOutputFilesMatch and inside this target replace:

<VCMessage Condition="'%(_OutputFileFromLink.FullPath)' != '$(TargetPath)'" Code="MSB8012" Type="Warning" Arguments="TargetPath;$(TargetPath);Linker;%(_OutputFileFromLink.FullPath);Link"/>

with

<VCMessage Condition="'%(_OutputFileFromLink.FullPath)' != '$([System.IO.Path]::GetFullPath($(TargetPath)))'" Code="MSB8012" Type="Warning" Arguments="TargetPath;$(TargetPath);Linker;%(_OutputFileFromLink.FullPath);Link"/>

4. Save the file and restart any instance of VS you may have opened