Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.3.0a1
2018.3.0a8
Issue ID
1068300
Regression
Yes
System.Net.Http.dll could not be found error is thrown when response file is present in Assets folder
"System.Net.Http.dll could not be found" error is thrown when msc.rsp/csc.rsp file with the content "-r:System.Net.Http.dll" is present in the Assets folder and Scripting Runtime Version is set to .NET 4.x
Steps to reproduce:
1. Open attached project
-error "CS0006: Metadata file 'System.Net.Http.dll' could not be found" is thrown in the console
Reproduced with: 2018.3.0a1, 2018.3.0a8
Didn't reproduce with: 2017.4.9f1, 2018.1.8f1, 2018.2.3f1
Regressed in: 2018.3.0a1
Full error:
Microsoft (R) Visual C# Compiler version 2.7.0.65535 (ced8f62d)
Copyright (C) Microsoft Corporation. All rights reserved.
error CS0006: Metadata file 'System.Net.Http.dll' could not be found
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Lighting Data asset is not created when baking multiple Scenes at the same time
- Performance issues when instantiating a recognizer under UnityEngine.Windows.Speech
- Build fails with "Exception: Unity.IL2CPP.Building.BuilderFailedException: Build failed with 0 successful nodes and 0 failed ones" when building the project for iOS
- [Android] .aab Build fails when using Asset Bundles
- Builds fail without a useful error message when building a project with invalid product name
Add comment