You are here

How to solve problems for applications that need .net framework?

4 posts / 0 new
Last post
Peter8087
Offline
Last seen: 4 years 5 months ago
Joined: 2013-07-06 12:43
How to solve problems for applications that need .net framework?

I have converted one program that requires .net 2.0 in portable format and i am running the program on Windows 7 x32. The program runs fine most of the time but sometimes just stops to work and i have to restart it to make it work again, and i think this is related to the .net framework.

For programs that required .net framework do i have to insert any command in launcher.ini or appinfo.ini to make the program run without problems?

Ken Herbert
Ken Herbert's picture
Online
Last seen: 7 min 57 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Issue lies elsewhere

.NET framework most likely isn't to blame - if there was something wrong with it, it generally just won't work instead of working sometimes but not others, and you'd likely see the issue with other programs.

I'd be more inclined to think the issue is instability in the base app, or there is a (much) smaller chance it is something the app requires seemingly randomly that your portable package isn't providing (eg. setting the working directory, giving admin rights etc.)

If you still think it is your .NET framework, try re-installing it, although I don't think recent Windows versions allow re-installation of embedded .NET versions.

Peter8087
Offline
Last seen: 4 years 5 months ago
Joined: 2013-07-06 12:43
So, i don't have to insert

So, i don't have to insert any additional command for programs that need .net framework?

Ken Herbert
Ken Herbert's picture
Online
Last seen: 7 min 57 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
Not to make them work, no

There is one setting in appinfo.ini for .NET ([Dependencies] UsesDotNetVersion), but right now it is purely informational and doesn't really do anything - in the future it will be used by the Platform to filter .NET apps in the Platform's app store once we start allowing them to become official.

Also once the Launcher can do its own .NET framework detection this value may also potentially be used to help warn users when using a .NET app on a computer that doesn't have the required version.

But otherwise, no, there aren't any settings that will actually affect the workingness of .NET apps within PortableApps (and likely never will be - .NET frameworks always install to a standard location, create standard registry entries, and we'll never have a portable version that should take precendence over a local version).

Log in or register to post comments