Where can I download WPF Performance Suite for Windows 8 - wpf

The WPF Performance Suite is described here:
http://msdn.microsoft.com/en-us/library/aa969767.aspx#installing_the_wpf_performance_suite
-> how can I install it on Windows 8?
(the Windows 7 SDK can't be installed and the Windows 8 SDK contains Performance tools such as GPUView but not the WPF profilers "Perforator" and "Visual Profiler".
I googled several hours for it but didn't find anything.

Ok, I have it running under Windows 8, but afaik only for framework 4.
Download the tools (link borrowed from Athari above)
Install and it test. Select visual profiler and attach to a process. If it doesn't appear to work, download this patch from MS.
After installing the patch I now have it working again. This is on Windows 8 pro running on a Dell XPS 17 i7 based machine.

it comes as a pack of Windows Performance Toolkit (WPT) v5 for Windows 8
http://social.msdn.microsoft.com/Forums/en-US/wptkv5/thread/090ed47a-f253-4c5a-8dc8-a7923e839815
here is the download
http://www.microsoft.com/en-us/download/details.aspx?id=30652

I managed to get everything downloaded and working under Windows 10 with a .NET 4.5 WPF app.
Follow instructions from Microsoft at Where to Download WPF Performance Suite? (Perforator, Visual Profiler). You need to install both the app, and its timezone patch.
You must run the WPF profile app before you run the target app.
Try running the target app as Administrator. It needs elevated privileges, or else it will not appear in the Select Process dialog.
If you cannot run the target app as Administrator, then you can still use
Actions..Launch Process to launch it.

Visual Studio 2015 comes with "Timeline", which by my estimation roughly provides the same features as Visual profiler. It can profile WPF on .net4+, including 4.5, 4.6.
It can be started by
To profile a WPF application in Visual Studio 2015 CTP 5, open the Performance and Diagnostics hub from the Debug -> Start Diagnostic Tools Without Debugging (ALT+F2) menu. Select the Application Timeline tool and click Start (You can also run the CPU Usage tool alongside the Application Timeline tool).
(Source: https://blogs.msdn.microsoft.com/wpf/2015/01/16/new-ui-performance-analysis-tool-for-wpf-applications/)

Related

unable to find a version of silverlight developer runtime installed

In the following environment:
-VS2012
-Windows 7 64bit
-Microsoft Silverlight 5 SDK
I have created a few lightswitch applications in VS2012 but I am running into an error when attempting to create a new one or open an existing lightswitch project. I receive a pop-up that says "unable to find a version of silverlight developer runtime installed".
There is a link on the pop-up which starts a download but after downloading it, I still receive the same error.
I was able to fix the issue by doing the following :
I went into "Uninstall a program" and noticed that I had 4 different Silverlight related items installed.
Microsoft Silverlight
Microsoft Silverlight SDK3
Microsoft Silverlight SDK4
Microsoft Silverlight SDK5
I just uninstalled the first item, "Microsoft Silverlight" then reinstalled the appropriate (32 or 64 bit) Microsoft Silverlight SDK5 from the following link: http://www.silverlight.net/downloads .
Don't use the link that is given in VS 2012. Doesn't work.
I have a slight different solution for Visual Studio 2010. After uninstall the current Silverlight Runtime, I got it to work if I download it from Visual Studio suggested url.
The best way I have found to find the most current Silverlight 5 Developer Runtime or End-User Runtime, is to search the downloads for the latest Silverlight bits. All other suggestions seem to take you on a wild goose chase depending on what version of Visual Studio or OS you are using.
Search Microsoft Downloads
Just look for the latest "Security Update for Microsoft Silverlight" entry.
The Silverlight Security Update KB2890788 is what fixed it for me, after trying uninstall and re-install without success.

Windows forms app (visual studio 2010) compatibility issues

My task is to make a simple application that connects to the internet (using Wininet) and downloads a text file. It then displays the data in a listBox widget. The requirement was to make a GUI based application, so I used Windows Forms in Visual Studio Express 2010.
The application runs fine on my PC, however I realized that it runs only on my PC. I installed .Net 4 and Visual Studio 2010 redistributables on another PC and it worked fine there. Now, the person for whom I'm making this wants maximum compatibility on windows PCs. I'm totally stuck here.. should I switch to an older version of VSE?
From what I could search, using /MT instead of /MD would cause the application to link statically, however my app also uses /CLR and these are incompatible.
Any ideas?
Note: I've previously made a similar app (downloading and displaying) with console output and it works perfectly fine everywhere.
Dependens on what is meant by "maximum compatibility on windows PCs". If you can bundle the required redistributables, your program should run (as you found on the second PC), as long as the windows on the PC is capable of executing the binaries (e.g. not a 32 bit PC trying to execute 64 bit binaries)
I have been in your situation.
I can give you my free .NET-application-runner (RunNetApp.exe) that automatically installs .NET Framework 4 before running your application for the first time. If the framework is already installed on target machine, it only runs your application.
I also suggest changing application's framework to ".NET Framework 4 Client Profile". It's setup is about 40MB (in comparison to 200MB of full ".NET framework 4").
Is it helpful?

debug an xbap on firefox?

I am starting to write an xbap (wpf web app).
I create a new project and run it and Firefox fails (it just keeps trying to open it with "Windows Presentation Foundation Host).
I know that Firefox and Microsoft don't really see eye to eye, but surely there is a way to do this now days?
Saw this post that shows a hack of copying out a DLL from a Windows XP machine. But my users will not do that (I don't even want to do that!)
Does this mean I have to abandon Firefox as my default browser until I am done developing my xbap?
NOTE: I am using Windows 7 and Visual Studio 2010 Ultimate and Firefox 3.6.12
I don't know what exactly your problem is, but here is a Scott Hanselman blog post detailing a WPF application deployed as an XBAP (not XBAB) using VS 2008 with .NET 3.5. It doesn't say anything about WPF 4 (and the .NET 4 runtime, the post is from 2008) or what version of Firefox he was playing with but I hope this demonstrates it is possible and gives you a starting point for more detailed investigations.
Edit - Well, I should have dug a little deeper. It appears that Windows 7 won't support XBAPs in FireFox. There is a Firefox Add-on to Support XBAPs and Loose XAML that is installed with the .NET 3.5 runtime but it is not included in Windows 7 and this link suggests it can't be installed on Windows 7.
You could run IE Tab Plus (Firefox plug-in) and get it to default to IE when you open something from the localhost.

Does not recognize Silverlight 4.0 Install

I am running Win 7 64-bit. I a running IE 9 beta (9.0.7930.16406 )I upgraded to Silverlight 4.0 and for some reason now it does not recognize that I have it installed when I go to Silverlight required web sites.
In my control panel – it clearly states that I have 4.0 installed. I uninstalled and reinstalled this as well. However when I go to sites that require silverlight it does not recognize that have Silverlight installed. And of course when I try to click on install Silverlight I get the following error: "The same version of silverlight is installed"
Interesting information – I was able to create another account on my computer and get things working. So this is something tied to my login ID. And yes I am admin on this box.
Any ideas?
Are you launching the 32-bit or the 64-bit Internet Explorer process? Silverlight only works in 32-bit browsers.

How can I inform the user of an XCOPY WPF 4 app that he needs to install .NET 4?

I've made a small tool application with Visual Studio 2010 which to distribute it, I zip these files from the Release folder:
Data
MainData.mdf
MainData_log.ldf
DataBackup.exe
DataBackup.exe.config
FluidKit.dll
then unzip them on the target machine (no installation).
When I run it on a Windows 7 machine with .NET 4 installed, it runs fine.
When I run it on a Vista machine with .NET 3.5 installed, it gives me this default error message:
In order to run this appication, you
need to install the following version
of .NET: v.4.0.21006 To learn how to
install this version, contact the
distributor of this application.
When I run it on an XP machine with .NET 3.0 installed, it gives me an error that doesn't that the application cannot start but doesn't mention installing .NET.
Is there anyway that I can intercept these messages to e.g. give a nice-looking, custom message with install instructions and a link to the .NET 4 download?
I think that the only solution is to make a small non-.NET application that checks if the .NET Framework is installed, and if so, launches your .NET application. For the framework detection part, see for example here: http://www.codeproject.com/KB/dotnet/DetectDotNet.aspx
Check out the Application.DispatcherUnhandledException Event... maybe you could globally catch the exception and inform your user in there about having to install .NET 4.0. Probably this can help you determine what .NET platform versions are installed, and maybe even avoid using the .NET 4 features if you see that the client machine does not have it.

Resources