Skip to content

What should we do about Env.cs #1876

@CharliePoole

Description

@CharliePoole

Now that we no longer have CF and Silverlight integrated, Env.cs is no longer doing much. It defines:

  • Newline which is always equal to Environment.Newline

  • DocumentFolder which maps to \MyDocuments in portable and to the special documents folder in all other builds.

  • DefaultWorkDirectory which maps to DocumentFolder in portable and to Environment.CurrentDirectory in other builds.

In the case of NewLine, we are already somewhat inconsistent. There are 24 references to both Env and Environment scattered around. The other two are referenced, respectively, zero and 3 times!

Options:

  • Leave file as is
  • Remove Env.NewLine
  • Remove file entirely

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions