News for hackers. Stuff that matters.
Re:.NET 6 Released by malkia on Monday November 08, 2021 @01:12PM (#29152266)
For an internal tool that reformats our code base, I've used that to pack the `dotnet format` (although technically, not allowed case, since it's a tool, and need to be run from an "sdk" environment). It works for what we use it (whitespace formatting, but not for msbuild/analysis - which is clearly understood).

One thing though, is that native .dlls are still outside (DetoursServices.dll for example in BuildXL). But still pretty impressive what it can done. That, and the new embedded .pdb (for .NET only, e.g. not native).

I wish "publish" was used more by the place I work for (most of the folks would simply Release (F5) and store what's there in p4). I've only recently discovered about "publish" and that is after haven't worked with .NET for so long...

Re:.NET 6 Released by jmnicolas on Monday November 08, 2021 @01:36PM (#29152550)
Yeah "publish" is magical, I specifically jumped from .net 4.8 to 5 just for this feature.
Re:.NET 6 Released by merb on Monday November 08, 2021 @02:01PM (#29152875)
msbuild had publish since at least .net 3.5 (when I started to use the platform) it was just a little bit akward to use tough. and of course dotnet publish is 1000x better than msbuild with it's obscure syntax (which got way better in .net5 and 6 with -p: syntax, etc.)
Re:.NET 6 Released by ygra on Tuesday November 09, 2021 @12:51AM (#29158200)
-p:Property=Value (or /p: Property=Value) has existed in Ms build since the beginning. That's not a .NET 5 or 6 thing.
Re:.NET 6 Released by malkia on Tuesday November 09, 2021 @01:35PM (#29165507)
Also If I'm not mistaken most of the properties (if not all) can be set through the command-line (for good and bad :)), e.g. `set Property=Value && msbuild` or `Property=Value msbuild` (on unix systems)
Re:.NET 6 Released by jmnicolas on Tuesday November 09, 2021 @10:09AM (#29162709)
I don't remember what changed, but I wasn't able to use it on my old .NET projects.