ms-identity-aspnet-daemon-webapp icon indicating copy to clipboard operation
ms-identity-aspnet-daemon-webapp copied to clipboard

Sample requires installation of .NET Framework devpack 4.6.1 (not supported) and throws exception on launch.

Open L13w opened this issue 1 year ago • 0 comments

Visual Studio 2022 displays a modal when you first open the UserSync solution asking if you want to update the code to the latest framework or launch a browser to download the 4.6.1 framework. If you launch the browser, .NET Framework 4.6.1 does not show in the "supported" list. You can do it by changing the URL for 4.6.2, the supported version.

After installing 4.6.1 and relaunching Visual Studio, there is no modal.

After build and Run, I get the following exception immediately on launch: "Could not load file or assembly 'Microsoft.Owin, Version=4.1.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

L13w avatar Apr 03 '23 00:04 L13w