Comments (6)
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.
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.
What if you upgrade to .NET 3.5 ? (Instead of .NET 4.0)
from snaketail-net.
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:
- https://stackoverflow.com/q/6425707/5686117
- https://stackoverflow.com/questions/1604663/what-does-uselegacyv2runtimeactivationpolicy-do-in-the-net-4-config
- http://web.archive.org/web/20130128072944/http://www.marklio.com/marklio/PermaLink,guid,ecc34c3c-be44-4422-86b7-900900e451f9.aspx
from snaketail-net.
from snaketail-net.
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)
- Add option to export Bookmarks features HOT 1
- Console Virtual Terminal Sequences HOT 2
- Hit count in window title not work HOT 1
- Double-Click of .log file opens application, but it does not respect Window Size or Position in XML file
- Log files get stale HOT 2
- [1] Doesn't Remember Recents & [2] Can't Select Text [3] Doesn't remember size/Position [4] Tray Options HOT 4
- Un-/zoom with CTRL + mouse wheel HOT 2
- Auto wordwrap needed HOT 1
- Dark mode? HOT 1
- No CMD way? HOT 2
- Crashes if the file in a session is unreachable HOT 5
- Feature Request: Copy / Paste HOT 1
- What does Display Tab icon on log change do? HOT 7
- Feature Request 🔎 Highlight lines HOT 3
- Add support for Windows 11 HOT 5
- Tab icon on log change inconsistent HOT 2
- Enhancement request: Add filter to hide nonmatching lines
- Command line options for window state and tab tiling
- Installer does not act on TARGETDIR or INSTALLDIR will not install in to path given HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snaketail-net.