Public Token Error #43956
Labels
dotnet-csharp/svc
errors-warnings/subsvc
needs-more-info
Needs more info from OP. Auto-closed after 2 weeks if no response. [org][resolution]
Pri1
High priority, do before Pri2 and Pri3
Type of issue
Other (describe below)
Description
Severity Code Description Project File Line Suppression State Details
Error (active) CS1069 The type name 'StringContent' could not be found in the namespace 'System.Net.Http'. This type has been forwarded to assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly. LittleHelper C:\Users\PC\source\repos\LittleHelper\LittleHelper\ChatGPTService.cs 62
Error (active) CS1069 The type name 'HttpClient' could not be found in the namespace 'System.Net.Http'. This type has been forwarded to assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly. LittleHelper C:\Users\PC\source\repos\LittleHelper\LittleHelper\ChatGPTService.cs 52
i keep getting this across several nuggets when installed
[Enter feedback here]
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/assembly-references?f1url=%3FappId%3Droslyn%26k%3Dk(CS1069)
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/compiler-messages/assembly-references.md
Document Version Independent Id
9dbb6834-202a-3e3b-e7e4-40ab7e85c2b6
Article author
@BillWagner
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: