Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I install version 21.2.0 or newer I get Error NETSDK1082 then the project crashes. #1417

Closed
ru-talion opened this issue Sep 1, 2024 · 1 comment

Comments

@ru-talion
Copy link

ru-talion commented Sep 1, 2024

I found a bug to report

  1. I created a project using a standard template BlazorWebAssembly. I use Raider.

`

<PropertyGroup>
    <TargetFramework>net7.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.17"/>
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.17" PrivateAssets="all"/>
    <PackageReference Include="Telegram.Bot" Version="21.10.1" />
</ItemGroup>
`
  1. Installed Telegram.Bot Version="21.10.1".

  2. The project is broken.

image

JetBrains Rider 2024.1.1
Build #RD-241.14494.325, built on April 16, 2024
Runtime version: 17.0.10+8-b1207.12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
.NET Core v8.0.1 x64 (Server GC)

Windows 11 Pro 23H2 29.‎12.‎2023 22631.4112
Windows Feature Experience Pack 1000.22700.1034.0

@wiz0u
Copy link
Member

wiz0u commented Sep 1, 2024

Have you even searched about that error NETSDK1082 before opening this issue, or you're just lazy and expecting us to do that for you?
A quick Google search brings up this page:
https://stackoverflow.com/questions/70220739/blazor-client-error-netsdk1082-browser-wasm
which is exactly what you describe.

The answer gives you the explanation: Telegram.Bot package is likely incompatible with WebAssembly

And indeed, if you had looked at our open issues (it's not like we have hundred of these 😏) before opening this one, you would see we have currently an open issue for AOT/Trimming compatibility (#1322), which is a prerequisite for a package to be compatible with Blazor WebAssembly

@wiz0u wiz0u closed this as completed Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants