question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Constraining dependencies

See original GitHub issue

Description

I have a project with <TargetFrameworks>netstandard1.6;net462</TargetFrameworks> If I use paket to do the restore I get

 Errors in /app/paket-constrain-framework.fsproj
      Package System.Security.Cryptography.OpenSsl 4.4.0 is not compatible with net462 (.NETFramework,Version=v4.6.2). Package System.Security.Cryptography.OpenSsl 4.4.0 supports:
        - netcoreapp2.0 (.NETCoreApp,Version=v2.0)
        - netstandard1.6 (.NETStandard,Version=v1.6)
        - netstandard2.0 (.NETStandard,Version=v2.0)
      One or more packages are incompatible with .NETFramework,Version=v4.6.2.

Repro steps

https://github.com/TheAngryByrd/paket-constrain-framework

Let me know if there’s anything confusing or odd.

Expected behavior

Able to build

Actual behavior

Receive error message as shown above.

Known workarounds

Use nuget 😿

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:29 (29 by maintainers)

github_iconTop GitHub Comments

1reaction
matthidcommented, Sep 13, 2017

@haf I remeber you encountered probably the same error but cannot find the issue/pr. please try again

0reactions
TheAngryByrdcommented, Sep 13, 2017

🎸 you two rock

Read more comments on GitHub >

github_iconTop Results From Across the Web

Are You Making Proper Use of Dependencies and ...
Constraints and dependencies are two important, but misunderstood project management concepts. But you need them in your project definition and planning.
Read more >
The Ultimate Guide to Project Dependencies and Constraints
Demystify project dependencies and constraints with this comprehensive guide. Learn why they are important and how they relate to your ...
Read more >
Assumptions vs. Constraints vs. Dependencies
Unlike assumptions and constraints, dependencies (usually schedule dependencies) exist between two activities. A dependency can be represented ...
Read more >
A Guide to Dependencies, Constraints and Assumptions ...
A project is always dependent on various internal and external aspects. In the first part of this series, we defined what dependencies are....
Read more >
Understanding Project Constraints and Dependencies
In project management, dependence is a sequence of tasks that are all linked together. A project dependency is a logical, restriction, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found