-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet x.dll get "An assembly specified in the application dependencies manifest" #8736
Comments
In addition to the .NET Core Runtime, you will need to install the ASP.NET Core Runtime Store on the target machine (in this case pc B). The Runtime Store is automatically installed via the Windows Server Hosting installer (see https://www.microsoft.com/net/download/core#/runtime for the most up to date download link). The reason this works on the developer machine (in this case pc A) is because the Runtime Store is installed via the .NET Core SDK. |
Like John indicated, you built your application using the asp.net store, which is on by default, so in order to run it, wherever you deploy it, you need the asp.net runtime store installed as well. Alternatively, you can turn off using the store when building your app by setting |
@JunTaoLuo It's worked, thank you very much. |
Environment and Description
<PublishWithAspNetCoreTargetManifest>true</PublishWithAspNetCoreTargetManifest>
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
, it's worked, but I don't want thisThe text was updated successfully, but these errors were encountered: