We would like to show you a description here but the site won’t allow us. In the Unity menu bar, click on NuGet Manage NuGet Packages. In the Search box, enter Microsoft.MixedReality.Toolkit. Choose the MRTK core package: Microsoft.MixedReality.Toolkit.Foundation – The core package for MRTK. The csproj is placed in a folder called.nuget which will be ignored by Unity. If you do not want to use the provided gitignore files, then delete them after initialization. Regenerate the Unity project files through either the “Regenerate project file” button, or in the Unity options: “Edit/Preferences/External Tools”. 就从上面所述的菜单那里打开,你可以进入 NuGet 包的搜索与安装界面。输入并找到你想安装的 NuGet 包,然后点击 Install 即可。 还原 NuGet 包. 正常情况下,你打开别人上传到版本管理中的仓库后,仅仅启动 Unity 编辑器就可以完成 NuGet 包的还原。.
Unity for Microsoft Dependency Injection framework.
Release Notes
This release is compatible with Core 3.1
Dependencies
.NETCoreApp 3.1
- Microsoft.AspNetCore.Hosting.Abstractions(>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions(>= 3.1.0)
- Unity.Container(>= 5.11.4)
.NETStandard 2.0
- Microsoft.AspNetCore.Hosting.Abstractions(>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions(>= 3.1.0)
- Unity.Container(>= 5.11.4)
Used By
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Unity.Microsoft.DependencyInjection:
Package | Downloads |
---|---|
UnityAddon.Core | |
IFramework.DependencyInjection.Unity Supports netcore standard2.0 | |
PSFiddle.Common | |
S-Innovations.ServiceFabric.RegistrationMiddleware.AspNetCore Package Description | |
Acv2.SharedKernel.Infraestructure |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Unity.Microsoft.DependencyInjection:
Repository | Stars |
---|---|
dotnet/runtime .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps. | |
danielpalme/IocPerformance |
Version History
Version | Downloads | Last updated |
---|---|---|
5.11.5 | 379,407 | 12/12/2019 |
5.11.4 | 6,683 | 12/8/2019 |
5.11.3 | 1,340 | 12/8/2019 |
5.11.2 | 509 | 12/8/2019 |
5.11.1 | 7,076 | 12/6/2019 |
5.11.0 | 1,047 | 12/6/2019 |
5.10.2 | 225,635 | 4/10/2019 |
5.10.1 | 37,352 | 3/23/2019 |
5.10.0 | 52,041 | 3/18/2019 |
5.9.2 | 3,340 | 3/2/2019 |
5.9.1 | 10,443 | 2/6/2019 |
5.9.0 | 7,295 | 1/23/2019 |
2.1.3 | 178,132 | 12/9/2018 |
2.1.2.1 | 10,013 | 12/4/2018 |
2.1.1 | 31,519 | 8/29/2018 |
2.1.0 | 2,225 | 8/25/2018 |
2.0.12 | 549 | 8/24/2018 |
2.0.11 | 495 | 8/22/2018 |
2.0.10 | 175,344 | 3/27/2018 |
2.0.9 | 2,819 | 3/4/2018 |
2.0.8 | 844 | 3/4/2018 |
2.0.7 | 587 | 3/1/2018 |
2.0.6 | 1,729 | 1/29/2018 |
2.0.5 | 646 | 1/23/2018 |
2.0.4 | 606 | 1/23/2018 |
2.0.3 | 560 | 1/23/2018 |
2.0.2 | 804 | 1/11/2018 |
2.0.1 | 639 | 1/10/2018 |
2.0.0 | 763 | 1/9/2018 |
1.0.1 | 4,549 | 1/5/2018 |
1.0.0 | 787 | 1/4/2018 |
Rider for Unity
Using Rider to write C# makes me happy. I have never seen code refactoring tools that actually work - always without exception. It's amazing when you can rely on it.
Joachim Ante,
Unity CTO & Founder
Powerful cross-platform C# Editor
JetBrains Rider is a fast and powerful
Easy start with Unity
Rider has Unity support built in, and the very first time you open a Unity solution it will automatically configure Unity to use Rider as the default editor for C# scripts and shader files. Once done, double-clicking a C# script or shader asset will open the solution in Rider.
Control Unity editor
Thanks to the integrated two-way communication, you can switch into and out of Play mode, and pause and step a single frame without ever leaving Rider! The toolbar includes game view buttons Play, Pause, and Step, which correspond to the same buttons in Unity Editor and control the same behavior as Unity Editor does. A small Unity icon in the status bar will indicate whether Unity Editor is connected, refreshing, or in Play mode. Any changes applied in Rider in Edit mode will be instantly delivered to Unity Editor.
Coding hints
Rider provides top-notch code analysis for C#, and that includes Unity-specific code inspections and quick-fixes for them.
For example, Rider will warn you against using inefficient string literal comparison with the tag
property, and will provide a quick-fix to rewrite this as a call to CompareTag
.
Similarly, Rider will warn you if you try to use the new
keyword to create a new instance of a class deriving from MonoBehaviour
or ScriptableObject
. Just press AltEnter to have Rider fix the problem for you.
Debug Unity with ease
Rider makes it very easy to debug your C# scripts as they run in the Unity editor. Everything is already configured, and you just need to hit the Debug toolbar button, menu item or keyboard shortcut to attach the debugger to the running Unity editor. You can set breakpoints in the editor, step through your code, look at locals and watch values, and evaluate expressions.
With Rider, you can even debug the code that you don’t have debugging information for. Rider automatically decompiles external libraries on-the-fly, allowing you to debug the decompiled code, step into functions, set breakpoints, view and set locals and variables.
Run Unity tests
Rider allows you to run tests that interact with Unity’s API, and which can step through single frames, all from within Rider. And of course, you can explore the results of your Unity-specific tests, just like you would normal tests – you can filter by result, and click on stack traces to navigate your code.
Unity console logs
The Unity Logs tool window with hyperlinked stack traces lets you explore the same events that are logged in the Unity editor console. It allows filtering by category (error, warning, or message), hides events based on when they were logged (in Play or Edit mode), and lets you easily navigate to any source file, class, method, or property mentioned in the log entry. Unity Logs cleans its output automatically after every switch to Play mode.
Performance highlightings
Rider helps you write better-performing Unity C# code. To do this, it highlights expensive Unity APIs inside methods that get called every frame, like Update and coroutines. Rider even highlights calls to methods that indirectly use expensive Unity APIs!
Besides that, Rider has many Unity-specific performance inspections and appropriate quick-fixes. It is aware of code patterns that are poor performance and can suggest automatic fixes for them, such as using a different API or overload, or caching values.
Find Usages inside Unity files
Find Usages now includes Unity scenes, assets, and prefabs. If you search for a class or method used as an event handler, Rider shows where it’s used in your Unity files, grouped by type, component name, and parent game objects. Even better, double-clicking the item highlights the usage directly in the Unity Editor.
Pulling this information from Unity files also means that Rider highlights event handler methods as being implicitly used. The implicit usage highlights are turned into Code Vision links, so you can see at a glance what classes, methods, and fields are implicitly used by Unity. And clicking the link will find those usages, even inside Unity files.
Shader support
Rider also adds support for .shader files, with syntax highlighting, code folding, brace matching and more. Syntax errors in the ShaderLab sections are highlighted, todo comments are pulled into the To Do Explorer and color properties are highlighted, with a color picker for editing. Simple word completion is available throughout the file, including in Cg/HLSL blocks.
Explore Unity docs
Rider displays external documentation for Unity symbols. You can either click the icon from the Quick Documentation pop-up (CtrlShiftF1 if using the Visual Studio keymap) or use the View External Documentation action (ShiftF1) directly, to navigate to locally installed documentation, or to Unity’s hosted docs if they are not available locally.
See how the Unity support in JetBrains Rider compares to Visual Studio and Visual Studio for Mac.
IDE for Unity development
Free 30-day trial
Features
Code analysis and quick-fixes
Rider boasts 2500+ live code inspections, with over 1000 automated quick-fixes to resolve detected issues individually or in bulk. Solution-wide error analysis will monitor code issues and let you know if anything goes wrong, even in files that are not currently open.
Code navigation
You can jump to any file, type, or member in your code base in no time, as well as find settings and actions. Find usages of any symbol, or navigate from a symbol to base and derived symbols, extension methods or implementations.
Unity Nuget Github
Refactorings
Rider provides 50+ global automated refactorings, as well as 450+ smaller context actions for local code transformations. Rename, extract methods, interfaces and classes, move and copy types, use alternative syntax, and a lot more!.
And more
There’s unit testing support, code cleanup, integrated version control, local history to save your code between commits, NuGet support, database tooling and more. Rider can be easily extended with plugins, from Markdown support to VIM keyboard bindings.
Customers
Far and away the best Unity IDE for the Mac. Unparalleled debugging and refactoring capabilities.
— Erin Keenan, Engineer, N3twork mobile games company
Join these companies that already use Rider to develop Unity games.
Unity Nuget
Having the right tool for the job is essential to compete in any market, games especially. At Yakuto each dev has a JetBrains Toolbox subscription, which we’ve found invaluable for productivity. We work mostly in C# on Macs. This used to mean a VM running ReSharper but with Rider, we’re native to one OS, which is awesome. Unity debugging is now seamless and the extensions add vital Unity-aware context. As a veteran of ReSharper, I feel completely at home in Rider: refactoring, solution-wide analysis, test runners, it’s all there. We couldn’t consider C# development without Rider.
Unity Nuget Mono Cecil
— James Gratton, CTO, Yakuto