https://github.com/winstxnhdw/unity-vscode-boilerplate
Unity boilerplate with first-class tooling support for Visual Studio Code and built-in support for NuGet packages.
https://github.com/winstxnhdw/unity-vscode-boilerplate
nuget unity vscode
Last synced: about 2 months ago
JSON representation
Unity boilerplate with first-class tooling support for Visual Studio Code and built-in support for NuGet packages.
- Host: GitHub
- URL: https://github.com/winstxnhdw/unity-vscode-boilerplate
- Owner: winstxnhdw
- Created: 2023-03-03T10:41:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T10:12:45.000Z (6 months ago)
- Last Synced: 2025-02-25T17:51:25.998Z (2 months ago)
- Topics: nuget, unity, vscode
- Language: C#
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# unity-vscode-boilerplate
Unity boilerplate with first-class tooling support for [Visual Studio Code](https://code.visualstudio.com/) and built-in support for NuGet packages.
## Requirements
- [.NET Core SDK](https://dotnet.microsoft.com/en-us/download)
- [.NET Desktop Build Tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022)
- [C# for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp)## Setup
You can enable Unity warnings for Visual Studio Code by running the following.
```bash
dotnet restore .vscode
```## Development
### Add NuGet Packages
`UnityNuGet` is a native, fast and lightweight NuGet client wrapper for Unity. Powered by MSBuild and .NET CLI—say goodbye to the [NuGetForUnity](https://github.com/GlitchEnzo/NuGetForUnity) bloatware!
```bash
dotnet add UnityNuGet package
dotnet publish UnityNuGet
```### Housekeeping
If you have removed many Unity packages and you are facing some issues in your editor, you may find it useful to remove all ignored files/directories.
```bash
git clean -fdX
```