.NET 6.0 Migration by Patrik

Error: EISDIR: illegal operation on a directory, open '/home/site/wwwroot/wwwroot/Identity/lib/bootstrap/LICENSE'

After upgrade to .NET 6.0 and trying to get deploy to Azure App Service the error 'Error: EISDIR: illegal operation on a directory, open '/home/site/wwwroot/wwwroot/Identity/lib/bootstrap/LICENSE' occured.

Solution

Previously the path to licence file was: /home/site/wwwroot/wwwroot/Identity/lib/bootstrap/LICENSE/LICENSE new file was without the LICENSE dir. So when the new version of app arrived it tried to update the LICENSE file, which was actually a directory. Removing LICENSE/LICENSE helped.

Found the solution at Stack Overflow

Azure App Service
.NET 6.0

Comments

Leave a Comment

All fields are required. Your email address will not be published.