0

I took codebase from https://github.com/NuGet/NuGetGallery to push nugetgallery on my own azure website but failed. I'm getting following error and deployment failed.

D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(609,5): error : The OutputPath property is not set for project 'NuGetGallery.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Release' Platform='Any CPU'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [D:\home\site\repository\src\NuGetGallery\NuGetGallery.csproj]

But I have already set output configuration to "Release" then also getting this error why?
Neo
  • 15,491
  • 59
  • 215
  • 405
  • 1
    Does the csproj contain a value for OutputPath for the configuration Release and Platform 'Any CPU'? I've had issues in the past where a mismatch on Platform occurs. "AnyCpu" != "Any CPU" – James Woolfenden Jun 21 '15 at 15:34
  • I have these kind of values `Debug AnyCPU` – Neo Jun 21 '15 at 15:48
  • 1
    So you're trying to build with the wrong value for Platform, like i said before, its the space or lack of in AnyCPU. – James Woolfenden Jun 21 '15 at 16:49
  • I think by default it should not have space in between so in my .csproj file is correct in that case – Neo Jun 22 '15 at 04:08

0 Answers0