• 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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,068 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot