Skip to content

Nullref in .targets file #2616

@haf

Description

@haf

Description

paket update with Suave's faulty spec SuaveIO/suave#638 causes paket to assume .net core, despite framework: net461 being a given constraint in paket.dependencies. This in turn causes, "Object reference not set to an instance of an object" to be thrown and the build to fail when running xbuild Project.sln.

Expected behavior

Not to throw null ref exceptions. Not to add .Net core dependencies when the framework target is constrained.

Actual behavior

Throwing null ref.

Known workarounds

Manually remove the paket.targets import that was added.

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