paintitblack Posted December 8, 2010 Posted December 8, 2010 I installed Paint.net on an older system, with Windows XP SP3. Then i got the .NET framework v4.0 and the startup time for Paint.net was quite okay. I needed some other programs that required the .NET framework(s) so i installed .NET 1.1, 2.0-3.5 too. Now it seems, Paint.net starts up much slower. Which version of .NET does Paint.net use in this situation (all .NET versions installed) ? Quote
Rick Brewster Posted December 8, 2010 Posted December 8, 2010 Startup time will be slower because NGEN was run with .NET 4. If you have any .NET 2.0 - 3.5 installed, then Paint.NET will use that instead of .NET 4. It's a technical limitation of the version dispatching system. Just rerun the Paint.NET installer and it will re-NGEN itself, and then startup faster. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
paintitblack Posted December 8, 2010 Author Posted December 8, 2010 Thanks for the clarification! With the Windows file cache and all, it's kind of hard to test application startup times. But your explanation is confirmed, - reinstalled Paint.net, Paint.net folders are now added to NativeImages 2.0.xxx folder in Assembly - loaded up the RAM with several other heavy applications (Windows file cache emptied) - started Paint.net, startup seems much better. Maybe it is possible to add a check, so that Paint.net will check the .NET version it is using, and check if NativeImages already exist for that .NET version? Quote
Rick Brewster Posted December 9, 2010 Posted December 9, 2010 Maybe it is possible to add a check, so that Paint.net will check the .NET version it is using, and check if NativeImages already exist for that .NET version? Not gonna happen. NGEN is a best-faith effort optimization. There are any number of reasons why the native images would be missing, and even then it still requires administrator privilege to generate them. It's not an error, it just results in lower startup performance.This is also an overly niche scenario, and in general it's not a smart use of time to optimize for those. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
paintitblack Posted December 9, 2010 Author Posted December 9, 2010 Yes i understand, maybe it's kind of a niche Although it seems to mee NGEN with the update and /queue options could do the trick quite easily. Quote
Rick Brewster Posted December 9, 2010 Posted December 9, 2010 Notice I said it requires administrator privilege. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
wiwa Posted January 13, 2011 Posted January 13, 2011 Notice I said it requires administrator privilege. im just askin but i dont know how to get the administration privileges Quote
Rick Brewster Posted January 13, 2011 Posted January 13, 2011 It depends on what version of Windows you're using. If you're on XP on your own home computer, then your account probably already has admin privilege. If you're using a computer at work/school, you may not. If you're on Vista or Win7, then the installer will automatically try to get admin privilege for itself via UAC (User Account Protection). It's the popup dialog that says "This program! Do you trust it! [Continue] [Cancel]" (well, look it up on google images or something to get a better idea of it). It's still possible, if you're using a work/school computer, that this simply may not be possible (most programs run at low privilege by default, and also by default accounts can launch new programs with admin privilege, which is called "elevation"). Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.