microsoft/Bing-Maps-Fleet-Tracker

Backend\Trackable.sln does not build

wvmstr opened this issue · 3 comments

Severity Code Description Project File Suppression State Line
Error CS0006 Metadata file 'C:\Repos\FleetTrckr\Bing-Maps-Fleet-Tracker-master\Backend\src\Trackable.EntityFramework\bin\Debug\Trackable.EntityFramework.dll' could not be found Trackable.Repositories C:\Repos\FleetTrckr\Bing-Maps-Fleet-Tracker-master\Backend\src\Trackable.Repositories\CSC Active 1

Plus 15 more (Trackable.): Repositories.dll, EntityFramework.dll, etc.

And:
Severity Code Description Project File Suppression State Line
Error Cannot evaluate the item metadata "%(FileName)". The item metadata "%(FileName)" cannot be applied to the path "C:\Repos\FleetTrckr\Bing-Maps-Fleet-Tracker-master\Backend\src\Trackable.EntityFramework....\packages\Microsoft.Extensions.DependencyInjection.Abstractions.2.0.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. Trackable.EntityFramework

Hi,
For the Trackable.*.dll could not be found errors, these are usually just follow up errors thrown when one project in the dependency chain failed to build. In your case is the Trackable.EntityFramework project. You can ignore those errors.

The real error seems to be a path too long error. Easiest way to fix that is to simply move the solution into a shorter path, or rename part of the path to make it shorter (eg. rename Bing-Maps-Fleet-Tracker-master folder to BMFT).

That did the trick. May I suggest to reduce the name of the folder "Bing-Maps-Fleet-Tracker-master" to simply master in the package.

The zip name is auto-generated by Github as "{repository name}-{branch name}". We have no control over this.

I am closing this issue. Feel free to re-open if you run into further problems.