System.IO.FileNotFoundException: Could not load file or assembly 'X' or one of its dependencies when deploying the application

前端 未结 4 447
既然无缘
既然无缘 2020-11-30 09:39

I\'m having a strange problem with deploying an application, which references an assembly, written in managed c++.

I\'ve created an assembly X, compiled it and refer

4条回答
  •  感情败类
    2020-11-30 10:03

    I also had the same issue when I tried to install a Windows service, in my case I managed to resolved the issue by removing blank spaces in the folder path to the service .exe, below is the command worked for me in a command prompt

    cd C:\Windows\Microsoft.NET\Framework\v4.0.30319

    Press ENTER to change working directory

    InstallUtil.exe C:\MyService\Release\ReminderService.exe

    Press ENTER

提交回复
热议问题