Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public Token Error #43956

Open
adedola12 opened this issue Dec 12, 2024 · 1 comment
Open

Public Token Error #43956

adedola12 opened this issue Dec 12, 2024 · 1 comment
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

Comments

@adedola12
Copy link

adedola12 commented Dec 12, 2024

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 installedImage

[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

  • ID: 1dfdc2b3-0c7c-4607-32b3-0b5e8469579d
  • Service: dotnet-csharp
  • Sub-service: errors-warnings

Related Issues

@issues-automation issues-automation bot added dotnet-csharp/svc errors-warnings/subsvc Pri1 High priority, do before Pri2 and Pri3 labels Dec 12, 2024
@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Dec 12, 2024
@BillWagner
Copy link
Member

Hi @adedola12

This section of the doc in question should help you address the error.

Is there more information you need from this article?

@BillWagner BillWagner added the needs-more-info Needs more info from OP. Auto-closed after 2 weeks if no response. [org][resolution] label Dec 13, 2024
@dotnetrepoman dotnetrepoman bot removed the ⌚ Not Triaged Not triaged label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants