Skip to content

"Could not load type 'NewsAPI.Models.Article' from assembly 'NewsAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'." string #11

Description

@martoiu

Hi,

I get this exception : Message "Could not load type 'NewsAPI.Models.Article' from assembly 'NewsAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'." string

I have the following configuration:

  • C# project
  • Windows Forms App .Net Framework 4.8
  • On a form I have a button and behind this button is the sample code from the newsapi.org site (which seems to be the same as here).
  • My API key is correct. When I test it in Postman everything works.

Many thanks in advance,

Mihai

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions