-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
UseDotNet crashes while unpacking version #10879
Comments
Hey @Foxlider ,
Can you please check above things and reply. |
Hey @Foxlider |
I checked a few times and I still have enough space on the drive. |
The behaviour seems odd, as this error is not seen on a hosted agent. This error is thrown by PowerShell when it is unable to access either of the paths. Usually, temp path's are in exemption list of antiviruses, can you verify that ? |
The agent is installed on my own WindowsServer 2019 freshly installed. I will try again with .NET v3.0.100-preview7-012821 see if it works |
After a few try I still can't set it up... |
You can give any path to dotNetCore Installer given that the agent has access to that. The default path is $(Agent.ToolsDirectory) |
Same issue for me as well
Same issue with DotNetCoreInstaller@0 |
@LMSSonos from the error, it looks like a memory issue. Can you please verify that you have enough memory to extract the downloaded dotnet core sdk zip? |
Merged PR to fix long path extraction error. Closing this issue. |
Taks UseDotNet@2 throws DirectoryNotFoundException when extracting downloaded package by Powershell
Zu installierendes Tool: .NET Core sdk Version 9.0.100-preview.1.24101.2.
##[error]Fehler beim Installieren der Version 9.0.100-preview.1.24101.2 in Pfad "C:\Users\WlodarczykD\Desktop\Agent_work_tool/dotnet". Fehler: Fehler beim Extrahieren des heruntergeladenen Pakets. Fehler: Error: The process 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' failed with exit code 1 |
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: UseDotNet
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment
Azure Pipelines
Account : Keelah Atom
Team : keelah
Project name : DiVA
Build : Foxlider.DiVA #20190711.12
Private Agent
Windows Server 2019 10.0.17763
Version 2.153.2
Issue Description
While trying to download Dotnet 3.0.100-preview6 for my project by using UseDotNet@2 I get the following for every build I tried :
And this is the content of my _temp folder
I really don't understand what is happening or even what it tries to do...
Error logs
The text was updated successfully, but these errors were encountered: