Unhandled extension util/ui when using <TargetFramework> in Directory.Build.props #7766
-
I migrated my project from v3 to v4 and found one issue. My extensions are unresolved, in my project. I discovered the reason is using the tag in the Directory.Build.props file. When I comment or delete this line - all works fine, but this option needs me for other projects. In v3 all was good in v4 - nope. Please help )))) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
I have the same issue! |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
The
TargetFramework
property is highly impactful. Setting it incorrectly is highly disruptive to project restore and build. Condition theTargetFramework
property, so it only applies to the projects where it is appropriate. Maybe something likeCondition=" '$(MSBuildProjectExtension)'=='.csproj' "
is appropriate.