Always build with MSBuild, so we don't need to use .NET Core. Fixes #6
This commit is contained in:
Родитель
9cb44b2269
Коммит
6b8b26262b
|
@ -11,8 +11,6 @@ interesting projects:
|
|||
|
||||
## Building
|
||||
|
||||
_Make sure [.NET Core][netcore] is installed._
|
||||
|
||||
The root just contains a build script that will build all the other
|
||||
scripts. To build everything, just run the command-line:
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ var fontAssemblies = "./source/SkiaSharp.Extended.Iconify.*/bin/" + configuratio
|
|||
var buildSpec = new BuildSpec {
|
||||
Libs = new ISolutionBuilder [] {
|
||||
new DefaultSolutionBuilder {
|
||||
AlwaysUseMSBuild = true,
|
||||
SolutionPath = "./source/SkiaSharp.Extended.Iconify.sln",
|
||||
Configuration = configuration,
|
||||
OutputFiles = GetFiles(fontAssemblies)
|
||||
|
|
|
@ -7,19 +7,8 @@ var verbosity = Argument("verbosity", "Verbose");
|
|||
var buildSpec = new BuildSpec {
|
||||
Libs = new ISolutionBuilder [] {
|
||||
new DefaultSolutionBuilder {
|
||||
PreBuildAction = () => {
|
||||
// restore netstandard
|
||||
StartProcess("dotnet", new ProcessSettings {
|
||||
Arguments = "restore ./source/SkiaSharp.Extended.Svg.NetStandard.sln"
|
||||
});
|
||||
},
|
||||
PostBuildAction = () => {
|
||||
// build netstandard
|
||||
StartProcess("dotnet", new ProcessSettings {
|
||||
Arguments = "build -c " + configuration + " ./source/SkiaSharp.Extended.Svg.NetStandard.sln"
|
||||
});
|
||||
},
|
||||
SolutionPath = "./source/SkiaSharp.Extended.Svg.NetFramework.sln",
|
||||
AlwaysUseMSBuild = true,
|
||||
SolutionPath = "./source/SkiaSharp.Extended.Svg.sln",
|
||||
Configuration = configuration,
|
||||
OutputFiles = new [] {
|
||||
new OutputFileCopy {
|
||||
|
|
|
@ -7,19 +7,8 @@ var verbosity = Argument("verbosity", "Verbose");
|
|||
var buildSpec = new BuildSpec {
|
||||
Libs = new ISolutionBuilder [] {
|
||||
new DefaultSolutionBuilder {
|
||||
PreBuildAction = () => {
|
||||
// restore netstandard
|
||||
StartProcess("dotnet", new ProcessSettings {
|
||||
Arguments = "restore ./source/SkiaSharp.Extended.NetStandard.sln"
|
||||
});
|
||||
},
|
||||
PostBuildAction = () => {
|
||||
// build netstandard
|
||||
StartProcess("dotnet", new ProcessSettings {
|
||||
Arguments = "build -c " + configuration + " ./source/SkiaSharp.Extended.NetStandard.sln"
|
||||
});
|
||||
},
|
||||
SolutionPath = "./source/SkiaSharp.Extended.NetFramework.sln",
|
||||
AlwaysUseMSBuild = true,
|
||||
SolutionPath = "./source/SkiaSharp.Extended.sln",
|
||||
Configuration = configuration,
|
||||
OutputFiles = new [] {
|
||||
new OutputFileCopy {
|
||||
|
|
Загрузка…
Ссылка в новой задаче