Azure-Samples / Azure-Samples/batch-dotnet-quickstart

filepath is not compatible with mac os

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
16
Forks
35
PR merge metrics
No merged PRs in 30d

Description

> Please provide us with the following information:
> ---------------------------------------------------------------
Function:
private static ResourceFile UploadFileToContainer
returns a ResourceFile created by
ResourceFile.FromUrl(blobSasUri, filePath)

The filePath is in macOS style, but is used in the azure task as a windows path:
cmd /c type /Users/xyz/Dokumente/Azure/Lab_BatchJob/batch-dotnet-quickstart-master/BatchDotnetQuickstart/bin/Debug/netcoreapp2.1/taskdata0.txt

This command does not work on the windows virtual machine in azure...

### This issue is for a: (mark with an `x`)
```
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
> compile and run with visual studio for mac

### Any log messages given by the failure
>Task ends with error:
The syntax of the command is incorrect.

### Expected/desired behavior
>

### OS and Version?
> macOS Catalina

### Versions
>newest

### Mention any other details that might be useful

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.