Webmatrix 2 Beta and Visual Studio 10 Issue - webmatrix

I just downloaded the Webmatrix 2 Prerelease Beta-
http://www.microsoft.com/web/gallery/install.aspx?appid=webmatrix&prerelease=true
I played around and made a database with some tables. Then I went to open up Visual Studio 2010 and I was prompted to install some missing components. That all went well except when the plaform installer tried to install ASP Razor 2 Syntax for Visual Studio. I get the following error-
"The product you are trying to install is not supported on your operating system. Click here for more information."
I click, nothing useful comes up. Has anyone seen this and know a solution? Or am I just a little too early and have to wait?
Thanks for your time.

This sounds like a bug in pre-release software. Could you report it here?
https://connect.microsoft.com/webmatrix/Feedback

Related

'VSPackage' package did not load correctly

I'm having this error pop up once I start Visual Studio professional 2013 with update 3.
I don't know whats going on and also when I created a web form and try to put items from the toolbox into a table in my code it doesn't let me. the items are dim and can't select them any more. before I would make a table and try to add Labels, textbox, etc and it wasn't a problem.
Visual Studio 2013 Update 4
Tools -> Extensions and Updates
Disabled "Release Management for Visual Studio 2013 v2.1".
That worked for me.
I got the same issue today, but the error message should be giving you some guidance.
Take a look at mine, it tells me to check the "ActivityLog.xml" for more information.
After looking at the entry my error showed me that it ocured the evening before around 5:30pm and I know I was installing the Visual Studio 2013 Update 4 at this time. So it seems I had a problem with my Update installation.
(Sorry maybe someone can school me on how to properly load an image for viewing)
So I realized my problem was an install issue I created, yours might be an add-on or something similar that you just updated your Visual Studio with that corrupted your VS.
So a little more researching and asking some buddies at work and we tried doing this step in another SO article, which should have the same effect of fixing our package loading problem also.
the Provider package did not load.
After running the steps listed there my Visual Studio started up without any obvious issue.
Hope this helps.
Open ActivityLog.xml in a viewer (I've used Microsoft Edge) and you'll find the error. VSPackage is the "Developer Analytics Tools" extension for me.
The error is gone after uninstalling that package. You can obtain the package and attempt to reinstall from the Developer Analytics Tools page in the Visual Studio Gallery.
I uninstalled and reinstalled Visual Studio and the problem went away for a little bit. It eventually came back complaining about different packages.
Then I noticed my home directory was encrypted. I decrypted the directory and the problem went away.
If it is not an encryption issue, I'd try just uninstalling and reinstalling VS 2013.
Message could be shown in case of "Path" environment variable longer than 2048 characters. In that case, system doesn't work proply with system paths like %windir%.
If it's your case, shorten "Path" environment variable and everything works again.

the service microsoft.visualstudio.shell.interop.iselectioncontainer already exists in the service container

I recently installed Visual Studio 2013 Ultimate version on my machine. I'm just trying to create a sample windows form project and trying to open the designer / form by double clicking on Form1.cs and I'm getting this weird error message:
"the service microsoft.visualstudio.shell.interop.iselectioncontainer already exists in the service container"
My system is already having Visual Studio 2010 which is working smoothly from a long time. I then installed Visual Studio 2012 which was giving the same problem as above. So I went ahead with installing VS 2013 hoping that I might be able to get rid of this issue, but no use.
Once I click OK on the error windows, I can see the following "message" in the bottom Error List window:
"The file 'C:\Users\ABCD\Documents\Visual Studio 2013\Projects\WebSite1\WindowsFormsApplication1\Form1.cs' does not support code parsing or generation because it is not contained within a project that supports code."
I have spent 2-3 days searching various blogs like these, all of which talk about previous version of Visual Studio like VS 2005 / VS 2008:
https://connect.microsoft.com/VisualStudio/feedback/details/311949/the-service-microsoft-visualstudio-shell-interop-iselectioncontainer-already-exists-in-the-service-container
Form inheritance in Visual Studio 2008 doesn't work
I have even tried uninstalling and reinstalling VS 2013, again no use.
It would be really great if someone can help me out in fixing this.
I've just had the exact same error message.
After compiling the solution(F6 or Build->Build Solution) it worked fine for me.
To deal with your issue, please first make sure that you installed latest updates on your Windows 8 machine, and then repair VS2013.
During your repairing process, please temporally turn off your anti-virus/antispyware software and repair VS2013 with the Administrator privilege.
follow this link
The problem got resolved finally, after so many days and various frustrating tries to resolve the issue. I should thank Tim Atkins from Microsoft for helping me with resolving this issue.
Fix: When we tried 'gacutil /l system.design', we found that there were 3 variants of system.design; One from .Net 2.0 targetting MSIL, second from .Net 4.0 targetting x86 and last one also from .Net 4.0, but targetting MSIL.
On a working machine, there were only 2 entries, the .Net 4.0 one targetting x86 wasn't there. Hence we uninstalled this version using gacutil which did the magic. I was so relieved seeing the win forms popping up without any errors anymore :)
I changed the target framework from 4.5 to 4.6.1 and it fixed it for me. My assumption is sometimes when you change target framework back and forth and the process does not go through all the way (cancelling in the middle of changing it) - something happens that leads to this error. Hope that helps
I solved this be closing VS, deleting contents of the .vs folder where my solution is, restarting VS and recompiling.
Seems like one of those file/settings/caching problems that pop up now and then, might be after switching source branch.
VS2019, .net fw 4.6.2.
If your C drive (Where you are installing Visual Studio) does not have enough space, try moving some files from the C drive to another drives.

entity framework not available in Visual Studio 2010

I have a strange error with Visual Studio 2010 in that Entity Framework doesn't work for me.
In the toolbox down the side the icon for the EntityDataSource (and several other components) shows a text snippet icon:
Then when I try to insert it via double clicking I just get a massive bunch of text inserted instead of the control:
I have tried installing the latest Entity Framework 4.1 standalone installer. I have also installed the Visual Studio 2010 SP1. I did have the SP1 RC installed before but the install notes for SP1 state clearly that you don't need to uninstall the RC before installing the final SP1.
I have been using Linq to SQL for a long time now and finally wanted to start learning EF so I am not sure how long this has been broken and I just haven't noticed.
It seems that the issue has occurred for others:
http://connect.microsoft.com/VisualStudio/feedback/details/622189/entitydatasource-control-is-missing-from-my-visual-studio-2010-ultimate-toolbox
But Microsoft closed the bug as not-reproducible. I commented on there about a month ago but nothing has been responded to.
As I stated in that thread I did try the fix suggested but it didn't work.
Does anybody have any idea what steps I can take to get this working?
It seems that the most obvious solution doesn't occur until after you have spent 10 minutes taking screenshots and posting up a question on SO.
I have just solved this issue by right clicking on the toolbox and choose Reset Toolbox.

VS2010 Crystal-Reports: "Invalid Keycode"

On a legacy product I successfully migrated to VS2010 about a month ago: When I open it today and try to launch the Crystal Reports editor I get an error "Invalid Keycode" and a blank editor screen.
VS2010
Windows 7, 64b
Most advice is pointing me towards "Reinstall VS2010" - but I've also found a few forum posts indicating a keycode fix or registry edit. I've tried a few of these, but I still get the error.
You've got to uninstall "Crystal Reports for Visual Studio 2010 - Beta x" and install the release version which can be downloaded from: http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0.exe.
The beta expired on 12/31/2010
Acording with SENC4ME said, You can try to change the date of your system, change it to Nov/01/2010. I had the same problem y when I changed the date the problem was fixed.
Crystal Reports is no longer included with VS2010. I suspect that might have something to do with it. Here's a blog post from the company that owns it now that tells you why you should be happy about that. I don't understand much of it, but then again I also don't understand why companies like SAP are still in business.
Reinstalling / repairing Visual Studio is the only thing that helped me.
I have suffered from this issue for the last 2 days.
I think this issue occurred before installing Visual studio 2008. I originally installed Visual studio 2010 and Crystal report V13.
Make a back up copy of registry files of business objects by right clicking on the business object, then select export and then execute the registry file to your target machine.
If your OS installed into different directory then you have to make change the path and the common directory.
See screen shot for more help:
Reinstalling Crystal Reports 13.0.18 works for me, but I have to do it after any session in VS2010 where I touch the reports. Next time I try it I get the Invalid Keycode msgbox. This is mildly irritating to say the least.

Error: The project type is not supported by this installation

I'm trying to open a silverlight project in Visual Studio 2008 and getting this error.
The project type is not supported by this installation.
Let me tell you I did installed:
VS2008
SP1
Silverlight Tools 3
Silverlight SDK
Silverlight
And they were installed in the sequence they are mentioned here. Still I'm getting the same error.
Adding some more details which might be helpful in identifying the cause:
When I try to create a new silverlight project it gives me error "Object reference not set to an instance of an object". And shows "...project creation failed."
I tried unistalling all of the things and installing them again. It really took a lot of time but didn't solved my problem.
Any help appreciated.
Open the project.csproj file with another editor, delete whatever you find between
<ProjectTypeGuids></ProjectTypeGuids>
I've had the same error when I tried to open a solution which required VB.NET, despite everything (to my knowledge) being C#.
If you've done a full install of VS then try this solution: http://andrewgunn.blogspot.com/2008/03/silverlight-project-type-is-not.html
Let us know how it goes.
Do you know who the silverlight project was created by? If so, then contact them and ask them if they used VS 2008 or if they used VS 2010 beta 1/2 (VS 2010 has a lot more and better support for silverlight so it's probable)
If they used VS 2010, then just go to the microsoft website and download you a copy... it's free(right now)
(and if you'll be doing much silverlight development, I'd recommend downloading it anyway. It has code completion for XAML!)
run devenv /setup

Resources