Skip to content

Warnings when running a .NET 7 Blazor app #39283

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

Closed
pranavkm opened this issue Jan 3, 2022 · 3 comments · Fixed by #38721
Closed

Warnings when running a .NET 7 Blazor app #39283

pranavkm opened this issue Jan 3, 2022 · 3 comments · Fixed by #38721
Assignees
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug.
Milestone

Comments

@pranavkm
Copy link
Contributor

pranavkm commented Jan 3, 2022

global cwrap is obsolete, please use Module.cwrap instead     at https://localhost:5001/_framework/blazor.webassembly.js:1:37123
    at callRuntimeCallbacks (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:17660)
    at preRun (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:12976)
    at run (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:147975)
    at runCaller (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:147852)
    at removeRunDependency (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:14220)
    at receiveInstance (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:16056)
    at https://localhost:5001/_framework/blazor.webassembly.js:1:36991
get @ dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:3
dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:3 
        
       global addRunDependency is obsolete, please use Module.addRunDependency instead     at https://localhost:5001/_framework/blazor.webassembly.js:1:37264
    at https://localhost:5001/_framework/blazor.webassembly.js:1:37566
    at callRuntimeCallbacks (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:17660)
    at preRun (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:12976)
    at run (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:147975)
    at runCaller (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:147852)
    at removeRunDependency (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:14220)
    at receiveInstance (https://localhost:5001/_framework/dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:13:16056)
    at https://localhost:5001/_framework/blazor.webassembly.js:1:36991
get @ dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:3
dotnet.7.0.0-alpha.1.21624.1.ayco8hdvqv.js:3 
        
       global removeRunDependency is obsolete, please use Module.removeRunDependency instead     at https://localhost:5001/_framework/blazor.webassembly.js:1:37473
@pranavkm pranavkm added the area-blazor Includes: Blazor, Razor Components label Jan 3, 2022
@pranavkm
Copy link
Contributor Author

pranavkm commented Jan 3, 2022

@pavelsavara does your PR help address these warnings?

@pranavkm pranavkm changed the title Warnings when running a .NET 7 app Warnings when running a .NET 7 Blazor app Jan 3, 2022
@pavelsavara
Copy link
Member

@pavelsavara does your PR help address these warnings?

Yes it does.

@pranavkm pranavkm added this to the .NET 7.0 milestone Jan 3, 2022
@SteveSandersonMS
Copy link
Member

Thanks for confirming, @pavelsavara! I'll reassign to you if that's OK, otherwise it'll be confusing about who's taking action here.

@ghost ghost closed this as completed in #38721 Jan 11, 2022
@pranavkm pranavkm modified the milestones: .NET 7.0, 7.0-preview1 Jan 27, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Feb 26, 2022
@danroth27 danroth27 added the bug This issue describes a behavior which is not expected - a bug. label Sep 30, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants