-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9f5cda
commit 1b9569e
Showing
7 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# MSBuildWasm Template Package | ||
**EXPERIMENTAL** | ||
|
||
The package contains Rust template for creating MSBuild Tasks using Rust with MSBuildWasm | ||
Rust template for creating [MSBuild Tasks](https://learn.microsoft.com/visualstudio/msbuild/task-writing) using Rust with MSBuildWasm package using this [spec](https://github.com/dotnet/msbuild/blob/main/documentation/specs/proposed/Wasm-tasks.md) | ||
|
||
If/when other languages support function imports and exports in WASIp1 modules, templates for them may be added. | ||
|
||
use `dotnet new rust.msbuild.task` | ||
## Usage | ||
- install `cargo` and the `wasm32-wasi` target | ||
- `dotnet new rust.msbuild.task -o my_project` - creates a new .NET project which includes a template Rust task | ||
- `dotnet build my_project` - runs MSBuild which will compile the Rust to .wasm and create a MSBuild task from it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters