Skip to content

Warnings when running a .NET 7 Blazor app #39283

Closed
@pranavkm

Description

@pranavkm
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

Metadata

Metadata

Assignees

Labels

area-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions