views:

15

answers:

1

I'm getting an error in VS2010 that the HasTrailingSlash function only accepts a scalar value, but the argument $(OutputPath) evaluates to something that isn't a scalar.

Trouble is, I can't find the $(OutputPath) variable anywhere. I have no idea what it is, or how to go in and fix it.

A: 

Check your project(s) properties area under the build tab.

Look for the output area on that tab and the OutputPath textbox.

If no luck there:

Check your project file(s) by unloading them and clicking edit project file. Look for an outputPath defined there. I believe that exists by default in Vs2010.

If none of that helps, tell us if this is a build attempted inside the Vs2010 or a seperate command line or build script.

Maslow