VS2012 $(exists) only accepts scalar values

后端 未结 7 1623
南笙
南笙 2021-02-05 04:18

Okay, this is more of a build error than a programming error. I have never had much reason to get my hands dirty with builds, so this error is baffling me.

I have tried

7条回答
  •  长情又很酷
    2021-02-05 04:58

    Had the same issue in VS 2012 -

    Error   48  04115: The "exists" function only accepts a scalar value, but its argument "@(_UnmanagedRegistrationCache)" evaluates to "obj\TheQueueData.sqlproj.UnmanagedRegistration.cache;obj\TheQueueData.sqlproj.UnmanagedRegistration.cache" which is not a scalar value.   C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets  1091    7   TheQueueData
    

    Closing and re-opening the solution did the trick for me.

提交回复
热议问题