This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Eto.Forms; | |
using Eto.Drawing; | |
namespace EtoApp1 | |
{ | |
public class MainForm : Form | |
{ | |
public MainForm () | |
{ | |
Title = "My Eto Form"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "Path\To\dnlib.dll" | |
using System.Diagnostics; | |
using dnlib.DotNet; | |
using dnlib.DotNet.Emit; | |
public static void LogErr(string format, params object[] args) | |
{ | |
Console.WriteLine(format, args); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! "netcoreapp2.0" | |
#r "nuget:NetStandard.Library,2.0.0" | |
#r "nuget:LanguageExt.Core,*" | |
#r "nuget:AgileObjects.AgileMapper,*" | |
#r "nuget:Microsoft.Extensions.DependencyInjection,*" | |
#r "nuget:Microsoft.Extensions.Logging,*" | |
#r "nuget:Serilog,*" | |
#r "nuget:Serilog.Extensions.Logging,*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>netcoreapp2.0</TargetFramework> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="NuGet.Client" Version="4.2.0" /> | |
<PackageReference Include="NuGet.Configuration" Version="4.4.0" /> | |
</ItemGroup> |