question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Asp.Net Core 1.0 Error "Failed to make the following project runnable"

See original GitHub issue

Steps to reproduce

Have library in .NET 4.5 that uses a third party library that has an assembly name as XXX.v15.4.dll. The project builds properly, but when trying to run the project it looks for “XXX.v15.4, version=15.4.0.0, culture=neutral, publickeytoken=b881323kd82k.dll”

Note that it works in RC2 without a problem.

Expected behavior

It should look for “XXX.v15.4.dll”

Actual behavior

An error message comes up with the following: Failed to make the following project runnable: PROJECT(.NETFramework,Version=v4.6.1) reason: Could not find file ‘C:\Projects\MainBranch\BlahBlah\bin\Debug\XX.v15.4, version=15.4.0.0, culture=neutral, publickeytoken=b881323kd82k.dll’.

Environment data

dotnet --info output: .NET Command Line Tools (1.0.0-preview2-003121)

Product Information: Version: 1.0.0-preview2-003121 Commit SHA-1 hash: 1e9d529bc5

Runtime Environment: OS Name: Windows OS Version: 6.1.7601 OS Platform: Windows RID: win7-x64

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
gimlichaelcommented, Jan 18, 2017

I solved this issue by doing to things;

  1. delete the app.config from the root of the project.
  2. delete obj and bin folder

Maybe this can provide a hint to the deeper issue?

2reactions
ArieJonescommented, Oct 28, 2016

Any further progress on this? It looks like this may be the same thing that is blocking our project because we are referencing a regular C# library in order to utilize web references…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to make the following project runnable (Object ...
The only working solution I managed to find is to run the dotnet restore command: C:\Dev\*****>dotnet restore Welcome to .NET Core!
Read more >
Troubleshoot .NET tool usage issues
NET tool fails to run, most likely you ran into one of the following issues: ... NET Core 2.2 SDK or earlier versions,...
Read more >
Failed to make the following project runnable (Object ...
The only working solution I managed to find is to run the dotnet restore command: ... Asp.Net Core 1.0 Error "Failed to make...
Read more >
Deploying an ASP.NET core application with Elastic Beanstalk
NET Core application, run it locally, and build a deployable package. Requirements .NET Core (x64) 1.0.1, 2.0.0, or later. To install ...
Read more >
Developing ASP.NET Core applications using dotnet watch
DotNet.Watcher.Core 1.0.0-preview2-final. log : Installing Microsoft. ... user$ dotnet watch run [DotNetWatcher] info: Running dotnet with the following ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found