how do I set an entity parameter to be UNIQUE in the entity designer?
how do I set an entity parameter to be UNIQUE in the entity designer? that is such that it will cause the database also set set a uniqueness constraint in the database too ...
how do I set an entity parameter to be UNIQUE in the entity designer? that is such that it will cause the database also set set a uniqueness constraint in the database too ...
Hi, how to I make a Navigation Property be mandatory in the EF designer? (e.g. make Node always have a NodeType) i.e. so that in the database the NODE foreign key to NODE_TYPE has to be set/have a value ...
Hi, I'm trying to get started with building my own webparts, planning to follow this MSDN article. I've downloaded Visual C# 2010 Express - I'm not quite at the point where I feel comfortable dropping 1000 big ones yet, and I installed Visual Web Developer 2010 Express via the WPInstaller. Following through the tutorial, aside from th...
Hi everybody. This error has been covered before in other questions, however not for a Visual Studio package. Could not find endpoint element with name 'WCFname' and contract 'WCFcontract' in the ServiceModel client configuration section. I have a VS package project that needs to connect to a WCF service that provides some functio...
I have a big solution with more than 40 projects. Almost half of them are test projects. In my project we use both Code Contracts, Code Analysis, Style Analysis. I want to be able to build the projects that are not dependent in parallel on my quad core CPU. How can I setup msbuild to build the projects in parallel? ...
I need to generate different assembly names depending on the platform target. For example, I have a console application "bob.exe". Instead of building for AnyCPU, I need to build explicitly for x86 and x64 and thus want "bob32.exe" and "bob64.exe". The Application tab in Visual Studio 2010 project options disables the Platform combobo...
Trying to get it to behave like C#, where there is a Program class with a static Main method. However, in the project properties, I cannot set Program.vb to be the startup object, only the forms (it is a forms application). Am I missing something? I am using the VS2010 and the latest VB. ...
I have many Visual Studio 2008 web projects targeted at the .NET Framework 3.5. I want to start using Visual Studio 2010, but the .NET Framework 4.0 isn't very well supported by web hosting companies just yet. It seems to make sense to stick with the .NET Framework 3.5 for now. If I open my projects in Visual Studio 2010 and leave the...
Hello, Could anyone please let me know if I could safely install VS-2008 on a machine which already has VS-2010? ...
I've encountered a problem with the new Visual C++ in VS 2010. I've got a header with the following defines: #define STC(y) #y #define STR(y) STC(\y) #define NNN(y) 0##y #define NUM(y) NNN(y) The intent is that you can have some constant around like #define TOKEN x5A and then you can have the token as a number or as a string: NUM...
Hi, I just started with VS2010 and the feature I was really looking forward too was the new Intellisense, and the Camel casing matching in particular. But I must say I'm pretty dissapointed with the way it works and am wondering if this is just a setting, or not. When I type 'OIE' I get the following results: OrderItemBackerEntity ...
I am trying to run the following code (which I got from here). The code just creates a new "Output" pane in Visual Studio and writes a few lines to it. Public Sub WriteToMyNewPane() Dim win As Window = _ dte.Windows.Item(EnvDTE.Constants.vsWindowKindOutput) Dim ow As OutputWindow = win.Object Dim owPane As OutputWind...
Its a two part question. How do i use SQL Server 2008? With Visual Studios? I started up a dummy project and with server explorer i tried with create new sql server database and add connection using my computer name (it came from a dropdown) as the server location. When i tried to create the database 'TestDB1' i got an error. I dont und...
I'm considering developing a medium-size project for a client in IronPython. It's a pretty straightforward replacement for an existing system I've been supporting for several years, so the specification is quite well defined and understood. This is my first significant IronPython and .Net project so I'm expecting a bit of a learning cu...
Picture says it all, it should currently be showing a file but as you can see its having issues drawing the content of the file. I have unloaded all addons and restart visual studio. If it mathers the previus project was a VS 2k8. New Info: If i wait a good 5min ( I have a Quad core I7 with 6gb ram, 295gtx. VS is running from a SSD...
I go and setup a service reference to something like http://localhost/myService/test.svc However, it apparently does some magic and in the *.disco file (and elsewhere) it ends up with http://mymachine.mydomain.com/myService/test.svc I'm trying to understand why this happens. Update: It seems they're trying to "help" but the IDE c...
I’m working on the build process for a VS 2010 solution and some projects within it target the .NET framework 4.0. As far as I know, to have this type of solution built by TFS 2008 we will have to change the version of the MSBuild.exe file used by the build agent – modifying the TFSBuildService.exe.config file, pointing MSBuildPath entry...
Is there some cool Moria like theme for Visual Studio 2010? Mine is highlighting gray font with gray background! I just can't configure it on Tools->Options->Environment->Fonts and Colors menu. Visual Studio doesn't seem to show an item for this "highlighting keyword/tag system". You select a variable on variable called myVar, and it...
Hi, Anyone recommend any good Entity Framework 4.0 books? Ideally in eBook/PDF form. That is the covers the latest version of EF and VS2010. thansk ...
I have a web setup project built using VS2008. I've converted my solution to VS2010 and now when I build my new installer and run the install from the MSI it installs fine, then at the last step, removes all the files it's just installed. I have RemovePreviousVersions set to true. If I turn this off the files remain in place (but I get ...