You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build failure in VMR Vertical Build Windows_x64: Downloading vswhere - Process cannot access sdk.txt because it is being used by another process
#45809
Open
carlossanlop opened this issue
Jan 9, 2025
· 0 comments
{
"ErrorMessage" : ["Downloading vswhere", " The process cannot access the file", "sdk.txt", "because it is being used by another process."],
"BuildRetry" : true,
"ExcludeConsoleLog" : false
}
Downloading vswhere
The process cannot access the file 'C:\Users\cloudtest\AppData\Local\Microsoft\VisualStudio\17.0_f1273583\sdk.txt' because it is being used by another process.
System.IO.IOException: The process cannot access the file 'C:\Users\cloudtest\AppData\Local\Microsoft\VisualStudio\17.0_f1273583\sdk.txt' because it is being used by another process.
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.PowerShell.Commands.FileSystemContentReaderWriter.CreateStreams(String filePath, String streamName, FileMode fileMode, FileAccess fileAccess, FileShare fileShare, Encoding fileEncoding)
at Microsoft.PowerShell.Commands.FileSystemProvider.GetContentWriter(String path)
at EnablePreviewSdks, D:\a\_work\1\vmr\src\fsharp\eng\build.ps1: line 517
at <ScriptBlock>, D:\a\_work\1\vmr\src\fsharp\eng\build.ps1: line 544
at <ScriptBlock>, <No file>: line 1
at <ScriptBlock>, <No file>: line 1
##[error](NETCORE_ENGINEERING_TELEMETRY=Build) Failure preparing build
Known issue validation
Build: 🔎https://dev.azure.com/dnceng-public/public/_build/results?buildId=911138 Error message validated:[Downloading vswhere The process cannot access the file sdk.txt because it is being used by another process.] Result validation: ❌ Known issue did not match with the provided build. Validation performed at: 1/9/2025 1:20:55 AM UTC
Report
Summary
24-Hour Hit Count
7-Day Hit Count
1-Month Count
0
0
0
The text was updated successfully, but these errors were encountered:
Turned on BuildRetry, seems like a reattempt could make it go away.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=911138
Build error leg or test failing: VMR Vertical Build - Windows_x64
Error Message
Windows_x64
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=911138
Error message validated:
[Downloading vswhere The process cannot access the file sdk.txt because it is being used by another process.
]Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 1/9/2025 1:20:55 AM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: