• Community
  • Products
  • 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'

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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

271 views 4 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you