Menu

.NET Framework 4.5 only installed

sed wei
2016-06-26
2016-06-26
  • sed wei

    sed wei - 2016-06-26

    I am an IT Tech providing IT support for several small businesses. I have KeePass portable installed on my flash drive. It contains confidential info about my customers. I am coming across more new computers with windows 10 and KeePass will not run unless I install Framework 3.5. Since the computers belong to my customers and not me I do not feel comfortable installing 3.5 just so I can run this one app.
    Any plans to make KeePass run on newer computers that do not have the older framework 3.5 installed?

     
  • Dominik Reichl

    Dominik Reichl - 2016-06-26

    .NET 3.5 is not required to run KeePass; .NET 4.5 is sufficient.

    Please make sure that all the files of the portable ZIP package (from the http://keepass.info/download.html page) are on the flash drive. Especially, make sure that there is a file called KeePass.exe.config (this file tells .NET that KeePass is compatible with .NET 4.5).

    Best regards,
    Dominik

     
  • Paul

    Paul - 2016-06-26

    Try commenting out the non V4 runtime line in KeePass.exe.config (in the KeePass.exe directory).

    #       <supportedRuntime version="v2.0.50727" />
    

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2016-06-26

    Comments in XML look like <!-- commented out text -->.

    Anyway, I don't think commenting out this line will change anything. Like the tag name says, it just specifies a supported runtime, not a required one. Furthermore, support for the 4.0 runtime is declared first, which according to the documentation [1] means that .NET uses the 4.0/4.5 runtime if available, and only uses .NET 2.0/3.5 if 4.0/4.5 is not installed.

    Best regards,
    Dominik

    [1] https://msdn.microsoft.com/en-us/library/w4atty68.aspx

     
  • Horst

    Horst - 2016-06-26

    .NET 4.5 only may not be sufficient for some plugins

     
  • sed wei

    sed wei - 2016-06-26

    Solved
    The KeePass.exe.config file was missing from my KeePass folder.
    Works great now without 3.5 installed.
    Thanks Dominik

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.