dotnet.exe
against the Windows subsystem, and then conditionally create a console window based on some metadata in the project
dotnet publish
to create the host for us? basically a self-contained app
<RuntimeIdentifiers>win7-x64;OTHER_STUFF</RuntimeIdentifiers>
in your project
/p:RuntimeIdentifier=___
when building
dotnet.exe
renamed, though
.dll
next to itself with the same name, and then hosts the CLR and uses that dll as the entrypoint assembly
dotnet.exe
is and how many platforms you'd need to build for. That's why I am hoping we will come to some sort of conclusion in that issue I linked
Process.Start( FolderName)
FolderName
? seems weird to be passing that to Process.Start
UseShellExecute
defaults to false
in .NET Core instead of true, so we are attempting to launch that folder as an executable rather than create an explorer there
UseShellExecute
to true, or you could do Process.Start("cmd", $"/c start {FolderName}");
UseShellExecute
to false, so it doesn't work on .NET Core. You can set that manually in the ProcessStartInfo
or you can use the above command
@mellinoe
In my opinion the right thing to do is unconditionally link dotnet.exe against the Windows subsystem, and then conditionally create a console window based on some metadata in the project
That won't work
AllocConsole
will just allocate a new one
xdg-open
kernel32!AllocConsole
AllocConsole
?
NULL
, then call AllocConsole
it's not building for me on 2015 - is it 2017 only?
I made sure that PR is building on AppVeyor's VS2015.
GetLoadedAssemblies
in .net core? http://www.michael-whelan.net/replacing-appdomain-in-dotnet-core/
A stable release of a package should not have on a prerelease dependency. Either modify the version spec of dependency "SkiaSharp [1.56.1-beta, )" or update the version field.
An error occurred when executing task 'Create-NuGet-Packages'.
Error: NuGet: Process returned an error (exit code 1).
-something
postfix
--force-nuget-version=0.4.2-testbuild1
Create-NuGet-Packages
target should depend on Build
Run-Unit-Tests
BTW, we need to split that script
@kekekeks I can try to split cake build script
scenegraph
The .NET Core and ASP.NET Core workload is no longer in preview. We have fixed several bugs and improved usability of .NET Core and ASP.NET Core Tooling.
netstandard2.0
DllNotFoundException: Unable to load DLL 'libSkiaSharp':
?
context
?
@wieslawsoltes any chance of making xaml behaviours target .net core too?
@danwalmsley I have updated XamlBehaviors to latest Avalonia build
Visual Studio 2017 RC image has been updated to the latest RC3 (build 26127.03) released on February 1, 2017
[System.Runtime.InteropServices.DllImport("kernel32")]
static extern IntPtr GetStdHandle(int handle);
[System.Runtime.InteropServices.DllImport("kernel32")]
static extern IntPtr SetStdHandle(int num, IntPtr handle);
[System.Runtime.InteropServices.DllImport("kernel32")]
static extern IntPtr CloseHandle(IntPtr handle);
var stderr = GetStdHandle(-12);
var stdout = GetStdHandle(-11);
SetStdHandle(-12, stdout);
CloseHandle(stderr);
Console.SetError(Console.Out);
in the build task options
There is an option for continuing build, but it will still be marked as "partially succeded"
I don’t write a single line of code to build
From my point of view that's an awful thing
TypeConverter
s
@kekekeks
VS extension development have always been a mess
True story
brew
brew
anyway, we should be fine with using it for now
brew
is that it makes /usr/local/* writable by user acccount
SkBitmap::CopyTo
should be able to handle that
brew install gtk+3
Package Avalonia.Xaml.Behaviors 0.4.1-build329-alpha is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1) / win-x86. Package Avalonia.Xaml.Behaviors 0.4.1-build329-alpha supports: portable-net45+win8 (.NETPortable,Version=v0.0,Profile=Profile7)
One or more packages are incompatible with .NETCoreApp,Version=v1.1 (win-x86).
conditional tag
It will download a metric ton of binaries anyway
scenegraph
merged
user32!SetParent
, gtk_window_set_transient_for
, etc
GtkWidget.IsClosed
checks here: https://github.com/AvaloniaUI/Avalonia/blob/master/src/Gtk/Avalonia.Gtk3/TopLevelImpl.cs
Contributing
Before You Start
Drop into our gitter chat room and let us know what you're thinking of doing.
+ Measure(Size.Infinity);
+ Arrange(new Rect(DesiredSize));
async
tests. The Future is here
scenegraph
has to change though anyway
ClipToBounds
?
UserControl
then its contents don't need to be redrawn, just the layer with the new opacity
so if you e.g. change the opacity of a UserControl then its contents don't need to be redrawn, just the layer with the new opacity
I think that's how Chrome currently works
ClipToBounds
is true
, you can safely reduce the size of the layer
RenderTest
sample - it has proper geometry hit detection
WritableBitmap
from WPF
IRenderTargetBitmapImpl
s but this isn't good on D2D
IRenderTargetBitmapImpl IRenderTarget.CreateLayer()
which on D2D would create a D2D bitmap
IWindowImpl::Surfaces
SKGLLayer
?
<StackPanel Background="Red" Padding="10">
<Button Opacity = "0.5"/>
<MySuperControl ClipToBounds="False"/>
</StackPanel>
MySuperControl
expects to draw on top of that Button
which is now a separate layer
MySuperControl
MySuperControl
drawing on top of Button
is a valid scenario anyway
shadow*
prefixed properties
DirectComposition