Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Simple SDK for custom artifacts (EXEs / DLLs) generated by external tool

Open
#653 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, rust
Domain
build-system

Research direction

Start by reading the Microsoft.Build.NoTargets SDK behavior around GetTargetPath and the manually imported SDK. Define how the minimal Build and Clean targets should work and how generated files such as DLLs, PDBs, and other relative artifacts propagate through the C# wrapper into FooApp's final output directory. Done means an external Rust, Zig, or similar tool can build and clean artifacts while referenced projects copy them transitively.

Written by the indexing model from the issue text.

Description

I'm trying to use the Microsoft.Build.NoTargets SDK to generate a project that builds a Rust cdylib (.dll / .so) and produces the following artifacts:

  • foo.dll
  • foo.pdb
  • ...

What I'd like is to have a way to specify all of this in the most elegant way (not just tied to Rust) but the Microsoft.Build.NoTargets SDK explicitly disables the GetTargetPath target (and other stuff) and it makes you import the SDK manually (instead of just using <Project Sdk="...">) because it's intended to be a way to just launch some tools that produce no artifacts / assemblies.

So it would be nice to have a minimal SDK that just invokes two main targets (Build and Clean) and a target that allows specifying which generated files are to be copied transitively (with a folder structure relative from the build directory, like BUILD/res/foo.bin).

My concrete goal is to have a Rust (or Zig / whatever) native DLL project (libfoo-rs) that is referenced by a C# wrapper project (LibFoo) that gets used by a C# Exe project (FooApp) such that when running FooApp in VS, everything gets copied in the final Output directory.

Dominant language
C#
Stars
512
Forks
94
Avg merge
6h 12m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/MSBuildSdks

All issues in microsoft/MSBuildSdks

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.