Riverside.Alloy 1.0.0

Prefix Reserved
Additional Details

Alloy was the codename for the custom tooling used in CubeKit. It has now been completely transformed.
The version of Alloy included in this NuGet package has major issues and critical bugs that make it unusable.

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Riverside.Alloy --version 1.0.0
                    
NuGet\Install-Package Riverside.Alloy -Version 1.0.0
                    
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="Riverside.Alloy" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Riverside.Alloy" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Riverside.Alloy" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Riverside.Alloy --version 1.0.0
                    
#r "nuget: Riverside.Alloy, 1.0.0"
                    
#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.
#addin nuget:?package=Riverside.Alloy&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Riverside.Alloy&version=1.0.0
                    
Install as a Cake Tool

Alloy

Enhanced custom tooling to bring components to both UWP and WinUI.

adapted from the Gist


Alloy is a reimagined way of building apps targeting WinRT: WinAppSDK and UWP.

Alloy was a stroke of genius I came up with while trying to figure out how on earth I could package both UWP and WindowsAppSDK (WinRT) versions of a class library in one package. It's painfully simple (honestly, how has nobody come up with this before?)

When you add Alloy to your project, it will allow you to do:

#if WinUI
// WinUI implementation
#endif
#if UWP
// UWP implementation
#endif

This allows you to create neutral packages that ship with both UWP and WinUI implementations. Since old UWP (with TFM uap.10.0.x) is not SDK-style, it is not technically capable of supporting the Alloy build system.

Due to the nature of MSBuild, I haven't yet found a way of targeting both UWP and WinUI on .NET 9. Currently, you will need to add both TFMs to your project.

Current supported versions include:

  • UWP on .NET 9
  • WinUI on .NET 8

Protip: put the following code in a GlobalUsings.cs file in your project to make Alloy even easier to use:

global using global::System;
global using global::System.Collections;
global using global::System.Collections.Generic;
global using global::System.Collections.ObjectModel;
global using global::System.Linq;
global using global::System.Threading;
global using global::System.Threading.Tasks;
global using global::System.ComponentModel;
global using global::System.Diagnostics;
global using global::System.Text.Json;
global using global::System.Text.Json.Serialization;
global using SystemIO = global::System.IO;

#if WinUI
global using global::Microsoft.UI.Xaml;
global using global::Microsoft.UI.Xaml.Controls;
global using global::Microsoft.UI.Xaml.Data;
global using global::Microsoft.UI.Xaml.Input;
global using global::Microsoft.UI.Xaml.Media;
global using global::Microsoft.UI.Xaml.Navigation;
#endif
#if UWP
global using global::Windows.UI.Xaml;
global using global::Windows.UI.Xaml.Controls;
global using global::Windows.UI.Xaml.Data;
global using global::Windows.UI.Xaml.Input;
global using global::Windows.UI.Xaml.Media;
global using global::Windows.UI.Xaml.Navigation;
#endif
Product Compatible and additional computed target framework versions.
.NET net8.0-windows10.0.19041 is compatible.  net9.0-windows was computed.  net9.0-windows10.0.26100 is compatible.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0-windows10.0.19041

    • No dependencies.
  • net9.0-windows10.0.26100

    • No dependencies.

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