Search Issue Tracker

Not Reproducible

Votes

2

Found in

4.3.0f4

Issue ID

574952

Regression

No

HttpWebRequest.Headers property is referenced incorrectly

WP8

-

Building a project which accesses HttpWebRequest.Headers fails with
Error building Player: Exception: Error: type `System.Collections.Specialized.NameValueCollection` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void TestHttp::Start().
Error: method `System.Void System.Collections.Specialized.NameValueCollection::set_Item(System.String,System.String)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void TestHttp::Start().

Building the same http code with Visual Studio does not cause any issues.

Could not be reproduced with live Unity 4.3.3 version.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.