~/talk

Tips & tricks to improve your .NET build setup with MSBuild

Talkat DotNext 2020 Moscow · 2020-12-02..12-05· [dotnet]
links:none on file
slides:none on file

Practical MSBuild recipes: use Directory.Build.props and Directory.Build.targets to apply CI-only flags (treat warnings as errors for Release) and to centralize publishing defaults; enable central NuGet versions with Directory.Packages.props; generate semantic package versions with Nerdbank.GitVersioning (local dotnet tool) so CI produces incremental versions; prefer CopyToOutputDirectory=PreserveNewest to avoid constant rebuilds; inspect failures with MSBuild -bl and the MSBuild Structured Log Viewer; use Microsoft.NETFramework.ReferenceAssemblies to build .NET Framework targets cross‑platform.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:02MSBuild fundamentals
  3. 6:18Practical syntax and items
  4. 17:10Evaluation order and debugging
  5. 22:53Advanced project customization
  6. 30:10Managing package dependencies
  7. 33:33Git-based versioning
  8. 39:29Handling files and resources
  9. 44:55Advanced build and framework tips
  10. 50:31Feature flags and diagnostic logs
  11. 59:28Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.