Also inside the radzen application ( i just updated the app today, so it is current) when i deploy...
it has link that states...
when you click the following link it takes you to .net core 3.1, versus .net 5...is that the intended functionality here? I have installed .net 5 hosting, and still i get the error attempting to deploy to site.
I have deployed from vs 2019 a custom non radzen web assembly .net 5 core app to this same site without issue.
The link was wrong, thanks - not sure however about the error. Check the log file in the deployed app root folder. I've just deployed new .NET 5.0 app to my IIS and everything worked normally:
i created sample app for blazor server .net 3.1 deployed to site...works.
i created sample app for blazor web assembly .net 3.1 deployed to site...works.
i created sample app for blazor server .net 5 deployed to site...works.
i created sample app for blazor web assembly .net 5.0 deployed...get error i sent above...?
If i can run a .net 5 blazor server site, why would the web assembly not work?
sidenote: there is an error when deploying 3.1 assembly but still succeeds, but gets some type of missing analyzer dll error during deploy
dotnet: Optimizing assemblies for size, which may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink
radzen: Server application prepare for publish done in 45345ms.
radzen: Deploying...
radzen: Reading connection strings
radzen: Saving connection strings in appsettings.json
radzen: Creating temporary deploy folder
radzen: Copying server app to deploy folder
radzen: Syncing deploy folder with server
dotnet: Compressing Blazor WebAssembly publish artifacts. This may take a while...
event 1 - Unable to locate application dependencies. Ensure that the versions of Microsoft.NetCore.App and Microsoft.AspNetCore.App targeted by the application are installed.
event 2 - Could not find 'aspnetcorev2_inprocess.dll'. Exception message:
event 3 - Failed to start application '/LM/W3SVC/4/ROOT', ErrorCode '0x8000ffff'.
these are events when i try to run site from iis, keep in mind i can run the site from radzen without issue.
why don't you create a new .net 5 blazor web assembly app, create a blank page and publish it to iis, you will see same error?
I was able to reproduce the problem - fix will be included in the next update. In the meantime you can use Visual Studio to publish/deploy your .NET 5.0 WASM app.