28 points · by JeremyMorgan · 9y ago · 24 comments
[1] - http://www.linqpad.net
Note: I've tried to use scriptcs, but the extent of my C# knowledge consists of pretending it's Java. But people do seem to compare it to LINQPad, so maybe it fits.
So I always find strange all the C# tutorials and books starting straight out with Visual Studio: this software is often updated with major visual changes thus rendering screenshots obsolete and there is a lot of visual complexity involved especially for beginners in both C# and programming. On the other hand the CLI interface is pretty stable, simple to use for small programs with few references -- and it's actually force one to understand what a referenced dll is -- and involve less magic.
I really want my good old makefiles back for C#. For build management Visual Studio adds a lot of complexity and weird behaviors.
http://flukus.github.io/2016/11/30/2016_11_30_Rediscovering-...
The problem is that I still need VS for debugging, which means build via msbuild. I've heard .net comes with a cmd line debugger (that's compatible with gdb even), though I've never used it.
### Build this project
msbuild ./path/to/some/Solution.sln
### Build this project for release
msbuild ./path/to/some/Solution.sln /p:Configuration=Release Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Project1",
"Project1.vbproj", "{8CDD8387-B905-44A8-B5D5-07BB50E05BEA}"
EndProject
Just a small part of a solution file, and not exactly the easiest thing to write by hand. Where do the hashes come from, what do they represent, and what kind are they?Take a look at the example file here: [0], almost half of it is hashes... But are they necessary? Or automatable easily? Is it well documented? Does it break between VS versions? I know VS has "updated" my solution file between versions, and isn't always backwards compatible. That story might have changed.
But... Solution files seem to be machine readable, not human.
It just seems like a bad idea to do it yourself.