Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Trying to set environment in vs code launch.json on OS X ?

$
0
0

Hi

I'm building an ASP.Net Core RC2 MVC Application on OS X I don't seem to be able to set my environment for development

I think I should be able to add within my launch.json file:

"env": {"ASPNETCORE_ENVIRONMENT": "Development"
}

I've tried adding it within the 

"name": ".NET Core Launch (web)"
 section. But 
"env"
 is not recognised. The version of the launch.json file is set as  
"version": "0.2.0",
 The error i get shown in the editor is 
Property env is not allowed

Is this an OS X issue? Anyone have any ideas?

Thanks.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>