Coder Social home page Coder Social logo

Comments (6)

snakefoot avatar snakefoot commented on June 20, 2024

If you place the Snaketail.exe.config-file next to the SnakeTail.exe, then it should recognize that it supports all .NET runtimes.

See also: #160

from snaketail-net.

Mediumspider avatar Mediumspider commented on June 20, 2024

I saw that one, but that is not the issue for us.

The problem is a bug in our new corporate access control software and not SnakeTail.

(We've doublechecked by temporarily disabling it)

Upgrading snaketail to build with at least .net 4.0 works.

I can prepare the pull request with the necessary changes if that is of interest, but I can also just create a fork if you prefer to stick to .net 2.0

from snaketail-net.

snakefoot avatar snakefoot commented on June 20, 2024

What if you upgrade to .NET 3.5 ? (Instead of .NET 4.0)

from snaketail-net.

Mediumspider avatar Mediumspider commented on June 20, 2024

I tried 2.0, 3.0 and 3.5 and they all crashed.
However I did a bit more digging and succeeded in getting a crash-dump using ProcDump.exe, where I could see the actual error.

Mixed mode assembly is built against version ‘v2.0.50727′ of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

My guess is that the access control software injects some native code that crashes when it tries to load the native dll. A solution for me was to add the following to add "useLegacyV2RuntimeActivationPolicy" to the config file:

<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
...
  </startup>
</configuration>

It would be nice if this could be added to the config bundled with the official installer, but I acknowledge that ours is probably not a common use-case.

I'll inform our IT department about the workaround, and update our custom installers.

Sources:

from snaketail-net.

snakefoot avatar snakefoot commented on June 20, 2024

from snaketail-net.

snakefoot avatar snakefoot commented on June 20, 2024

Released version 1.9.8 - https://github.com/snakefoot/snaketail-net/releases/tag/1.9.8

It includes useLegacyV2RuntimeActivationPolicy="true" that should allow the applicaton to run without .Net Framework 3.5 being installed.

from snaketail-net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.