HotReloadKit 0.3.1-beta.1

This is a prerelease version of HotReloadKit.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package HotReloadKit --version 0.3.1-beta.1                
NuGet\Install-Package HotReloadKit -Version 0.3.1-beta.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="HotReloadKit" Version="0.3.1-beta.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HotReloadKit --version 0.3.1-beta.1                
#r "nuget: HotReloadKit, 0.3.1-beta.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 HotReloadKit as a Cake Addin
#addin nuget:?package=HotReloadKit&version=0.3.1-beta.1&prerelease

// Install HotReloadKit as a Cake Tool
#tool nuget:?package=HotReloadKit&version=0.3.1-beta.1&prerelease                

HotReloadKit

Hot Reload Kit for VS2022 for Mac

Usage

using HotReloadKit;

class Program
{
    static void Main(string[] args)
    {
        CodeReloader.Init<Program>(HotReloadSupport.IdeIPs);        
        
        // you can specify additional names of requested types
        CodeReloader.RequestedTypeNamesHandler = () => new string[] { "HotReloadExample.MyClass" };

        CodeReloader.UpdateApplication = types =>
        {
            foreach (var type in types) 
                Console.WriteLine(type.FullName);
        };
          
        ...
        
    }
}  

VS2022 for Mac

Disclaimer

There is no official support. Use at your own risk.

License

License MIT, Copyright (c) 2023 Pawel Krzywdzinski

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 (2)

Showing the top 2 NuGet packages that depend on HotReloadKit:

Package Downloads
Sharp.UI

C# Code Markup Library for .NET MAUI: Code-Only UI Development with Fluent Methods and Hot Reload

CodeMarkup.Maui

C# Code Markup Library for .NET MAUI: Code-Only UI Development with Fluent Methods and Hot Reload

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.5.0-beta 148 3/22/2023
0.4.0-beta.2 321 2/8/2023
0.3.1-beta.1 99 2/4/2023