testNugetEdgarwwww.Test.WWW.Test.Test
0.0.9
See the version list below for details.
dotnet tool install --global testNugetEdgarwwww.Test.WWW.Test.Test --version 0.0.9
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local testNugetEdgarwwww.Test.WWW.Test.Test --version 0.0.9
#tool dotnet:?package=testNugetEdgarwwww.Test.WWW.Test.Test&version=0.0.9
nuke :add-package testNugetEdgarwwww.Test.WWW.Test.Test --version 0.0.9
cs2js - C# to JavaScript compiler
Cs2js is a modern fork of the original Bridge C# to Javascript compiler, updated to support multi-platform development using .NET 7.0 and .NET Standard 2.1 projects, while dropping support for legacy features and dependencies.
Cs2js intends to provide an integrated and faster development experience for our cross platform games. We're planning to experiment with new ideas to improve compilation speed (such as aggressive caching of emitted code), possibly integrating C# Source Generators) for even faster code generation, and migrating to a pure Roslyn based implemntation.
Package | NuGet |
---|---|
Compiler | |
.Net System Library | |
Core Library | |
SDK Target | |
Template |
Getting Started ⚡
Cs2js is based on netstandard2.1 & net8.0.
To get started with it, you can use the following project template
<Project Sdk="cs2js.Target/0.0.*">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="cs2js" Version="*" />
<PackageReference Include="cs2js.Core" Version="*" />
</ItemGroup>
</Project>
The Sdk target above (<Project Sdk="cs2js.Target/0.0.*">
) will automatically install (and update) the compiler as a dotnet global tool
. You need to update the version /0.0.*
to the latest package.
Don't forget to run dotnet restore
to fill the versions with the latest values. You can also manually install it with:
dotnet tool update --global cs2js-compiler --prerelease
You can also install a dotnet new template (latest version: ):
dotnet new --install cs2js-buildTarget::0.0.21601
And create a new project with:
dotnet new cs2js
Samples
The easiest way to get started is to check out some of the examples of using cs2js in this repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
This package has no dependencies.