samples
MSBuild
samples | MSBuild | |
---|---|---|
15 | 19 | |
3,223 | 5,139 | |
1.1% | 0.6% | |
9.8 | 6.9 | |
2 days ago | 2 days ago | |
C# | C# | |
Creative Commons Attribution 4.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
samples
-
The Rust Calling Convention We Deserve
What you may have been looking for is these:
- https://learn.microsoft.com/en-us/dotnet/core/deploying/nati...
- https://github.com/dotnet/samples/blob/main/core/nativeaot/N...
Mono has been a stable choice for embedding in game-script style scenarios, in particular, because of the ability to directly call its methods inside providing the caller honors the calling convention correctly, but it has been slowly becoming more of a liability as you are missing out on a lot of performance by not hosting CoreCLR instead, if that is the desired scenario.
For .dll/.so/.dylib's, it is easier and often better to just build a native library with naot instead (you can also produce a statically linkable binaries but it might have issues on e.g. macOS which has...not the most reliable linker that likes to take breaking changes).
-
extension system on dotnet
After I do my research, I found these examples on dotnet repo. It uses dll instead of apk which is fine, I can still download the extension dll and then load it. But it has restriction of only have one dll for each project and can't be uninstalled. As i said before, tachiyomi only define CSS selector in theme, and then generate apk for each website with its base URL, so there's no way to create project for each website. Is there a way to generate dll for each class that inherits class Parent?
- My SWE internship starts soon but I haven't coded in a year
-
How can I search so efficiently in very large plain text file?
A pointer: https://github.com/dotnet/samples/blob/main/csharp/parallel/ParallelGrep/Program.cs
- Is MS Word interop dead now on .NET core?
- How to embed .NET runtime?
-
[NET 7] NativeAOT-compiled static library is not exporting my managed functions for some reason.
Just a guess: do you need to set the SelfContained property, maybe? That's the only real difference I can see from the official sample: https://github.com/dotnet/samples/tree/main/core/nativeaot/NativeLibrary
-
Is anyone suing Windows Workflow Foundation?
It's really dead? They trying to resurrect it? They added C# and some new samples https://github.com/dotnet/samples/tree/main/framework/windows-workflow-foundation/application/HiringRequestProcess/CS
-
#JulyOT 08: .NET nanoFramework GPIO, I2C, SPI and other IO support
A comparison on how to reuse code and the differences between .NET IoT and .NET nanoFramework is available here.
-
How can i run a C# .NET dll inside a C++ application?
Here is sample code
MSBuild
-
Sharing Saturday #459
I did get confirmation that the actual kill has been postponed to .Net 9.0 rather than .Net 8.0 . However, that PR is factually wrong regarding when System.Runtime.Serialization use became opt-in -- I had to counter-adjust Rogue Survivor Revived to opt into using System.Runtime.Serialization for .Net 7.0, last November i.e. Nov 2022.
-
Did anyone figure out a way to compile .NET Core with WPF on Linux?
Like this https://github.com/dotnet/msbuild/blob/d0060335c1fb2f0523b1cf4656c464c5c4316783/src/Framework/NativeMethods.cs
- Why does Microsoft still insist on using XML for configuration files like `.csproj`, etc.?
-
[Copilot has] been a massive productivity improvement to our senior devs, and I got so used to it that it's an annoyance when Copilot doesn't respond.
Here is a taste of what to expect: https://github.com/dotnet/msbuild
-
Resources to learn the F# ecosystem
The main thing they do is to list projects so that you can open a solution and see a set of projects, or build a solution and build everything there. They also give a lot of customization and fortunately it's rare that you need to know anything about that. It does feel somewhat unnecessary since you should be able to open a project with its dependencies. Hopefully solution files are going to be cleaned up: https://github.com/dotnet/msbuild/issues/1730
-
Build to order? Checking MSBuild for the second time
Since the previous check, the project has grown a lot. Our analyzer has become more advanced, too. This only makes this task more interesting! Despite the high quality of the MSBuild product and the well-known name of its creator, we again managed to find some issues in MSBuild's source code. The project is almost entirely written in C#. You can see it on GitHub. We took the code from this commit.
- Gauging broader interest in a .sln file generator based on a new DSL?
-
New format for solution (.sln) files
relevant github issue: https://github.com/dotnet/msbuild/issues/1730
-
How can I compile a C# program with a different version of glibc?
msbuild is the "make" system, but for .Net. Those .csproj files are just makefiles by another name. Also, msbuild is not Windows-only. The readme specifically states that it can run on Unix (and Unix-like) systems that support .Net Core.
-
The most interesting C# / .NET blogs and websites
You can't do without source files when you want to better understand what is happening "under the hood" of a particular system. For example, do you want to improve your understanding of how types from the standard library work? The source code of .NET Framework and .NET will help you to do that. Do you want to dig deeper into the compiler? No problem - here is the Roslyn's source code at your service. Do you need to look inside the build system? Here you go - the MSBuild code is also open-source. By the way, if you are interested in build processes, you may also find MSBuild Structured Log Viewer useful. It's a tool that allows you to work with MSBuild build logs in a convenient format.
What are some alternatives?
Stanford.NLP for .NET - Stanford NLP for .NET
Cake - :cake: Cake (C# Make) is a cross platform build automation system.
Gradient-Samples - Samples for TensorFlow binding for .NET by Lost Tech
NUKE - 🏗 The AKEless Build System for C#/.NET
RyzenMasterBindings - Unofficial Ryzen Master Bindings for C#
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
arcade - Tools that provide common build infrastructure for multiple .NET Foundation projects.
Psake - A build automation tool written in PowerShell
ChocolArm64 - A C# ARM64 emulator that works translating ARM code to CIL
FAKE - FAKE - F# Make
CoreWCF - Main repository for the Core WCF project
CS Make - Sake Build