profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/oleg-shilo/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Oleg Shilo oleg-shilo Leica Biosystems Australia

oleg-shilo/cs-script 1106

C# scripting platform

oleg-shilo/cs-script.npp 163

CS-Script (C# Intellisense) plugin for Notepad++ (x86/x64)

oleg-shilo/cs-script.core 87

.NET Core port of CS-Script

oleg-shilo/codemap.vscode 40

Code map (syntax tree) of the active document

oleg-shilo/cs-script.vscode 22

VSCode extension for CS-Script

oleg-shilo/Favorites.vscode 12

VSCode extension for managing Favorites

oleg-shilo/CodeMaidPlus 10

A simple extension that attempts to address some shortcomings of rather excellent CodeMaid.

oleg-shilo/cs-script-sublime 8

Sublime Text 3 plugin for CS-Script

oleg-shilo/multiclip 7

MultiClip

issue commentoleg-shilo/wixsharp

Restrict Windows 7 OS

You can also have a look at the LaunchCondition sample but @Torchok19081986 suggestion to use OnBeforeInstall event will do the trick.

saiprabhur

comment created time in 20 hours

issue commentoleg-shilo/wixsharp

Conditional dialog

Well, if you are planning to use ManagedUI you can create your project from the Custom UI project template: image

Then in the initialization routine of your dialog in question, you can make a decision either show the dialog or to immediately jump to the next one.

DNatsheh

comment created time in 20 hours

push eventoleg-shilo/cs-script.npp

oleg.shilo

commit sha 997535c9912c0a016873564dab4cb355b109a9ca

Release v1.7.25.0 ---- - Added integration with .NET 5 edition of CS-Script.

view details

push time in 3 days

issue commentoleg-shilo/cs-script

Supports both .Net Framework and .Net 5

The best solution may be to migrate all the code to the .Net platform and persuade all customers to upgrade their systems.

Despite being a dramatic shift it is the right way of addressing the issues. Let's face it .NET Framework is over. But I do appreciate the gravity of such a decision when it comes to dealing with the existing customers 😢

yejinmo

comment created time in 3 days

issue commentoleg-shilo/cs-script

Supports both .Net Framework and .Net 5

Fody is making strong use of custom assembly probing and also packing the dependency assemblies in the executable resources section. These are very clever techniques and CS-Script is also using asm probing heavily.

Though Foddy has a defect - it does not set the Assembly.Location property for the assemblies it embedded. This screws any assembly/nuget package that relies on this property for their own assembly probing (e.g. CSScriptLib). Interestingly enough Fody author advice to migrate to .NET Core that hase "singel-exe" feature outof box. And... .NET Core documentation advice not to use this feature if your app is relying on Reflection (our case).

Anyway, I have implemented the work around by reading the assembly location from Assembly.CodeBase if Assembly.Location is empty.

You can get the updated hot-fix package from NuGet.

=====================

Though, about the use of resources as with Fody... I got burnt by it very badly just a few days ago :( I had to completely rework my assembly bundeling Fody-like solution for my Multiclip product on Chocolaty because it treats embedded assemblies as a melware sign. Really silly :(

yejinmo

comment created time in 4 days

created tagoleg-shilo/cs-script

tagv4.1.2.0-pre

C# scripting platform

created time in 4 days

push eventoleg-shilo/cs-script

oleg.shilo

commit sha e5785a4f6b8e97bd8b5579bbc61b681b5ed136a3

Release v4.1.2.0-pre - Issue #252: System.NullReferenceException: Object reference not set to an instance of an object. (updated API doc) - Issue #253: Supports both .Net Framework and .Net 5

view details

push time in 4 days

push eventoleg-shilo/cs-script

oleg.shilo

commit sha 6755bb38fb6ef5ebc9f6be6cf04811b39f3db006

Release v4.1.2.0-pre: - Issue #253: Supports both .Net Framework and .Net 5

view details

push time in 4 days

issue commentoleg-shilo/cs-script

Supports both .Net Framework and .Net 5

Done. The prerelease package can be obtained either from the releases page or from NuGet: https://www.nuget.org/packages/CS-Script/4.1.1-pre

yejinmo

comment created time in 4 days

created tagoleg-shilo/cs-script

tagv4.1.1.0-pre

C# scripting platform

created time in 4 days

push eventoleg-shilo/cs-script

oleg.shilo

commit sha dcbf11633661736d429a50b0d564730339f232de

Release v4.1.1.0-pre: - Issue #252: System.NullReferenceException: Object reference not set to an instance of an object. (updated API doc)

view details

push time in 4 days

push eventoleg-shilo/multiclip

oleg.shilo

commit sha 5e5738474693322b5093a5fcc0438e6ecf507d78

- restored minimalistic `Desktop.FireKeyInput`

view details

push time in 5 days

push eventoleg-shilo/multiclip

oleg.shilo

commit sha e3c42d5a0f682e2feee0f22ddee4e1ffd0afafa8

Release v1.4.1.1 - published on Choco

view details

push time in 5 days

created tagoleg-shilo/multiclip

tagv1.4.1.1

MultiClip

created time in 5 days

release oleg-shilo/multiclip

v1.4.1.1

released time in 5 days

push eventoleg-shilo/multiclip

oleg.shilo

commit sha 34ac1f1e9c08d9ce922343d0cc18afca163763a9

Release v1.4.1.1 - UI and server modules are separated to avoid false positive antivirus detection, which bluntly interprets binary file in the resource PE section as a threat. - All TotalVirus false-positives squashed to just 3

view details

push time in 5 days

created tagoleg-shilo/multiclip

tagv1.4.1.0

MultiClip

created time in 5 days

delete tag oleg-shilo/multiclip

delete tag : v1.4.1.0

delete time in 5 days

push eventoleg-shilo/multiclip

oleg.shilo

commit sha 615acb9c302f5210eb6d1e79a6bab43be288d11f

- All TotalVirus false-positives squashed to just 3

view details

push time in 5 days

push eventoleg-shilo/multiclip

oleg.shilo

commit sha f55c84449d644d5d57d38ff9e78eb8d6fc75df82

- Choco update

view details

push time in 6 days

push eventoleg-shilo/syntaxer.core

oleg.shilo

commit sha 1fc5a65bd25501ac65358abc53bb2001f0aba1cb

- published on choco

view details

push time in 6 days

push eventoleg-shilo/cs-script

oleg.shilo

commit sha 0faee649f6368f9f16cccfb4aeb9b3fff438fa8b

- various minor fixes and adjustment (housekeeping)

view details

push time in 6 days

push eventoleg-shilo/cs-script

oleg.shilo

commit sha c628cc2586f1812c8cb8533735f2cbf8c3bb29e3

- Issue #253: Supports both .Net Framework and .Net 5

view details

push time in 6 days

issue commentoleg-shilo/cs-script

Supports both .Net Framework and .Net 5

Solved. It is a very interesting and rather exotic side effect of assembly probing when invoking extension method of ReflectionExtensions class. On .NET Framework CLR only the methods of this class that are compatible with the runtime are invoked. Good. However, the whole class (type) itself has recently become dependant on AssemblyLoadContext because some other (.NET Core) methods have been added recently even though these methods are not invoked on .NET Framework.

A simple split of the class does solve the problem without even any change of the code:

// BEFORE
static class ReflectionExtensions
{
    public static void Method_for_net_framework(this string arg)
    {
    }
    
    static ReflectionExtensions()
    {
        var type = typeof (AssemblyLoadContext );
    } 

    public static void Method_for_net_5(this AssemblyLoadContext arg)
    {
    }
}

// AFTER
static class ReflectionExtensions
{
    public static void Method_for_net_framework(this string arg)
    {
    }
}

static class ReflectionExtensions_Dotnet_Core
{
    static ReflectionExtensions()
    {
        var type = typeof (AssemblyLoadContext );
    } 

    public static void Method_for_net_5(this AssemblyLoadContext arg)
    {
    }
}

Will prepare a hotfix nuget package on weekend.

yejinmo

comment created time in 6 days

push eventoleg-shilo/cs-script

oleg.shilo

commit sha 6e9f2faf579a90876e3b49ef079615543ef3f8c0

- Issue #253: Supports both .Net Framework and .Net 5

view details

push time in 6 days

issue commentoleg-shilo/cs-script

Supports both .Net Framework and .Net 5

It is a bug. The sample itself is also broken. Started working on it. Thank you for reporting

yejinmo

comment created time in 6 days

created tagoleg-shilo/multiclip

tagv1.4.1

MultiClip

created time in 6 days

push eventoleg-shilo/multiclip

oleg.shilo

commit sha c6e5fc85275804b811278d7976117bac2338f4b0

Added capturing clipboard content as an external process. Improves the stability.

view details

oleg.shilo

commit sha 27da110005206b9c3bf7ed5ebeccfee3c85e738f

Release v1.4.1.0 - UI and server modules are separated to avoid false positive antivirus detection, which bluntly interprets binary file in the resource PE section as a threat.

view details

oleg.shilo

commit sha 28741d6335852feb7de1f1e051bed00453c72cb9

- published on Choco

view details

oleg.shilo

commit sha bf18c9dbe800ec2351f736129046becb0c2b54d2

Merge branch 'no_server_deployment' of https://github.com/oleg-shilo/multiclip

view details

push time in 6 days