I just installed the beta for VS2010 Ultimate and I cannot locate the ADO.NET Entity Data Model template. I was under the impression that it as installed, can someone correct this or direct me where I can find it? Thanks.
I was running Visual Studio 2010 Ultimate and could not find the Entity Data Model wizard, so i installed Visual Studio 2010 Premium and voila, now I have Entity Data Model wizard.
For anyone viewing this question, I have figured out why. I have the VS2010 Ultimate Beta 2 and found that the ADO.NET Entity Data Model is not included, or never will be included.
I was told that VS2010 Premium, with less-capable features, has the ADO.NET Entity Data Model.
which sucks. >:|
EDIT:
I uninstalled Ultimate and halfway through the installation of the Premium edition, my colleague reassured me we wouldn't be using the EDM so I re-installed Ultimate (once again) and now it was there. To anyone else out there who has this problem, try what I did.
I think it might have something to do with the type of project you are adding the item to. I had some issues when I first installed so re-installed, without actually trying anything out.
When I wanted to add a model to a class library project at I first could not find it, however I then tried adding one to an existing WCF project, it suddenly appeared. I then went back to my library project and ta da! it was there also.
Not sure what caused this or if this is of any help to peeps reading this, but there it is, my experience with 2010 and EDM...
Related
I have serious problem with my modeling project, created in Visual Studio 2010. Today I was renaming my project and solution name and path's. And now it throws me some kind of error, when I wish to open any diagram. And then i role everything back to the first settings, but still the same.
Error:
Cannot load
'C:\Users\Klemen\Trgovina\Knjiznica\UMLUseCaseDiagram1.
usecasediagram': You must open this UML diagram inside the Visual
Studio modeling project that was used to create it.
Does anyone know, how to make my project work again?
Thanks
Do you have any Add-On/Plugin ? I had a conflicting add-on and after removing it, it is working again.
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.
I finally found some resources and a solution. I will share it here.
It is documented here that this indeed is a feature and not a bug.
In this excellent series of blogs you can find anything you always wanted to know, but never dared to ask about SQLServerCompact 4.0
The author of these blogs has made a wonderful Add-In for Visual Studio 2010 that adds Entity Data Model wizard functionality to create a model from a SQLServerCompact 4.0 database for any type of project.
I am experimenting with the database project in Visual Studio 2010. The schema diff and management of scripts looks great, but where are the database diagrams? I would like to design the tables visually, but still make use of the versioning/comparison/deployment tools in VS2010. I didn't see any option in the database project to create a diagram. Is that not supported?
You could create the diagrams in SSMS (or another diagramming/modelling tool) as you would do normally, and synchronize the structure back to your Visual Studio Database Project, although you'll need the Premium or Ultimate version of Visual Studio to use this feature.
I'm not sure if this is what you are looking for,
but I suggest you add an Entity Diagram (Entity Framework) to your
project / solution. This will allow you to design/describe your data model(s)
either by drawing them visually or by importing an existing database schema.
Entity Framework information:
http://msdn.microsoft.com/en-us/library/aa697427(VS.80).aspx
Tutorial (for EF 2.0 but still relevant)
http://blog.garypretty.co.uk/index.php/2009/05/20/tutorial-entity-framework-v20-model-first-using-visual-studio-2010-and-net-40/
I hope this helps you get started
There certainly is diagramming support.
Open the "Server Explorer"
Create/open a data connection.
You should see "Database Diagrams", which will function very similarly to the same function in SQL Server Management Studio.
Bam.
Note, I'm referring to V2010 Ultimate.
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