Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Before creating a new ported project, check the permission for the folder #72

Open
birojnayak opened this issue Mar 11, 2021 · 0 comments

Comments

@birojnayak
Copy link
Contributor

birojnayak commented Mar 11, 2021

Describe the bug

\r\nSystem.UnauthorizedAccessException: Access to the path ** Client.WPF.csproj' is denied.\r\n at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)\r\n at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)\r\n at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)\r\n at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)\r\n at System.IO.StreamWriter..ctor(String path)\r\n at System.IO.File.WriteAllText(String path, String contents)\r\n at CTA.Rules.ProjectFile.ProjectFileCreator.Create()\r\n"}')

Expected behavior

When customer choosing the directory or path where ported project go, check there for permission before moving further

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant