MirageNet.Mirage 149.4.1

dotnet add package MirageNet.Mirage --version 149.4.1                
NuGet\Install-Package MirageNet.Mirage -Version 149.4.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MirageNet.Mirage" Version="149.4.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MirageNet.Mirage --version 149.4.1                
#r "nuget: MirageNet.Mirage, 149.4.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MirageNet.Mirage as a Cake Addin
#addin nuget:?package=MirageNet.Mirage&version=149.4.1

// Install MirageNet.Mirage as a Cake Tool
#tool nuget:?package=MirageNet.Mirage&version=149.4.1                

Mirage Standalone

Mirage Standalone package is a .NET Core version of Mirage. Mirage Standalone allows the core parts of Mirage to be used outside of unity.

Mirage is a rolling-release high-level API for the Unity Game Engine that provides a powerful, yet easy to use networking API. It is designed to work with Unity 3D and is available on GitHub.

.NET Core Setup

Adding Weaver to project

Mirage uses mono.cecil to modify dlls after they are built to make some of the networking features work.

To make this work on your projects add this to the .csproj for a project.

make sure to add the GeneratePathProperty part to PackageReference, so that the build function can find the CodeGen folder

  <ItemGroup>
    <PackageReference Include="MirageNet.Mirage" Version="130.3.5" GeneratePathProperty="true" />
  </ItemGroup>

  <Target Name="PostBuild" AfterTargets="PostBuildEvent">
    <Exec Command="&quot;$(PkgMirageNet_Mirage)/CodeGen/Mirage.CodeGen.exe&quot; &quot;$(TargetPath)&quot;" />
    <Error Condition="$(ExitCode) == 1" />
  </Target>

It will cause weaver to run when that project is compiled and stop if weaver has any errors

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
149.4.1 100 8/7/2024
149.4.0 85 8/7/2024
146.2.2 172 10/11/2023
146.2.1 120 10/11/2023
131.0.1 228 3/31/2023
130.3.6 220 3/30/2023
130.3.5 212 3/30/2023
130.3.4 206 3/30/2023
130.3.3 205 3/30/2023
130.3.2 202 3/30/2023
130.3.1 264 2/13/2023
130.3.0 218 2/13/2023