TagPrefixAttribute is a class in system.web.ui and not compatible with .net 6. Do you have anything like this in your code?
[assembly:TagPrefix("CustomControls", "custom")]
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The project is a wpf desktop application. I only get one bad error:
Unknown build error, 'Could not find type 'System.Web.UI.TagPrefixAttribute' in assembly 'C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.6\ref\net6.0\System.Web.dll'.' C:\Program Files\dotnet\sdk\6.0.301\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.WinFX.targets
The only web access the application makes is to an email verification site using SingleRequestModel.
I have searched other sites and found some other pages that address this issue but only for Web applications. What is a fix - or at least a workaround - for this bug.
TagPrefixAttribute is a class in system.web.ui and not compatible with .net 6. Do you have anything like this in your code?
[assembly:TagPrefix("CustomControls", "custom")]
Hi,@RogerSchlueter-7899 . The problem may be a build error due to a transitive dependency on System.Web.
There may also be item does not create the correct structure for the project. Either the third party, studio, nuget packages/manager. You could also try to manually restructure the project files to the correct target framework.