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

filepath is not compatible with mac os

Abierto
#14 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C#
Estrellas
16
Forks
35
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

> 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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con la función privada estática ResourceFile UploadFileToContainer y la llamada ResourceFile.FromUrl(blobSasUri, filePath). Reproduce el problema compilando y ejecutando con Visual Studio for Mac; después, inspecciona cómo se usa la ruta de macOS en el comando de la tarea de Azure. Se considera terminado cuando la tarea puede procesar la ruta del archivo generado en la máquina virtual de Windows sin el error de sintaxis del comando.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
azure, csharp
Área
cloud, operating-systems
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.