MorganStanley.Crossroads
1.0.0-preview
Prefix Reserved
This is a prerelease version of MorganStanley.Crossroads.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global MorganStanley.Crossroads --version 1.0.0-preview
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local MorganStanley.Crossroads --version 1.0.0-preview
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MorganStanley.Crossroads&version=1.0.0-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package MorganStanley.Crossroads --version 1.0.0-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Crossroads (Packaging tool)
Description
Crossroads is a dotnet core commandline tool packager for developers. This is a generic solution to host any application within Crossroads package executable and further launches application's executable. Developers will specify arguments such as name, icon, version etc for branding during the package generation. The specified argument name will be used to rebrand the internal application.
Why Use Crossroads
Crossroads allows you to:
- create an executable package.
- customise your package with a name, icon, version and other attributes
- run applications through crossroads generated package
Installation
To install crossroads as a global dotnet tool:
dotnet tool install -g MorganStanley.Crossroads
To get the list of available commands:
crossroads --help
How to use
Package Notepad
crossroads package --name newnotepad --command "notepad"
Package Notepad and open a text file from include
crossroads package --name newhello --command notepad --args .\notepadtxt\abc.txt --location .\output --icon .\testicon.ico --version "2.2.2" --include ".\notepadtxt"
Package an application from include directory
crossroads package --name newhello --command ".\helloworld\helloworld.exe" --location .\output --icon .\testcion.ico --version "3.0.1" --include ".\helloworld"
Inspect a package
crossroads inspect --package ".\testapp.exe"
Show help
crossroads --help
Execute generated app
<appname>.exe
Execute generated with override arguments
<appname>.exe --args "new args"
How to Develop
Build the solution
dotnet build
Test and test with coverage
dotnet test
dotnet test -maxcpucount:1 -p:CollectCoverage=true -p:CoverletOutput="..\TestResults\" -p:MergeWith="..\TestResults\coverage.json"
Deploy
dotnet build -c:release
dotnet publish .\src\Crossroads\Crossroads.csproj -c:release --no-build
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.0.1 | 685 | 2/6/2023 |
1.0.1-preview | 602 | 2/6/2023 |
1.0.0 | 663 | 2/1/2023 |
1.0.0-preview.1 | 166 | 10/28/2022 |
1.0.0-preview | 447 | 7/14/2022 |