Converting projects to new csproj
I’m sure I’m not the only experienced C# developer who finds the classic csproj file format to be more than a little inscrutable - difficult to read and understand.
Sharpen The Saw #37
In this issue from October 2017: Explaining tuples in C# 7; .NET 4.7.1 can now consume packages targeting .NET Standard 2.0; Hanselman finds he’s smarter when working with someone else; Pwned passwords available for download; Stackoverflow reports on software developer ecosystems; and Richard Campbell presents the history of .NET.
Troubleshooting Assembly Loading with the Assembly Binding Log Viewer
After making the changes detailed recently where I upgraded the .csproj project file format for a personal project, I found that the command line tool compiled by the project failed to work.
Troubleshooting Assembly Load Issues with the MSBuild Structured Log Viewer
As discussed last time, I’d successfully fixed one of the errors that was stopping my console application from running - but there was still one remaining.
Solving my Assembly Load Issues
So far, I’ve identified that the version of System.Reflection found in the NuGet package is version 4.1.1.0 and the version in the global assembly cache is version 4.0.0.0 - so where is the version that the build process is choosing?
A question of struct performance
A question came up in an online discussion about the relative performance of using a bare primitive type vs wrapping that type into a struct. Wrapping the type is a common technique used to avoid runtime errors, enlisting the compiler to enforce the correct semantics at compile time instead. But, sometimes people worry about the performance cost of doing this.
Earlier
« May 2018
Later
July 2018 »