Skip to content

UWP (Windows 10) gives File Not Found on System.Net #54

@selaromdotnet

Description

@selaromdotnet

was playing with upgrading a Windows Phone 8.1 (RT) project to UWP but when I run it i'm getting an error in the constructor of my inherited RestClient that it cannot find system.net (full error below).

I don't know enough about the changes between 8.1 and 10 to know what I'm doing wrong, if I had to guess I would say that there's a conflict between the library referenced in the original portable library (4.0) and UWP (I think 4.5?) can I perhaps do an assembly redirect?

Error message follows:

An exception of type 'System.IO.FileNotFoundException' occurred in MyApp.Core.dll but was not handled in user code

Additional information: Could not load file or assembly 'System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. The system cannot find the file specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions