You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When JsonPeek is added to a cross targeting project the project is unable to build as reported in issue #86.
Steps to Reproduce
Add JsonPeek to any project that uses TargetFrameworks instead of TargetFramework.
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.
The text was updated successfully, but these errors were encountered:
I was successful in adding multi-targeting. But I'm not familiar with .netconfig, it is not apparent to me how you would like to add it nor how it currently builds 😕, so I do not feel that I can raise a PR. Instead, see my hack here.
Change is really simple. It now works on multi-targeting projects.
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
TargetFrameworks
instead ofTargetFramework
.Expected Behavior
Works in all target builds.
Exception with Stack Trace
Version Info
Additional Info
I'm happy to look at implementing this as a feature as I've done this with another project.
The text was updated successfully, but these errors were encountered: