Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

The Windows Service cannot be started

$
0
0

I have a Blazor Server application that works fine as a windows service. Now I want to refernce DLLs /Assemblies instead of nuget packges, beacuase our build server cannot process nuget packages. I am replacing them with DLLs, it works for most of packages, except for Microsoft.Extensions.Hosting.WindowsServices package. Some of it's related DLLs cannot be reference, because of the following error:

"The reference in invalid or unsupported".

I tried to build the solution without these DLLs and copied them manually to the output directory. In this case, while DLLs in output directory are exacly the same as with nuget package, the windows service cannot be started and encountered an Execption as follows:

enter image description here

enter image description here


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>