IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Samples: Filename too long

Open piotrek-k opened this issue 8 years ago • 5 comments

I can't create any issues on this repo so I'm creating it here.

Issue / Steps to reproduce the problem

I'm simply tring to clone Samples project on Windows 10.

git clone https://github.com/IdentityServer/IdentityServer4.Samples.git

Relevant parts of the log file

error: unable to create file Quickstarts/Combined_AspNetIdentity_and_EntityFrameworkStorage/src/IdentityServerWithAspIdAndEF/Data/Migrations/IdentityServer/ConfigurationDb/20180109200721_InitialIdentityServerConfigurationDbMigration.Designer.cs: Filename too long
error: unable to create file Quickstarts/Combined_AspNetIdentity_and_EntityFrameworkStorage/src/IdentityServerWithAspIdAndEF/Data/Migrations/IdentityServer/ConfigurationDb/20180109200721_InitialIdentityServerConfigurationDbMigration.cs: Filename too long
error: unable to create file Quickstarts/Combined_AspNetIdentity_and_EntityFrameworkStorage/src/IdentityServerWithAspIdAndEF/Data/Migrations/IdentityServer/PersistedGrantDb/20180109200712_InitialIdentityServerPersistedGrantDbMigration.Designer.cs: Filename too long
error: unable to create file Quickstarts/Combined_AspNetIdentity_and_EntityFrameworkStorage/src/IdentityServerWithAspIdAndEF/Data/Migrations/IdentityServer/PersistedGrantDb/20180109200712_InitialIdentityServerPersistedGrantDbMigration.cs: Filename too long

Maybe you should consider shortening folder names?

piotrek-k avatar Apr 17 '18 15:04 piotrek-k

yeah, I am having one hell of a time with the documentation and samples for IdentityServer4.

ntregillus avatar Apr 17 '18 17:04 ntregillus

this issue has been discussed a couple of times - either you shorten your base path - or there is a command line when cloning to support long paths.

leastprivilege avatar Apr 18 '18 17:04 leastprivilege

I have downloaded this package into a directory named c:\IS the file names are still too long

ntregillus avatar Apr 18 '18 17:04 ntregillus

git config --system core.longpaths true

SIkebe avatar Apr 18 '18 18:04 SIkebe

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 13 '20 12:01 lock[bot]