|
|
|
@ -464,22 +464,6 @@ public class Packages |
|
|
|
BasePath = context.Directory("./"), |
|
|
|
OutputDirectory = parameters.NugetRoot |
|
|
|
}, |
|
|
|
new NuGetPackSettings() |
|
|
|
{ |
|
|
|
Id = "Avalonia.Win32.Interoperability", |
|
|
|
Dependencies = new [] |
|
|
|
{ |
|
|
|
new NuSpecDependency() { Id = "Avalonia.Win32", Version = parameters.Version }, |
|
|
|
new NuSpecDependency() { Id = "Avalonia.Direct2D1", Version = parameters.Version }, |
|
|
|
new NuSpecDependency() { Id = "SharpDX.Direct3D9", Version = SharpDXDirect3D9Version }, |
|
|
|
}, |
|
|
|
Files = new [] |
|
|
|
{ |
|
|
|
new NuSpecContent { Source = "Avalonia.Win32.Interop/bin/" + parameters.DirSuffix + "/Avalonia.Win32.Interop.dll", Target = "lib/net45" } |
|
|
|
}, |
|
|
|
BasePath = context.Directory("./src/Windows"), |
|
|
|
OutputDirectory = parameters.NugetRoot |
|
|
|
}, |
|
|
|
/////////////////////////////////////////////////////////////////////////////// |
|
|
|
// Avalonia.LinuxFramebuffer |
|
|
|
/////////////////////////////////////////////////////////////////////////////// |
|
|
|
@ -500,12 +484,30 @@ public class Packages |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
var nuspecNuGetSettingInterop = new NuGetPackSettings() |
|
|
|
{ |
|
|
|
Id = "Avalonia.Win32.Interoperability", |
|
|
|
Dependencies = new [] |
|
|
|
{ |
|
|
|
new NuSpecDependency() { Id = "Avalonia.Win32", Version = parameters.Version }, |
|
|
|
new NuSpecDependency() { Id = "Avalonia.Direct2D1", Version = parameters.Version }, |
|
|
|
new NuSpecDependency() { Id = "SharpDX.Direct3D9", Version = SharpDXDirect3D9Version }, |
|
|
|
}, |
|
|
|
Files = new [] |
|
|
|
{ |
|
|
|
new NuSpecContent { Source = "Avalonia.Win32.Interop/bin/" + parameters.DirSuffix + "/Avalonia.Win32.Interop.dll", Target = "lib/net45" } |
|
|
|
}, |
|
|
|
BasePath = context.Directory("./src/Windows"), |
|
|
|
OutputDirectory = parameters.NugetRoot |
|
|
|
}; |
|
|
|
|
|
|
|
NuspecNuGetSettings = new List<NuGetPackSettings>(); |
|
|
|
|
|
|
|
NuspecNuGetSettings.AddRange(nuspecNuGetSettingsCore); |
|
|
|
NuspecNuGetSettings.AddRange(nuspecNuGetSettingsDesktop); |
|
|
|
|
|
|
|
if (parameters.Platform != "NetCoreOnly") { |
|
|
|
NuspecNuGetSettings.Add(nuspecNuGetSettingInterop); |
|
|
|
NuspecNuGetSettings.AddRange(nuspecNuGetSettingsMobile); |
|
|
|
} |
|
|
|
|
|
|
|
|