We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When opening a project for the first time, an exception is thrown:
Failed to analyze Temp.txt: System.IO.FileNotFoundException: Could not find file 'C:\Projects\sonarlint-visualstudio\src\Integration.Vsix\bin\Debug\VS2019\net46\Temp.txt'. File name: 'C:\Projects\sonarlint-visualstudio\src\Integration.Vsix\bin\Debug\VS2019\net46\Temp.txt' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Microsoft.VisualStudio.Text.Implementation.TextDocumentFactoryService.OpenFileGuts(String filePath, DateTime& lastModifiedTimeUtc, Int64& fileSize) at Microsoft.VisualStudio.Text.Implementation.TextDocumentFactoryService.OpenFile(String filePath, DateTime& lastModifiedTimeUtc, Int64& fileSize) at Microsoft.VisualStudio.Text.Implementation.TextDocumentFactoryService.CreateAndLoadTextDocument(String filePath, IContentType contentType, Boolean attemptUtf8Detection, Boolean allowCompressedStorage, Boolean throwOnInvalidCharactersIfUnknownEncoding, Boolean& characterSubstitutionsOccurred) at Microsoft.VisualStudio.Text.Implementation.TextDocumentFactoryService.CreateAndLoadTextDocument(String filePath, IContentType contentType) at SonarLint.VisualStudio.CloudSecrets.SecretsAnalyzer.ExecuteAnalysis(String filePath, String charset, IEnumerable`1 detectedLanguages, IIssueConsumer consumer, IAnalyzerOptions analyzerOptions, CancellationToken cancellationToken)
TODO:
The text was updated successfully, but these errors were encountered:
Happens with latest master build 6.8
Analyzing Temp.txt Failed to analyze Temp.txt: System.IO.FileNotFoundException: Could not find file 'C:\Windows\system32\Temp.txt'. File name: 'C:\Windows\system32\Temp.txt' at [System.IO](http://system.io/).__Error.WinIOError(Int32 errorCode, String maybeFullPath) at [System.IO](http://system.io/).FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at [System.IO](http://system.io/).FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at Microsoft.VisualStudio.Text.Implementation.TextDocumentFactoryService.OpenFileGuts(String filePath, DateTime& lastModifiedTimeUtc, Int64& fileSize) at Microsoft.VisualStudio.Text.Implementation.TextDocumentFactoryService.CreateAndLoadTextDocument(String filePath, IContentType contentType, Boolean attemptUtf8Detection, Boolean allowCompressedStorage, Boolean throwOnInvalidCharactersIfUnknownEncoding, Boolean& characterSubstitutionsOccurred) at Microsoft.VisualStudio.Text.Implementation.TextDocumentFactoryService.CreateAndLoadTextDocument(String filePath, IContentType contentType) at SonarLint.VisualStudio.CloudSecrets.SecretsAnalyzer.ExecuteAnalysis(String filePath, String charset, IEnumerable`1 detectedLanguages, IIssueConsumer consumer, IAnalyzerOptions analyzerOptions, CancellationToken cancellationToken)
Sorry, something went wrong.
rita-gorokhod
No branches or pull requests
Description
When opening a project for the first time, an exception is thrown:
TODO:
The text was updated successfully, but these errors were encountered: