Toret
Toret

Reputation: 91

When running Asp.NET Core App the app fails to launch with a 502.5 Process error on local IIS

Thank you for taking the time to answer my question. I'm having an issue when running my project. This project was running just fine previously. Something has happened to cause the following error to appear in the stdout log.

Error: An assembly specified in the application dependencies manifest (.deps.json) was not found: package: 'AutoMapper', version: '6.2.2' path: 'lib/netstandard1.3/AutoMapper.dll'

Things I have tried:

  1. Clear the nuget cache
  2. Restore nuget cache
  3. Restarted Visual Studio 2017
  4. Restarted IIS
  5. Gave Full Access to the 'Everyone' role to the folder where the files are located

Any help is greatly appreciated.

UPDATE: This is the output from the Output Pane

This is the output from the Output Pane

Upvotes: 0

Views: 359

Answers (2)

Toret
Toret

Reputation: 91

After spending sometime on this, none of the fixes suggested worked. After spending a lot of time looking up what the potential issue is, I decided to check for any available visual studio updates.

After I updated Visual Studio 2017 everything worked.

I hope this helps someone.

Upvotes: 0

Steve Tolba
Steve Tolba

Reputation: 1487

I had the same issue, add the following to your .csproj file and publish again.

<PropertyGroup>
  <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
</PropertyGroup>

Upvotes: 1

Related Questions