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

推荐订阅源

宝玉的分享
宝玉的分享
AWS News Blog
AWS News Blog
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
F
Full Disclosure
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
A
About on SuperTechFans
J
Java Code Geeks
Jina AI
Jina AI
GbyAI
GbyAI
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
美团技术团队
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Latest news
Latest news
Vercel News
Vercel News
博客园 - 【当耐特】
P
Privacy & Cybersecurity Law Blog
P
Proofpoint News Feed
阮一峰的网络日志
阮一峰的网络日志
V
Vulnerabilities – Threatpost
Stack Overflow Blog
Stack Overflow Blog
Hugging Face - Blog
Hugging Face - Blog
D
Docker
Microsoft Security Blog
Microsoft Security Blog
博客园_首页
S
Securelist
WordPress大学
WordPress大学
S
Secure Thoughts
博客园 - 聂微东
Cloudbric
Cloudbric
Help Net Security
Help Net Security
腾讯CDC
T
Threat Research - Cisco Blogs
T
Tor Project blog
L
LINUX DO - 热门话题
Project Zero
Project Zero
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
N
Netflix TechBlog - Medium
小众软件
小众软件
Cyberwarzone
Cyberwarzone
量子位
MyScale Blog
MyScale Blog
W
WeLiveSecurity
MongoDB | Blog
MongoDB | Blog
I
InfoQ
M
MIT News - Artificial intelligence

博客园 - 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