Forum Discussion

soykanozcelik's avatar
soykanozcelik
Copper Contributor
Apr 19, 2023

Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior Error in W11 Insider Prev, VS2022

Hi All,
I have a trouble since last days approx since last Windows updates.  I am using Windows 11 Pro Insider Preview Build 25336 rs_prerelease_230403.1234 (latest) under MacOS Ventura via Parallels Desktop.

This error occurs at Error List Visual Studio 2022
Warning \\Mac\Home\Projects\SOYKAN\WEB_SITES\...\...\....\Default.aspx: ASP.NET runtime error: The type 'Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior, Microsoft.VisualStudio.Diagnostics.ServiceModelSink, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' registered for extension 'Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior' could not be loaded. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 238) ...Mobile \\Mac\Home\Projects\SOYKAN\WEB_SITES\...\...\...\Default.aspx 1

I can build-compile-rebuild not problem but reason this error, markup pages didn't recognizing controls as you'll see attached picture.

I saw some suggestions somewhere when I Googled that
-uninstall-reinstall dot net version but 4.0 is already built in W11
-delete related row from machine.config (but when I delete it VS2019-2022 is unstable)

How can i solve this problem?

 

 

No RepliesBe the first to reply

Resources