Megasware128.InternalToPublic 0.1.0

dotnet add package Megasware128.InternalToPublic --version 0.1.0                
NuGet\Install-Package Megasware128.InternalToPublic -Version 0.1.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="Megasware128.InternalToPublic" Version="0.1.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Megasware128.InternalToPublic --version 0.1.0                
#r "nuget: Megasware128.InternalToPublic, 0.1.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.
// Install Megasware128.InternalToPublic as a Cake Addin
#addin nuget:?package=Megasware128.InternalToPublic&version=0.1.0

// Install Megasware128.InternalToPublic as a Cake Tool
#tool nuget:?package=Megasware128.InternalToPublic&version=0.1.0                

Megasware128.InternalToPublic

Source generator to make internal classes from external libraries publicly available to the current project

Note: Currently only supports static classes/methods with references to publicly available types

Usage

  1. Add package to your project
  2. Add using: using Megasware128.InternalToPublic;
  3. Define a type you want to make available. Example: [assembly: InternalToPublic("Newtonsoft.Json", "Newtonsoft.Json.Utilities.DateTimeUtils")]
  4. Your type should now be available in the namespace: Megasware128.InternalToPublic

Note: editors seem to be glitchy but dotnet build always works

Build

  • Optional: run dotnet tool install nuke.globaltool -g
  • Use nuke --help or ./build.cmd --help to see the different commands
  • Use nuke test-app to test the generator
  • Use nuke pack to build a NuGet package
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • 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
0.1.0 375 1/14/2022