using .net core 3.0 and wpf
I have successfully built an app in wpf for .net core 3.0 and it runs fine where i have installed visual studio (dev environment).
However as soon as i copy the release folder and run it on another computer i get hostfxr.dll could not be found if this is a framework-dependant application, install run time in global location C:\program files\dotnet or use the DOTNET_ROOT environment variable to specify the run time location
I have already installed the 3.0 preview run time and it matches the location and set the DOTNET_ROOT enviroment variable and pointed it to the runtime location C:\program files\dotnet
anything missing?
Ok, so you have to install the sdk as well as the run-time for .net core 3.0 run time for the app to run.
don't have to set environment variable
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With