The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Bamboo
  • Questions
  • Error Global.asax.cs(26,33): error CS0117: 'System.Web.Http.GlobalConfiguration' does not contain a definition for 'Configure'

Error Global.asax.cs(26,33): error CS0117: 'System.Web.Http.GlobalConfiguration' does not contain a definition for 'Configure'

Stuart Davies
February 15, 2017

Hello All ,

 

We keep getting this error and were wondering if any of you have seen this before. We have run the ms build locally with the same parameters and seems to be working fine , i have checked that the said file is available in the packages folder as well

The parameters are as below

 

/p:Configuration=Release /p:DeployOnBuild=True;_PackageTempDir=f:\BUILDS\WEB\${bamboo.buildNumber} /p:PublishProfile="Test02" /p:PublishProfileRootFolder=C:\Users\Someone.reorgUAT\bamboo-home\xml-data\build-dir\REC-API2-JOB1\Foundation\reorg.Api.V2\Properties\PublishProfiles /p:AllowUntrustedCertificate=True /p:Username=reorguat\someone/p:Password=something

 

 

Please advise.

 

Cheers

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Stuart Davies
February 16, 2017

I figured out this was due to a different version of the dll . I have System.Web.Http.WebHost.dll, v5.2.0 instead of the referenced System.Web.Http.WebHost.dll, v5.2.3.0 . Hope this helps someone

TAGS
AUG Leaders

Atlassian Community Events