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.
Related
I would like to use Snoop WPF to help in developing and troubleshooting my applications' UI. The problem is, when I check the file on Virus Total, it says that it is infected, so I am not allowed to install it at work. Has else had problems with this download? Please see the report from Virus Total:
https://imgur.com/a/PUMvI
Does anyone have any suggestions?
Removed the SnoopInstaller project and after that it passed my company's antivirus scan. So now just build and run from source.
UPDATE:
Needed to install Visual Studio 2008 and sp1 because when you install this also installs all the required C++ redistributables.
Then I actually opened the Snoop.sln file in Visual Studio 2015, changed all of the ManagedInjectorLauncher project to .NET Framework 4.5.2, and started debugging Snoop.
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/)
I made the mistake of downloading the latest Silverlight runtime so that I could watch a video on Channel 9. Well now Visual Studio 2010 says it cannot debug Silverlight. The message it gives me is this:
Unable to start debugging. The Silverlight Developer Runtime is not installed. Please install a matching version.
What is it talking about and where to I get this so called "matching version".
I fixed this by uninstalling Silverlight 5 in the control panel and installing the Silverlight 5 Tools.
I am getting the following message when trying to create a new Silverlight application in VS2010RC:
This application was created for an expired beta release of Silverlight. Please contact the owner of this application and have them upgrade their application using an official release of Silverlight.
What do I need to do to resolve this issue?
The final releases of both Visual Studio 2010 and Silverlight 4 are available, so I suggest you "upgrade".
Now that Visual Studio 2010 & .NET 4.0 been officially released, the beta and RC versions will start refusing to work and instead posting messages like you are getting.
To avoid the error, you will probably need to install the RTM (Release-to-Manufacturing) versions of the Silverlight 4 SDK and the Silverlight Tools. At worst, you would need to upgrade .NET 4 and Visual Studio 2010 as well.
The Silverlight 4 Tools page may be the first place to find the latest versions. There is a link to download the Silverlight 4 SDK there, but I'm not sure if that's really the RTM version.
Also, note that often Microsoft expects you to fully uninstall the beta or RC versions of their software before installing the final version.
I am trying to get started doing some Silverlight development. I am interested in learning about the out-of-browser support. I can create and run Silverlight 3 applications just fine. I have confirmed that I have Silverlight 3 instead of Silverlight 3 Beta. I have been able to confirm this because my API list includes Application.InstallStateChanged instead of Application.ExecutionStateChanged.
However, I do not have the option to enable my application to run offline in Visual Studio. I can see this option in this blog post (http://johnpapa.net/silverlight/updated-silvertwit-code-for-msdn-magazine/). Unfortunately, I do not have the option shown or the Reduce XAP size option. I have downloaded the Visual Studio tools from here (http://www.microsoft.com/downloads/details.aspx?familyid=9442b0f2-7465-417a-88f3-5e7b5409e9dd&displaylang=en).
What am I doing wrong?
Thank you!
It looks like John Papa is using a new version of visual studio possibly the VS2010 beta.
Try this tutorial instead
http://wildermuth.com/2009/03/18/Enabling_Out-of-Browser_Support_in_Silverlight_3
or
http://blogs.msdn.com/katriend/archive/2009/07/10/silverlight-3-out-of-browser-applications.aspx
Corrupted Install
It looks like a corrupted install. Try uninstalling and then see Allen Chen's advice here:
http://silverlight.net/forums/t/83226.aspx including:
Silverlight3_Tools.exe /x:c:\temp /u to manually extract the SL 3 files and c:\temp\SPInstaller.exe to verify the tools install.
Use Blend
Also, If you have Blend 3 installed (preview here) you can enable Out of the Browser inside of Blend. See Project->Silverlight Project Options.
One thing might be that your Silverlight developer runtime got corrupted/overwritten. Try installing it once and see if it solves...
http://silverlight.net/getstarted/silverlight3/default.aspx