Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.
Jörg Sommer edited this page May 14, 2017 · 5 revisions

Welcome to the packaging of dotnet-core for Debian

Repos

How to build

% apt-get install cmake clang-3.9 
% for i in coreclr corefx core-setup buildtools bootstrap-deps; do git clone https://github.com/jo-so/debian-dotnet-$i; done
% for i in buildtools bootstrap-deps coreclr corefx; do (cd debian-dotnet-$i && dpkg-buildpackage -b); done
% sudo dpkg -i dotnet-*.deb
% (cd debian-dotnet-core-setup && dpkg-buildpackage -b)

Current tasks

Building managed code in core-setup

See in debian/rules the disabled code after ifeq (,). Currently, it fails, because a csproj is executed, which doesn't work on Linux. This has to be a call of dotnet msbuild or Tools/msbuild.sh.

/home/joerg/git/dotnet-core-setup/Tools/dotnetcli/dotnet /usr/lib/dotnet/bootstrap-tools/run.exe build
Running: /home/joerg/git/dotnet-core-setup/Tools/msbuild.sh /nologo /verbosity:minimal /clp:Summary /maxcpucount /l:BinClashLogger,Tools/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log /p:OSGroup=Linux /p:Architecture=x64 /p:DistroRid=debian.9-x64 /p:TargetArchitecture=x64  /flp:v=normal  build.proj 
  Restoring all packages...
  /bin/sh: 2: /tmp/tmp0cea283e60184d14b1232489de337825.exec.cmd: /home/joerg/git/dotnet-core-setup/src/pkg/deps/deps.csproj: Permission denied
/home/joerg/git/dotnet-core-setup/build.proj(60,5): error MSB3073: The command " "/home/joerg/git/dotnet-core-setup/src/pkg/deps/deps.csproj" " exited with code 126.
Clone this wiki locally