Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.
This repository was archived by the owner on May 21, 2026. It is now read-only.

.NET Standard and .NET Framework compatibility #192

Description

@manu-st

Hi,

We have been facing the following issues and are not able to work around it without manually copying assemblies.

  • Create a console app (with VS2015 Update 3)
  • Add a Portable C# library and reference it
  • Transform this portable library into a .NET Standard project (version 1.4)
  • Add a call to Console.WriteLine(""); in the class created for you in the portable library project.
  • Call the Class1 method from the console app
  • Run the console application and you will get an exception because it cannot find assemblies referenced by the portable library:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in ConsoleApplication1.exe

Additional information: Could not load file or assembly 'System.Console, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

I'm not sure if this is the right place to discuss this kind of compatibility but we were wondering what does it take to run a .NET Standard library against the .NET Framework.

Thanks,
Manu

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions