5 Answer(s)
-
0
hi
Can you share the VS error message of load failed?
-
0
Hi
Please see below. error : Cannot expand metadata in expression "$([MSBuild]::ValueOrDefault('%(FullPath)', '').StartsWith($([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory)))))". The item metadata "%(FullPath)" cannot be applied to the path "src\app\admin\dynamic-entity-parameters\entity-dynamic-parameter\entity-dynamic-parameter-value\entity-dynamic-parameter-value-manager\entity-dynamic-parameter-value-manager.component.html". Path: C:\Work\golilysolutions\Versions\StarkTMS ASP.NET CORE Angular 9.0.1\StarkTMS\src\StarkTMS.Web.Host\src\app\admin\dynamic-entity-parameters\entity-dynamic-parameter\entity-dynamic-parameter-value\entity-dynamic-parameter-value-manager\entity-dynamic-parameter-value-manager.component.html exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. C:\Program Files (x86)\dotnet\sdk\3.1.301\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets
-
0
changed the root folder name to exact project name. loading web.host project is working now.
thanks,
-
0
Hi same Problem here:
D:\XXX\Git\Projects\XXX\XXXDemo\src\XXXDemo.Web.Host\XXXDemo.Web.Host.csproj : error : Cannot expand metadata in expression "$([MSBuild]::ValueOrDefault('%(FullPath)', '').StartsWith($([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory)))))". The item metadata "%(FullPath)" cannot be applied to the path "src\app\admin\dynamic-entity-parameters\entity-dynamic-parameter\entity-dynamic-parameter-value\entity-dynamic-parameter-value-manager\entity-dynamic-parameter-value-manager.component.html". Path: D:\XXX\Git\Projects\XXX\XXXDemo\src\XXXDemo.Web.Host\src\app\admin\dynamic-entity-parameters\entity-dynamic-parameter\entity-dynamic-parameter-value\entity-dynamic-parameter-value-manager\entity-dynamic-parameter-value-manager.component.html
exceeds the OS max path limit. The fully qualified file name must be less than 260 characters
. C:\Program Files\dotnet\sdk\3.1.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets
We had to decrease folders name or move project to uper floders but it would disrupt our folder structure.
What you (support team) recomend for this case?
-
0
Maybe we can consider rename it to a short name. We will check this.