I have a new .NET Core 1.0 project, and for some unknown reason, it stopped (or never did, I don't remember) a debugging violation.
I added the StackTrace package here: How can I get the line number and file name from the exception in net Core?
But without success.
I use the VS2015 community and standard snap-in from there.
Potentially relevant snippet from my file project.json:
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true,
"define": [ "DEBUG", "TRACE" ]
},
"runtimes": {
"win10-x64": {}
},
"runtimeOptions": {
"configProperties": {
"System.GC.Server": true
}
},
UPDATE
OK, if you start with a new main web application, everything works as expected.
If you then upgrade all packages, it will not be created until you add:
"runtimes": {
"win10-x64": {},
"win81-x64": {},
"win8-x64": {},
"win7-x64": {},
"win10-x86": {},
"win81-x86": {},
"win8-x86": {},
"win7-x86": {}
},
K project.jsonso that it can be created and run.
, , . , . .