Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make CoreGenerateSatelliteAssemblies work for VB
Fixes dotnet#1748. The `CoreGenerateSatelliteAssemblies` task first calls the `WriteCodeFragment` task to write a bunch of attributes to a .cs file, and then calls the `Csc` task to compile it (along with the .resource files, of course). However, the call to `WriteCodeFragment` will use the project's language to generate the source file. This means that in a VB project we'll end up generating VB code into a .cs file which we then try to compile with csc.exe. That doesn't end well. The fix here is to always pass "C#" as the language to `WriteCodeFragment`.
- Loading branch information