System.Environment
is available in the System.Runtime.Extensions
package. Ensure you've referenced that package in your project.json
.
{
"frameworks": {
"dnxcore50": {
"dependencies": {
"System.Runtime.Extensions": "4.0.10-*"
}
}
}
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…