top | item 47063485

(no title)

memsom | 12 days ago

> Mixing C# with other languages in the same project is also difficult because it only supports MSBuild.

No, this is not true. You can invoke the compiler directly with no direct call to MSBuild what so ever.

Even using the dotnet command, which uses MSBuild under the hood, you are free to use your own build system. As an example - this code uses a Makefile to invoke the build: https://github.com/memsom/PSPDNA

If you want to call csc directly, it will compile with args just fine. And, if you have a working C# compiler on you platform, whether or not it uses MSBuild behind the scenes is kind of inconsequential.

You may also directly call the msbuild command, and it more or less does the same thing as the dotnet command, but hardly anyone eve calls msbuild directly these days.

discuss

order

No comments yet.