https://github.com/raidenyn/msbuild.tsd
Run a tsd task as a MSBuild task
https://github.com/raidenyn/msbuild.tsd
Last synced: 3 months ago
JSON representation
Run a tsd task as a MSBuild task
- Host: GitHub
- URL: https://github.com/raidenyn/msbuild.tsd
- Owner: raidenyn
- Created: 2015-08-05T15:36:26.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-05T15:38:16.000Z (almost 11 years ago)
- Last Synced: 2025-07-02T03:05:23.222Z (12 months ago)
- Language: Batchfile
- Size: 559 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
MSBuild.Tsd
============
> Run Tsd Node tools as a MSBuild task.
Inspired by [MSBuild.NodeTools by kmees](https://github.com/kmees/MSBuild.NodeTools)
Installation
------------
### NuGet
MSBuild.Tsd is available as a NuGet Package with the same name.
This package contains all the available tools.
```
Install-Package MSBuild.Tsd
```
NuGet will automatically add the MSBuild targets to the `.csproj` file.
### Manually
Download the files in the `build/` folder and put them in your project folder.
Then open the `.csproj` file in an editor and do the following changes.
```xml
```
Note that the `MSBuild.Tsd.props` and `MSBuild.Tsd.targets` is required by
all the tools and must always be included.
Configuration
-------------
There are various configuration properties you can overwrite in the `.csproj` file
**after** importing `MSBuild.*.props` but **before** importing `MSBuild.*.targets`.
### MSBuild.Tps
* `TsdFile`: Path to tsd.json. Defaults to `$(MSBuildProjectDirectory)\tsd.json`.
* `TsdWorkingDirectory`: Directory in which context the tsd task gets executed. Defaults to `$(MSBuildProjectDirectory)`.
* `TsdCommand`: command to run tsd.