Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.46k stars 4.8k forks source link

[QUERY]Azure Batch Windows Containers(CSharp): How to set Dotnet Global Tool Path ? #35911

Open PavanMudigondaTR opened 1 year ago

PavanMudigondaTR commented 1 year ago

Library name and version

Microsoft.Azure.Batch, v15.4.0

Query/Question

Hi All,

Could someone please help me with this question ? I am having trouble setting Dotnet Global Tool Path properly in Azure Batch Windows Containers(CSharp). I know how to do this in DockerFile but I need to do this in CSharp layer as I consume the Microsoft Given Dotnet Image directly without customizing the image. I have been struggling with this for a day now.

image image

Environment

Azure Batch Windows Containers(CSharp) dotnet 7.0 DOTNET NUGET Package "Microsoft.Azure.Batch" Version="15.4.0"

jsquire commented 1 year ago

Hi @PavanMudigondaTR. Thank you for reaching out and we regret that you're experiencing difficulties. Can you please let us know which Azure SDK package and version you're using? This will help us loop the right folks into the conversation to assist.

github-actions[bot] commented 1 year ago

Hi @PavanMudigondaTR. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

PavanMudigondaTR commented 1 year ago

Hi @PavanMudigondaTR. Thank you for reaching out and we regret that you're experiencing difficulties. Can you please let us know which Azure SDK package and version you're using? This will help us loop the right folks into the conversation to assist.

Hi @jsquire I have the below package and version

DOTNET NUGET Package "Microsoft.Azure.Batch" Version="15.4.0"

github-actions[bot] commented 1 year ago

Thank you for your feedback. This has been routed to the support team for assistance.

PavanMudigondaTR commented 1 year ago

@SaurabhSharma-MSFT

Unfortunately the Docker file way is also failing. I would appreciate if you can provide solution for both DockerFile way and directly in CSharp. It will help community members as well.

image image
github-actions[bot] commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @paterasMSFT @dpwatrous @wiboris @NickKouds @bgklein.