Skip to content

Feature req: JsonPeek not found in cross-trageting projects #87

@RobSmyth

Description

@RobSmyth

Describe the Bug

(This is actually a feature request)

When JsonPeek is added to a cross targeting project the project is unable to build as reported in issue #86.

Steps to Reproduce

  1. Add JsonPeek to any project that uses TargetFrameworks instead of TargetFramework.
  2. Build fails with unable to find JsonPeek error.

Expected Behavior

Works in all target builds.

Exception with Stack Trace

Error (active) MSB4036 The "JsonPeek" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with in the project file, or in the *.tasks files located in the "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64" directory.

Version Info

Additional Info

I'm happy to look at implementing this as a feature as I've done this with another project.

Back this issue
Back this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions