Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Pipeline looks for temp folder env variable which is not present on *nix machines #168

Closed
@suhasj

Description

@suhasj

The BufferingHelper tries to get the path to the temporary folder by reading the environmental variables 'ASPNET_TEMP' and 'TEMP'. Code
The issue is *nix machines don't have the mandatory 'TEMP' variable set by default.

@Tratcher @Praburaj discussed that Path.GetTempPath was not advised to be used while Environment.SpecialFolder is not present for Core CLR.

This leaves us with two options

  • Find a variable similar to 'TEMP' which is set by default and read the path value from there
  • Document this and have administrators set this variable on the machines.

The second one I am not comfortable with while the first one, I was not able to get a consistent variable that is similar to 'TEMP'. The OSX has 'TMPDIR' but this is not present in Linux machines. With the latest bits, running applications without either of these variables set results in error which are not very obvious either. Can we come at a consensus on what the guidelines should be ?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions