Simple SDK for custom artifacts (EXEs / DLLs) generated by external tool
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- build-system
調査の方向性
まず、Microsoft.Build.NoTargets SDK における GetTargetPath と手動でインポートされた SDK の動作を確認します。最小限の Build および Clean target がどのように動作すべきか、また DLLs、PDBs、その他の相対アーティファクトなどの生成ファイルが C# wrapper を通じて FooApp の最終出力ディレクトリへどのように伝播するかを定義します。完了の条件は、参照プロジェクトがそれらを推移的にコピーする一方で、外部の Rust、Zig、または同様のツールがアーティファクトをビルドおよびクリーンできることです。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 508
- フォーク
- 94
- 平均マージ
- 11時間 34分
- マージ済み PR(30日)
- 1
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/MSBuildSdks のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
microsoft/MSBuildSdks#652 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
microsoft/MSBuildSdks#646 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
microsoft/MSBuildSdks#644 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
microsoft/MSBuildSdks#642 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoft/MSBuildSdks#635 ·
microsoft/MSBuildSdks の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fluentassertions/fluentassertions#3353 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 半日 初心者へのやさしさ 78/100
unoplatform/uno#24769 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
AvaloniaUI/Avalonia#22323 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
microsoft/onnxruntime-genai#2633 ·
メンテナーはふだん 1 日以内に返信