Search code examples
c#uwpshared-librarieswin-universal-app.net-4.8

SharedLibrary.dll was not found and mrt100_app.dll was not found. Reinstalling the program may fix this issue


I am getting this error when I try to run the UWP application exe file. I have tried to install the files manually, I have updated the visual studio, I have also updated the .Net Framework on my machine. I also checked the path where the file lies its there from the beginning but still, I can not run the UWP exe file. below are the reference links I have tried to fix the issue.

Installing SharedLibrary

Microsoft forum

download .Net framework

msdn forum

Please find below screenshots of the errors

SharedLibrary.dll error

mrt100_app.dll error

It's just a basic UWP app which only has a button on the main page.

I hope I get the answer soon. I really need to resolve this.

TIA


Solution

  • You either need to "Deploy" the app (Build -> Deploy), useful to run it directly on the current machine outside of VS, or you need to publish it (right click on project, Publish -> Create app packages), useful to create a .msixbundle (or equivalent) that you can deploy using Add-AppDevPackage.ps1 (or equivalent).