Rust внутри .NET: как упаковать native-библиотеку в один NuGet-пакет

FFI, P/Invoke, EmbeddedResource, DllImportResolver и кроссплатформенная доставка без ручного копирования .dll , .so и .dylib . Когда .NET-коду нужно вызвать Rust-библиотеку, первый прототип обычно заводится быстро: Rust собирается как cdylib ; функции экспортируются через extern "C" ; C# вызывает их через DllImport ; результат возвращается через указатель.

https://habr.com/ru/articles/1043276/

#dotnet #rust #ffi #invoke #nuget #nativelibrary #dllimportresolver

Rust внутри .NET: как упаковать native-библиотеку в один NuGet-пакет

FFI, P/Invoke, EmbeddedResource, DllImportResolver и кроссплатформенная доставка без ручного копирования  .dll ,  .so  и  .dylib . В примерах ниже используется условная функция...

Хабр
another #nuget blast and email inbox full. #dotnet
https://github.com/dennisdoomen/dotnet-library-starter-kit - #dotNET library starter kit is a bunch of dotnet new templates to quickly get you started building high-quality #NuGet packages.
GitHub - dennisdoomen/dotnet-library-starter-kit: A battle-tested starter kit for building open-source and internal NuGet libraries using "dotnet new", born from half a billion downloads

A battle-tested starter kit for building open-source and internal NuGet libraries using "dotnet new", born from half a billion downloads - dennisdoomen/dotnet-library-starter-kit

GitHub

KeyboardHook: кроссплатформенный глобальный перехват клавиатуры и мыши для .NET

Рассказываю, как написал кроссплатформенную .NET-библиотеку для глобального перехвата клавиатуры и мыши. Под капотом: WH_KEYBOARD_LL на Windows, CGEventTap на macOS и polling через XQueryKeymap на Linux. Один интерфейс, три реализации, ноль внешних зависимостей.

https://habr.com/ru/articles/1040932/

#nuget #c# #net #windows #linux #macos #global_hooks #keyboardhooker #crossplatform

KeyboardHook: кроссплатформенный глобальный перехват клавиатуры и мыши для .NET

Проблема: ни один готовый пакет не подошёл Первые несколько пакетов, которые я попробовал, работали исключительно на Windows и молчали на macOS. Другие просто вешали приложение при первом нажатии...

Хабр

The number of downloads of my NuGet packages exceeded 125,000,000 - https://www.nuget.org/profiles/taritsyn

#nuget #dotnet #opensource #oss

NuGet PackageReference for C++ Projects in Visual Studio - C++ Team Blog

Native C++ projects (.vcxproj) now support NuGet PackageReference, the same modern package management experience .NET developers have used for years. Available as an experimental feature in Visual Studio 2026 version 18.7.

C++ Team Blog
NuGet Package Pruning: Cleaner Dependencies and Actionable Vulnerability Reports - .NET Blog

Package pruning in .NET 10 removes platform-provided packages from your dependency graph. With transitive auditing enabled by default, projects with these defaults have 70% fewer transitive vulnerability reports compared to projects using the previous defaults.

.NET Blog

From the .NET blog...

In case you missed it earlier...

NuGet Package Pruning: Cleaner Dependencies and Actionable Vulnerability Reports
https://devblogs.microsoft.com/dotnet/nuget-package-pruning-in-dotnet-10/ #dotnet #NuGet #Security #audit #dotnet10 #packagepruning #vulnerabilities

NuGet Package Pruning: Cleaner Dependencies and Actionable Vulnerability Reports - .NET Blog

Package pruning in .NET 10 removes platform-provided packages from your dependency graph. With transitive auditing enabled by default, projects with these defaults have 70% fewer transitive vulnerability reports compared to projects using the previous defaults.

.NET Blog
NuGet Package Pruning: Cleaner Dependencies and Actionable Vulnerability Reports - .NET Blog

Package pruning in .NET 10 removes platform-provided packages from your dependency graph. With transitive auditing enabled by default, projects with these defaults have 70% fewer transitive vulnerability reports compared to projects using the previous defaults.

.NET Blog