c860af3c4d | ||
---|---|---|
apps | ||
build | ||
scripts | ||
src | ||
tests | ||
utilities | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
Core2D.sln | ||
LICENSE.TXT | ||
NuGet.Config | ||
README.md | ||
_config.yml | ||
appveyor.yml | ||
build.cake | ||
build.ps1 | ||
build.sh | ||
circle.yml |
README.md
Core2D
A multi-platform data driven 2D diagram editor.
About
Core2D is a multi-platform application for making data driven 2D diagrams.
Data Formats
- The project models is stored as
Json
inzip
archive. - The project images are stored as files in
zip
archive. - Resources are defined as
Json
orXaml
. - The
Json
format is supported for imported and exported resources. - The
Xaml
format is supported for imported and exported resources. - Database records are imported, exported and updated as
csv
. - The clipboard data is stored as
Json
string.
Supported Platforms
Windows 7 SP1 or higher
usingCore2D.Wpf
orCore2D.Avalonia
project.Linux
usingCore2D.Avalonia
project.macOS
usingCore2D.Avalonia
project..NET Core
supported platforms usingCore2D.Avalonia
project.
The core libraries are portable and should work on all platforms where C# is supported.
Building Core2D
First, clone the repository or download the latest zip.
git clone https://github.com/wieslawsoltes/Core2D.git
git submodule update --init --recursive
Build using IDE
- Visual Studio Community 2017 for
Windows
builds.
Open Core2D.sln
in selected IDE and run Build
command.
Build on Windows using script
Open up a Powershell prompt and execute the bootstrapper script:
PS> .\build.ps1 -Target "Default" -Platform "AnyCPU" -Configuration "Release"
Build on Linux/OSX using script
Open up a terminal prompt and execute the bootstrapper script:
$ ./build.sh --target "Default" --platform "AnyCPU" --configuration "Release"
Build using .NET Core
- .NET Core for
Windows
,Linux
andmacOS
builds.
Open up a Powershell prompt and execute:
cd apps/Core2D.Avalonia
dotnet restore
dotnet build
Open up a terminal prompt and execute:
cd apps/Core2D.Avalonia
dotnet restore
dotnet build
Publishing self-contained .NET Core application
You can publish self-contained Core2D
application and all of its dependencies for one of the .NET Core supported runtimes. Below are few command-line examples.
Open up a Powershell prompt and execute:
cd apps/Core2D.Avalonia
dotnet restore
dotnet publish -r win7-x64 -o win7-x64
Open up a Powershell prompt and execute:
cd apps/Core2D.Avalonia
dotnet restore
dotnet publish -r win7-x86 -o win7-x86
Open up a terminal prompt and execute:
cd apps/Core2D.Avalonia
dotnet restore
dotnet publish -r ubuntu.16.10-x64 -o ubuntu.16.10-x64
Package Sources
- https://api.nuget.org/v3/index.json
- https://www.myget.org/F/avalonia-ci/api/v2
- https://www.myget.org/F/xamlbehaviors-nightly/api/v2
- https://www.myget.org/F/panandzoom-nightly/api/v2
- https://ci.appveyor.com/nuget/portable-xaml
SkiaSharp
The libSkiaSharp.dll
from SkiaSharp package requires Microsoft Visual C++ 2015 Redistributable installed or included as part of distribution. License terms for redistributable
MICROSOFT SOFTWARE LICENSE TERMS, MICROSOFT VISUAL STUDIO COMMUNITY 2015 and information about Distributable Code for Microsoft Visual Studio 2015.
Required Visual C++ Runtime Files
Projects referencing SkiaSharp
require Visual C++ Runtime Files
from Visual Studio Community 2017
.
x86 Platform
c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.10.25008\x86\Microsoft.VC150.CRT\msvcp140.dll
c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.10.25008\x86\Microsoft.VC150.CRT\vcruntime140.dll
x64 Platform
c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.10.25008\x64\Microsoft.VC150.CRT\msvcp140.dll
c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.10.25008\x64\Microsoft.VC150.CRT\vcruntime140.dll
Resources
License
Core2D is licensed under the MIT license.