VS: Fix crash on CSharp sources in a custom target
The target generator does not compute ClOptions for custom targets, so we should not use them either.
Fixes: #18377 (closed), #18485 (closed)
A GitLab update will be applied on April 24th, between 8am and 10am, EST (UTC-05:00). This site may have intermittent delays during that time.
The target generator does not compute ClOptions for custom targets, so we should not use them either.
Fixes: #18377 (closed), #18485 (closed)