The mapping for the solution could not found while opening silverlight application - silverlight-4.0

I am trying to open silverlight project. It has 12 projects inside.last two projects does not load properly. i am trying to reload those two project a pop up window opened and that is asking download silverlight runtime(silverlight developer.exe). while downloading this software it is giving error message : A 64 bit version of silverlight is already installed.
I closed visual studio i reopned same project again last two projects not loadded properly.
Can you please give me any suggestions why i am getting issue.

I think you developed the application in old version of silverlight. And you laptop/computer has now the latest version.
OR
You have corrupted silverlight runtime. So remove the current installation and re-install silverlight runtime again.

Related

Global Assembly Cache - Assembly Install required

I am currently updating a VB.NET application with Visual Studio 2013 that possibly was originally created on VS2010 or VS2012.
This application uses a Network SQL Database
Everything goes fine up to the point of installing when just shows an error message. that says the Assembly 'Microsoft.VisualBasic.Shell.9.0' version 2.0.0.0
is required and then will not let me finish the installation.
The project has been exported using the Visual Basic tool [OneClick]
I have already checked the References list on the Project menu, and is not included there. Also not available to be added.
The project requires the Microsoft Framework 4.5, so it seems that the Shell v2.0.0.0 is pretty old...
Do you have any suggestions, this kept me scratching my head already quite a while...
I finally figured it out.
I am not too sure if this is the right solution or not but it worked for me. Hopefully this will help someone else.
It turn out to be a error with the framework I was compiling the project (v4.5),
I was trying to install it on a Windows 7 machine with a framework installed up to v4.0. I cant understand why this error message showed up instead of telling me the framework version required for the software was not installed.
But anyways, I changed the version on the compiler, build and export again. Another error pop up but it was because references to the DLL for the different framework version were not included in the project. After including them and set the value for "Copy to Local" to true, the installation worked like a charm.
So I got my program up and working.

Umbraco 4.X on Mono / MonoDevelop

I'd like to grab the latest version of 4.X umbraco and get it working on Mono, and be able to edit (and build) the project in MonoDevelop.
There's a great video of someone running it here but no instructions. All I can find is an old and mostly out-dated detailed article as referenced by this SO post: MonoDevelop and Umbraco
I've tried downloading the latest Umbraco source, which since it's a web site project won't open on MonoDevelop, so I created a new web application and copied eveything from umbraco into that project. I then included all the umbraco files in the web app project and then added references to all the DLLs that were in Umbraco's bin folder. This compiled, but errors all over the place when I try to run anything - e.g.
System.InvalidOperationException
Current has already been initialized. It is not possible to re-initialize Current once it has been initialized.
Before I give up and go back to Visual Studio, can anyone advise?
It doesn't run on Mono out of the box, but a community member named Can Koluman has actually created a version that does work on Mono and is developing it further. Hopefully one day it has Mono support out of the box. Read more about it here:
http://our.umbraco.org/forum/core/general/32923-Umbraco-472-on-Linux?p=4#comment131290

NServiceBus - "project type is not supported" error in Visual Studio 2010

Installation of NServiceBus was smooth and straightforward. No issues there.
Now, I'm trying to play with a sample solution to see what happens behind the screens. Just trying to follow instructions here - http://docs.particular.net/samples/
And I get this error when creating an endpoint.
Reinstalled the VS add-in. Restarted VS 2010. No luck.
Any ideas?
It seems like you don't have the ASP NET MVC 3 project type installed on your environment. Please try installing ASP.Net MVC from http://www.asp.net/mvc/mvc3
If you have tried to install it using the Web Platform Installer Tool, be sure that you installed the right version and product (At least for me, it's easy to pick the wrong one with so many similar named products).

Unable to record Coded UI tests in Silverlight 4 application

Microsoft came up with a solution to support Coded UI tests in Silverlight 4 applications.
Proposed solution in 2 steps and I did it. Steps are:
Install Visual studion 2010 feature pack 2.
Added SilverlightAutomationHealper.dll to my Silverlight 4 project.
I build the project and tried to record CUI tests but failed. I found an error message
"No Silverlight controls were detected. Verify that the application under test is built using Silverlight assemblies wiht a version of 4.O or greater and that a reference to the Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper.dll assembly has been added to the project. For more information, see http://go.microsoft.com/fwlink/?LinkId=204562" raised.
This issue really annoying us, can anyone plese help me.
Thanks,
Jaji Alapati.
If your controls are named correctly (x:Name), then an other issue might be there with the test execution. If you use Internet Explorer to run tests, you have to run IE in compatibility mode (turn the compatibility mode on in the URL section of the browser). This might solve your problem.

Silverlight designer unhandled exception

When I create a new Silverlight Application (C# if that matters) using Silverlight 4 (with or without WCF RIA Services Checked) and open the MainPage.xaml in the designer I receive an Unhandled Exception has occurred. Stack is below. This is on an unmodified project.
I have uninstalled all Silverlight and reinstalled the tools listed above. I the same error when I open the App.xaml file as well. When I compile it completes without error, however when I run the application it always comes up that Silverlight is not installed.
I have installed Visual Web Developer Express 2010 (v10.0.30319.1 RTMRel) and Silverlight Tools for VS2010 (v10.0.30319.332) on a 32bit Windows XP machine. The IDE works fine in other regards, only issue seems to be with xaml files.
Anybody run into this?
System.NullReferenceException
Object reference not set to an instance of an object.
at Microsoft.Expression.Platform.Silverlight.SilverlightDomainManager.CreateDomainCore()
at Microsoft.Expression.Platform.Silverlight.SilverlightDomainManager.CreateDomainInitial()
at Microsoft.Expression.Platform.Silverlight.SilverlightPlatformCreator.Initialize()
at MS.Internal.Platform.SilverlightPlatformImpl.Initialize()
at MS.Internal.Package.VSIsolationProviderService.RemoteReferenceProxy.EnsurePlatformInitialized()
at MS.Internal.Package.VSIsolationProviderService.RemoteReferenceProxy.EnsurePlatformInitialized()
at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProvider(String originalIdentifier, Boolean isGlobal, String identity, FrameworkName frameworkName, AssemblyName appAssemblyName, IVsHierarchy hierarchy)
at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProviderWorker(String identifier, IServiceProvider provider)
at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProvider(String identifier, IServiceProvider provider)
at MS.Internal.Providers.VSDesignerContext.CreateIsolationProvider(IServiceProvider provider, IVsHierarchy hierarchy)
at MS.Internal.Providers.VSDesignerContext.<>c__DisplayClass1.b__0(IsolationProviderProxy i)
at MS.Internal.Providers.IsolationProviderProxy.get_RealProvider()
at MS.Internal.Providers.IsolationProviderProxy.add_UnhandledException(UnhandledExceptionEventHandler value)
at MS.Internal.Designer.DesignerPane.LoadDesignerView()
After hours of pulling my hair out I found the following post that led me on the path to solving my problem. I had to uninstall the standard version of silverlight and then install the developer runtime and it solved all my problems. Go Figure.
Posted by Microsoft on 2/26/2010 at
12:40 PM Is what is likely
happening is that you have the
standard version of the Silverlight
runtime and you need to install the
developer runtime for Silverlight.
Blend will install and run with the
standard verison of the silverlight
runtime, but Visual Studio requires
the developer version of the runtime.
This issue is fixed in the RTM version
of Visual Studio.
For now, if you hit this issue, please
install the silverlight developer
runtime from this link:
http://go.microsoft.com/fwlink/?LinkId=146060
download Silverlight_Developer.exe
Did you install the latest Silverlight SDK?
http://www.microsoft.com/downloads/details.aspx?FamilyID=40ef0f31-cb95-426d-9ce0-00dcfabf3df5&displaylang=en