Open MrWolfPST opened 5 months ago
Definitely looks like windows is complaining with the target directory. Does it actually exist (normally it should create it for you automatically...)? Do you get the same error when launching VS as admin just to see if it helps?
Hi Target directory exists, I created it manually, when it didn't exist a not found exception was throw, I suppose that creation fails for same rights reason but be ignored. I'm tried lounching VS as administrator and I have same issue, both with or without existent folder. If it ca be usefuss, in the same project I added after build call to swagger dotnet tool for generate a swagger yaml file, and it work successfully also in non administrative mode. This confirm that VS process have rights to write to solution folder.
Regards F
Da: Paillat Laszlo @.> Inviato: mercoledì 20 marzo 2024 23:59 A: Doraku/DefaultDocumentation @.> Cc: MrWolfPST @.>; Author @.> Oggetto: Re: [Doraku/DefaultDocumentation] System.UnauthorizedAccessException (Issue #154)
Definitely looks like windows is complaining with the target directory. Does it actually exist (normally it should create it for you automatically...)? Do you get the same error when launching VS as admin just to see if it helps?
— Reply to this email directly, view it on GitHubhttps://github.com/Doraku/DefaultDocumentation/issues/154#issuecomment-2010842960, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABEJ3P3AEF5IMEUHXWJOXB3YZIIE7AVCNFSM6AAAAABEURX5OSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJQHA2DEOJWGA. You are receiving this because you authored the thread.Message ID: @.***>
I added this target to my proj file
When task is run throws an System.UnauthorizedAccessException.
I don't run VS as administrator, but obsully my windows user have full access to solution folder. I use default configurations, no one defaultdocumentation.json is present in my project. At time not all project members is documented.
output logs: