Skip to content

Instantly share code, notes, and snippets.

View SlowLogicBoy's full-sized avatar
😠
I ain't your Google or Stackoverflow

Simonas G SlowLogicBoy

😠
I ain't your Google or Stackoverflow
View GitHub Profile
@SlowLogicBoy
SlowLogicBoy / CSProjs.csproj
Created December 5, 2017 10:22
Nuget.Client repo with csproj.
<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>
#! "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,*"
@SlowLogicBoy
SlowLogicBoy / MyModulePatcher.csx
Last active April 21, 2017 13:08
Eto.Wpf merge issue
#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);
}
@SlowLogicBoy
SlowLogicBoy / MainForm.cs
Created February 13, 2017 06:28
Reloading Eto.Forms content while debugging
using Eto.Forms;
using Eto.Drawing;
namespace EtoApp1
{
public class MainForm : Form
{
public MainForm ()
{
Title = "My Eto Form";