Open ScottArbeit opened 1 year ago
When adding Okta.AspNetCore v4.4.2 to a Blazor WebAssembly app, compilation fails with a NETSDK1082 error.
Okta.AspNetCore
The app should compile so I can test Okta authentication in Blazor.
Compilation fails, as shown below.
Open Visual Studio 2022 17.6 Preview 1.
File / New Project / Blazor WebAssembly App C# project
Select .NET 7.0; Individual Accounts; PWA
Compile app; should work.
Add Okta.AspNetCore 4.4.2 to the project.
Rebuild project; should see Error NETSDK1082.
No response
(5:48:00 PM) C:\Source\Grace\src>dotnet --version 7.0.201
(5:48:02 PM) C:\Source\Grace\src>dotnet --info .NET SDK: Version: 7.0.201 Commit: 68f2d7e7a3
Runtime Environment: OS Name: Windows OS Version: 10.0.25309 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\7.0.201\
Host: Version: 7.0.3 Architecture: x64 Commit: 0a2bda10e8
.NET SDKs installed: 6.0.406 [C:\Program Files\dotnet\sdk] 7.0.200 [C:\Program Files\dotnet\sdk] 7.0.201 [C:\Program Files\dotnet\sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 6.0.14 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 7.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 6.0.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 7.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found: x86 [C:\Program Files (x86)\dotnet] registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables: Not set
global.json file: Not found
7.0.201
Hi @ScottArbeit,
Thanks for reporting this issue. I'll create an internal ticket for our team to review and prioritize.
Internal Ref: OKTA-587051
Describe the bug?
When adding
Okta.AspNetCore
v4.4.2 to a Blazor WebAssembly app, compilation fails with a NETSDK1082 error.What is expected to happen?
The app should compile so I can test Okta authentication in Blazor.
What is the actual behavior?
Compilation fails, as shown below.
Reproduction Steps?
Open Visual Studio 2022 17.6 Preview 1.
File / New Project / Blazor WebAssembly App C# project
Select .NET 7.0; Individual Accounts; PWA
Compile app; should work.
Add Okta.AspNetCore 4.4.2 to the project.
Rebuild project; should see Error NETSDK1082.
Additional Information?
No response
.NET Version
(5:48:00 PM) C:\Source\Grace\src>dotnet --version 7.0.201
(5:48:02 PM) C:\Source\Grace\src>dotnet --info .NET SDK: Version: 7.0.201 Commit: 68f2d7e7a3
Runtime Environment: OS Name: Windows OS Version: 10.0.25309 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\7.0.201\
Host: Version: 7.0.3 Architecture: x64 Commit: 0a2bda10e8
.NET SDKs installed: 6.0.406 [C:\Program Files\dotnet\sdk] 7.0.200 [C:\Program Files\dotnet\sdk] 7.0.201 [C:\Program Files\dotnet\sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 6.0.14 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 7.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 6.0.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 7.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found: x86 [C:\Program Files (x86)\dotnet] registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables: Not set
global.json file: Not found
SDK Version
7.0.201
OS version