带有“HasTrailingSlash”的VS2012迁移问题 [英] VS2012 migration issue with "HasTrailingSlash"

查看:384
本文介绍了带有“HasTrailingSlash”的VS2012迁移问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

     我正在尝试将VS 2005项目迁移到VS 2012.但是我收到此错误消息。

      I am trying to migrate a VS 2005 project to VS 2012. But I get this error message.

"HasTrailingSlash""函数只接受标量值,但其参数为"$(IntDir)"。评估为"C:\ Users \ Mahesh \ HelloWorld \ _obj \sscfapi \DebugW7-Win32; \"这不是标量值。   C:\Program Files(x86)\ MSBuild\Microsoft.Cpp \v4.0 \ V110 \ Microsoft.Cpp.targets

     我理解它的字符串文字而不是标量值。但是如何解决这个问题。任何人都可以分享您的想法吗?

      I understand its a string literal but not a scalar value. But how to resolve the issue. Can anyone please share your ideas ?

谢谢,

Mahesh。

推荐答案

据我所知,Visual Studio 2005使用VCBuild for C ++项目,但是2012使用MSBuild来构建C ++项目。我们尝试迁移时可能会出现一些问题。

As far as I know, the Visual Studio 2005 use VCBuild for C++ project, but 2012 use MSBuild to build C++ project. There may be some issues when we try to migrate it.

我建议你上传一个可以重现此问题的示例项目。

I would suggest you to upload a sample project which can reproduce this issue.

你可以将您的项目上传到skydriver

http://skydrive.live.com/

You can upload your project to skydriver
http://skydrive.live.com/

您没有必要发送整个项目。我们只需要一个最简单的样本来重现问题。您可以从中删除任何机密信息或业务详细信息。

It is not necessary that you send out the whole of your project. We just need a simplest sample to reproduce the problem. You can remove any confidential information or business details from it.

最好的问候,

Jesse

Best regards,
Jesse


这篇关于带有“HasTrailingSlash”的VS2012迁移问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆