Now that ASP.NET MVC 2 is out, I tried to install it on my development machine, which already has Visual Studio 2010 RC installed and I got this error message during installation
Component Microsoft ASP.NET MVC 2 has failed to install with the following error message:
"A different version of ASP.NET MVC 2 is already installed on your system. Please uninstall this version before proceeding with this install."
Sure enough, the MVC 2 release notes state:
Note Because Visual Studio 2008 and Visual Studio 2010 RC share a component of ASP.NET MVC 2, installing the ASP.NET MVC 2 RTM release on a computer where Visual Studio 2010 RC is also installed is not supported.
So my question is, though officially unsupported, if I uninstall VS 2010 RC, install MVC 2 then re-install VS 2010 RC, might this work? And would I then be able to target MVC 2 in VS2010?
See http://haacked.com/archive/2010/02/10/installing-asp-net-mvc-2-rc-2-on-visual-studio.aspx. This is unsupported, but the same general steps should work.
Related
As mentioned in the title I need to modify a very old project. It uses .NET 4 Framework and connects to a local SQLite database. I used Visual Studio 2012 to avoid compatibility problems.
I cannot open the .EDMX file - I get this error:
Error 10027: The XML namespace for the conceptual model's Schema element is not supported on this project's target framework version.
I tried to install Entity Framework 6 because I read that should resolve the problem, but I'm not able to find it anywhere.
How can I fix this problem?
After upgrading EF1.1 to EF2.0 now I'm not able to do migrations.
Error: Startup project 'QilinSystem.Store.Data.csproj' targets
framework '.NETStandard'. This framework is not intended for execution
and may fail to resolve runtime dependencies. If so, specify a
different project using the --s tartup-project option and try again.
How to solve this issue?
EF Core 2.0 Preview 1 requires Visual Studio 15.3 Preview, so you have to install it.
Announcing EF Core 2.0 Preview 1:
Accessing .NET Core tooling in Visual Studio requires Visual Studio
2017 15.3 Preview, Visual Studio for Mac or Visual Studio Code. More
information about this and download links can be found in the .NET
Core 2.0 Preview 1 announcement.
Visual Studio Preview FAQ:
Preview installs next to your stable Visual Studio IDE, allowing you
to use either independently.
I installed VS 2012 beta version and then installed Entity framework following this tutorial and it worked fine.
VS 2012 beta expired so i got VS 2012 Express. I tried to follow the same tutorial but now i don't have "Entity Framework Reverse Engineer Code First" in right-click project menu.
Is it a limitation in Visual Studio 2012 Express?
EF Power Tools are not available on Express SKU - you need at least Pro version. See this thread for more detailed answer: How to install EFPowerTool Beta on the right version of VS on my PC
I've seen this discussion on upgrading from a previous version of Visual Studio to VS 2008, that is distributed using ClickOnce. I'm wondering about going from VS 2008 to VS 2010. We used Crystal Reports XI Release 2, back when we wrote that original app. Now I'd like to upgrade it to VS 2010. However, on a previous project we also had to upgrade Crystal to Crystal Reports for VS 2010. if I update this project to VS 2010, I'm assuming I'll be forced to upgrade the version of Crystal as well. What issues do I face, upgrading an older version of a .NET app from .NET 3.5 SP1 to .NET 4, going from CR 11 R 2, to CR for VS 2010, and is deployed using ClickOnce?
When we upgraded the prerequisites of our ClickOnce applications, we changed the deployment accordingly and published it to a new URL. Then we took the old version of the application and added code to it so it would uninstall itself and then invoke the new installation from the new URL. This worked like a charm. You get your new prerequisites installed (if needed), and the app is installed with its new target framework (etc).
This article about certificate expirations has the code for doing the uninstall/reinstall. We've used it several times and it worked great. It even clicks OK on the uninstall dialog for the ClickOnce app. We even used a variant of this code to do an uninstall/reinstall of a VSTO application.
Environment: Vista, VS2010 SP1
Apologize if I seem to be repeating this but I have spent a day on this. Last ditch attempt before I reinstall VS2010!!
I tried
1. devenv /installvstemplates
2. uninstalled EF 4.1 and installed 4.0 CTP 5 and now it's not even opening VS2010. Asking me to install SP1 again!!
I used Web Platform INstaller to install SP1 and EF.
Most of the posts was on VS2008 and different scenarios. SO really not sure what happened here.
Thanks in advance for your time
-Soni