CI to automate build of dotnet tarball for dotnet6-sdk aport
https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/dotnet6-sdk
9d4887ef75
These changes fix many of the issues blocking our Ubuntu CI Build. Notably, it adds a postbuild step to the CI which cleans up file permissions on files created in Docker. This lets the next job delete those files successfully. It also accounts for docker instances which are left running after an aborted job. |
||
---|---|---|
ext/CLRHost | ||
package_tool | ||
scripts | ||
src | ||
test/TestApp | ||
.gitattributes | ||
.gitignore | ||
build.cmd | ||
build.sh | ||
debian_config.json | ||
global.json | ||
LICENSE | ||
Microsoft.DotNet.Cli.sln | ||
netci.groovy | ||
NuGet.Config | ||
NuGet.master.config | ||
README.md |
.NET Command Line Interface
Build Status
Ubuntu 14.04 | Windows | Mac OS X | ||||
---|---|---|---|---|---|---|
Debug | ||||||
Release |
Building/Running
- Run
build.cmd
orbuild.sh
from the root - Use
artifacts/{os}-{arch}/stage2/dotnet
to try out thedotnet
command. You can also addartifacts/{os}-{arch}/stage2
to the PATH if you want to rundotnet
from anywhere.
Notes
Right now the CLI uses DNX for NuGet restore.
Visual Studio
- Requires VS 2015 with Web Development Tools installed to open in VS
- Beta8 is available here and should work: http://www.microsoft.com/en-us/download/details.aspx?id=49442
- Install
WebToolsExtensionsVS14.msi
andDotNetVersionManager-x64.msi
- Install
- Beta8 is available here and should work: http://www.microsoft.com/en-us/download/details.aspx?id=49442
- Requires that you have a DNX installed (the build script should set it up for you though)
- Compilation is not required before building, but you must run
dnu restore
(which comes from the DNX commands) after changing dependencies. If you add/remove dependencies in VS, it will run it for you
Visual Studio Code
- You can also use Visual Studo code https://code.visualstudio.com/
A simple test
Note: The explicit --framework
and --runtime
switches will definitely be going away :)
cd test\TestApp
dotnet publish --framework dnxcore50 --runtime win7-x64