Silverlight version mismatch - silverlight-4.0

I just found out that LightSwitch 2011 is out. I tried to install it and found out that Visual Studio 2010 Ultimate Service Pack 1 is a pre-requisite. I installed the Service Pack and then it allowed me to install LightSwitch 2011. All well and good.
Now when I start a new LightSwitch project, it gives me an error that "Unable to find a version of silverlight development runtime installed. Please install the silverlight development runtime." and then there's the link. I click on the link, install whatever is required and the installation fails.
After trying a couple of options I got the response from MSDN Forums that I should uninstall everything and re-install. Tried that. Same error again.
Another response on msdn forums says that my silverlight runtime and developer package must match. I check and find out that they are different versions
Developer Package: 4.0.60129.0
Microsoft Silverlight: 4.0.51204.0
That's what's causing the problem. How can I upgrade both to the latest version and make them match?

I know this is an old post but I had exactly the same problems (12 months later!). What fixed it for me was quite simple.
Instead of following the error prompt to download the latest version of Lightswitch go directly to http://www.silverlight.net/downloads and install Silverlight 5 Developer Runtime for Windows (either 64 or 32 bit).
Hope this helps!

I deleted all entries of "silverlight" from the registry manually. It was a long and painful process. It still didn't work.
I had to reinstall Windows.
It finally works now. I was able to install the latest version of silverlight and work on LightSwitch 2011 finally.

Related

VS2015: The components for communicating with FTP servers are not installed

I have been using Visual Studio 2010 Pro for my vb.net desktop application development. I publish the apps via clickonce to a web server with ftp. My settings look like this:
Publishing folder location: ftp://www.webaddress.com/folder/
Installation folder : http://webaddress.com/folder/
This works perfect in VS2010.
I am now trying to upgrade to Visual Studio 2015 community edition. When I try to publish my app, I get the error "The components for communicating with FTP servers are not installed". I am getting this error on both computers I have installed VS2015 on.
Strangely enough, there isn't much info on this error. The only solution I've seen is to repair the installation. I did this but still a no go.. Another cause I read about is having Xamarin installed, but I have never had that installed.
Has anybody run into this and know what the fix is??
EDIT:
It appears to not actually have anything to do with installed components. After I posted this question, I realized the publish via FTP had worked earlier on a little sample Hello World project i made (brain fart). It was only once I loaded my existing project that this error started showing up.
I closed the solution, created another simple project, and still got the error. I closed visual studio, reopened the sample project, and ftp worked! I then opened my existing project and ftp worked there too?! So I don't know what the trigger is, and I haven't had it fail again yet, but maybe this info will help figure out what is causing the failure.
EDIT (3/30/2017)
Just an update - I am still having this issue. This issue happens on visual studio 2013, 2015, and 2017. I have tried reinstalling the c++ redistributable, still nothing. It seems others are having this issue with a web project but mine is a desktop app publishing with clickonce via FTP. It must be something to do with solution I am working on that was originally created in 2010, as the issue is not present in any other project.
I had the same issue with Visual Studio 2017. What fixed it for me was to start the Visual Studio Installer and install the ".NET Core cross-platform development" workload.
I had the same issue in Visual Studio 2015 / Update 3. It was resolved after installing the 32-bit version of Visual C++ Redistributable Packages for Visual Studio 2013 (https://www.microsoft.com/en-us/download/details.aspx?id=40784)
See also https://github.com/aspnet/Tooling/issues/748
I had the same problem with Visual Studio 2015. And Publish used to work fine so I went going crazy looking for and trying different solutions. Then I read on another thread of doing a Setup-> Repair (submitted by Erikest). I did a Setup->Repair and the publish process now works! I think it's also possible that the Repair not only did the trick on the FTP components but also replaced the C++ redistributable (often mentioned as a solution to this problem),
This is a total work around, but I've noticed I get this error every time I open my app (that originated in VS2010) and try to publish without first opening a sample app. I created a new project and published it to my FTP server. When I receive this error, I close Visual studio, reopen and the open the sample project, publish that app, then open my real app. The publish then works.
This works every time, and seems to be a bug in Visual studio, and probably has something to do with the fact that my app was originally built in 2010.
Maybe this will help somebody else with the same issue. It's a big pain so hopefully MS gets a fix in for this.
I have been banging my head against this problem for many months, re-installed VS over and over and just did a clean install of Windows 10 in the hope it would work but to no avail. By chance I cleaned some old .accdb files from the App_Data folder that I no longer need since I converted to SQL Server database and FTP publishing now works.
So it seems VS does not like the .accdb files but was happy with .mdb files when publishing with FTP.
As soon as I put the file back in App_Data the problem returns. Hope this is some help.
I had the same issue here, I was using the Publish right click option on the project, which had been working fine. What fixed it for me was going back through the publish options and re-testing the connection. Publish seemed to work after that. Maybe it forgot a password or settings?
I also installed the x86 C++ Redistribution Package.
Hope this helps someone who is in the same boat.
After many successful website publishes with Visual Studio 2015 Community Edition, we experienced the "components for communicating with ftp servers are not installed" issue. :(
First attempt at resolution was uninstalling VS Community 2015, then installing VS Community 2017. Received the same error: "components for communicating with ftp servers are not installed" when attempting to publish our business website.
With some work, we found that by uninstalling Microsoft Web Deploy and re-installing, this seemed to fix the problem. We can now use Visual Studio > Publish function to our ftp without problems.
See this link for download of Microsoft Web Deploy components.
https://www.microsoft.com/en-us/download/details.aspx?id=43717
Dont know what broke this VS IDE functionality, but hope this fix helps some.
I encountered the same error with Visual Studio 2019
I fixed it by using the Visual Studio Installer to install the Web Deploy (inc .netcore 2.1) under individual components
I just did a simple "repair installation" in the installer. Worked for me.
I am using Microsoft Visual Studio Community 2019 and had this problem for a while.
The problem went away after I updated about 10 NuGet updates that were over due.
I had the same problem, I closed all the open windows I closed Visual Studio and then I opened again and published and then it worked!

msbuild this application couldn't be started

i've got computer with Windows 8 and fresh installation of Visual Studio 13 Express.
I'm working on project which runs on .NET 4.0 Client profile.
Problem is when i try to complile, this error message is shown:
Solutions:
social.msdn : This one says:
try to restart your VS and rebuild - not working
check MSbuild from promt - not working (Message is shown twice)
I also checked project configuration vsproj and tried to make sample project
Reinstall framework:
i tried ot reinstall almost everything, framework, sdk.
when i've installed .NET Framerork v4.5.2 my VS was unnable to start and anoter .NET apps complied before had missing library
I haven't tried to reinstall VS, yet. (But i dont think if it helps)
Edit: Temporary solution shoud be Visual Studio Express 2012, but it not solves problem.
Reinstalaion of VS didn't help.

SignTool.exe Missing Visual Basic 2008

When I try to publish a project, the error shows:
Error 2. SignTool.exe Missing.
I searched on my computer for SignTool.exe, the file doesn't exist.
I installed the Windows SDK, that didnt work, the file still doesn't exist. Then I installed the .Net framework, Silverlight, then reinstalled the whole Microsoft Visual Basic.
The file still doesn't exist.
Where can i download SignTool.exe?
signtool.exe is part of the .NET SDK. You'll need to download that, which will install it into the proper location.
You should be able to find the .NET SDK with a search on MSDN. There's no point in posting a link here, because they change over time or as new versions are released. (You can also find it by searching Google for "dot net sdk", which returns many different links to the Microsoft pages.)
I had the same issue but installing the Windows SDK did not work for me (signtool.exe was still missing from my machine).
I stumbled across this solution: http://www.benedykt.net/2015/08/12/missing-signtool-exe-w-visual-studio-2015/
Basically:
Open Programs and Features
Select 'Microsoft Visual Studio [version]' and click Change
And select 'ClickOnce Publishing Tools' for installation

Visual studio 2013, can't open or create projects

I tried getting Visual Studio 2013 to work today but i couldn't get it to work. This is the error I keep getting when making a c++ window application.
The error message I keep getting:
I tried opening the vcxproj file in the message box, but I couldn't open that either. In fact I am unable to open any vcxproject's. This problem happens with pretty much all languages.
I uninstalled vs 2012 and 2010, and then installed vs2013.
I have tried :
reinstalling the nuget extension.
Reinstalling vs2013 a bunch of time and trying to repair the
installation
Uninstalling all traces of vs2010 and vs2012
one thing that might be important is that I used the november CTP c++ preview compiler for vs2012. I can't seem to uninstall it though
but nothing helped so far. Anybody able to help me?
I decided to bite the bullet and re-install windows 7. Everything works again. In the future I will probably avoid downloading CTP's though or be very careful about uninstalling them.
This happened to me when I installed .NET framework 3.5 manually to install "SQL Server Management Studio" as I recall, Then I found that v. 3.5 is incompatible with VS 2013 as this page mentioned:
VS 2013 Comparability
after I turned the related feature off, The problem with creating c++ projects disappeared ..

Why don't Windows SDK for Windows 7 and .NET Framework v4 get installed?

I have a Windows 7 64-bit computer with Visual Studio 2008 and Visual Studio 2010 Professional installed (C# only).
Now I want FxCop. I read first we should install Microsoft Windows SDK for Windows 7 and .NET Framework 4, so I wanted to do so, but it gives me error and says installation failed, go find more details in some HTML page in a folder path that it does not even exist:
Installation of the “Microsoft Windows SDK for Windows 7″ product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
So two questions:
I do not care about the rest of the stuff. I just want FxCop! Do I really need to install this SDK too?
What do you think is the problem when its installation fails?
I had a very similar problem. You don't need to install the SDK to do it. However, you still need to download it which is unfortunate as it is a pretty large download after all. Why it isn't a separate download is beyond me...
Anyway, I extracted the install files I needed by following the information in XXX.
In brief, you need to do this (edited from the link above):
Download the ISO version instead, extract it with 7Zip and locate
Setup\WinSDKNetFxTools\cab1.cab. Open it with Windows and copy out the
file
"WinSDK_FxCopSetup.exe_all_enu_1B2F0812_3E8B_426F_95DE_4655AE4DA6C6".
Rename this to "WinSDK_FxCopSetup.exe" and it should now install.
You can also browse the ISO image with suitable tools rather than unextracting the whole thing.
Given the date of this post, you might have already found the solution, but it may help others who come acros this issue.
From the page above there is a comment linking to another explanation that is better detailed: Liberate FxCop 10.0.