visual-studio-2010

VS2010 for Windows Phone 7 & Blend crash with Mvvm-Light

This is not really a question, but an assertion. Posting this so that others can avoid this problem. If you use Mvvm-Light (and maybe other Mvvm frameworks) and have code in your ViewModel that runs on a thread other than the UI thread, VS2010 and Exression Blend will likely crash when trying to view/edit your XAML in design mode. For ...

what's the latest version of VS2010?

Is the Version 10.0.30319.1 RTMRel latest? ...

Creating and manipulating EF1 data model in Visual Studio 2010

I'm working on a project which requires me to work with .Net Framework 3.5 SP1 and not 4. My primary tool is Visual Studio 2010. I want to use Entity Framework as my data layer (since there's a nice and quick designer to work with in Visual Studio; other ORMs don't have this privilege so you have to do it pretty much manually - code or ...

Can't find a good clean way to increment file version with each release build in vs2010

I have this sample configuration in my assemblyinfo file. // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("3.1.0.*")] [assembly: AssemblyFileVersion("3.1.0.0")] Once I rebuild, I get this: Filev...

Migrating TFS 2008 to 2010 shows some problem with build

Hi All, I have migrated visual studio and TFS from 2008 to 2010. All the code is working perfectly. The only problem I am facing is related to build. To be precise for 'Build Defaults' property of builds. Along with migration we have also migrated server. In build definition its showing old Build controller and I am not able to chang...

Create entire DataSet from existing stored procedure

Hi, I have stored procedures (they accept parameters) that return multiple result sets and I'd like to have this saved in a typed dataSet. The question is: can I have Visual studio 2010 generate the typed dataset based on stored procedure? I know I can have this for a single table, but I need the whole dataSet (multiple tables, one for...

Visual Studio using old files

I opened Visual Studio, and received around 100 errors on trying to compile. Things including 'variableName is not identified', even in functions defined in the header file where the variable is...And right-click go to definition shows it correctly; using old copies of my files, meaning there were compile errors where templates had been ...

Visual Studio 2010

I'm using Visual Studio 2010 Version 10.0.30319.1 RTMRel. I'm also working with XAF (the application framework from DevExpress). I right-click a Model.xafml (XML) file, choose "Open With...", then choose "Automatic Editor Selector (XML)" in the "Choose the Program..." list. I click "Set as Default". The default changes as expected. ...

Using emacs extension in Visual Studio 2010, disables auto indent

Hi, I recently installed Visual Studio 2010 for my c++ course at school. Im very used using emacs scheme in netbeans and eclipse, its hard wired into my brain, the hotkeys. At my frustration, after installing the emacs scheme (the extension) for visual studio 2010, and also enable the keymap via tools -> options -> keyboard, the auto i...

XML Comment Viewer Add-in for Visual Studion 2010??

Wondering if anyone knows if the feature to allow add-in's for Visual Studio 2010 xml comment viewer was cut in the final release?? What I am talking about specifically is this: I took this image from this page on MSDN (http://msdn.microsoft.com/en-us/magazine/dd722812.aspx) I can't seem to find even one addin with this functionality,...

Making a Windows shell extension in Visual Studio 2010

I'm trying to create an absurdly simple shell extension in C++ using Visual Studio 2010, but I can't even seem to get the examples out there to work as a starting point. I'm using Windows 7 x64. I've tried this Visual Studio template, but once I get the template to work in VS2010, I have a host of errors that I'm not sure how to fix. ...

Can the new phoenix code analysis engine in vs2010 analyze source level or catch preprocessor calls?

I'm hoping there is someway built into VS2010 to have custom rules involving preprocessor usage, and source-level style/member ordering. Does it do source level, or catch preprocessor calls? ...

What's the best way to get table creation scripts from a table created in VS 2010?

I've been playing around with hosting on discountasp.net and am in the process of hosting my second web app. Being that discountasp charges you per database and not per sql server or total space used by all of your databases, both apps need to share one database I need to create all of the tables from the database used by the second ap...

How to keep the design window from automatically popping up in Visual Studio 2010?

Every time I open up an aspx page it splits my screen between the source and design screens. I can change it over manually each time but it's starting to drive me nuts. Is there a way to make it only open the source window by default? ...

Using Visual Studio 2010 Profiler for ASP.NET web pages. Anything helpful besides 'tier interactions'? code coverage?

Does anyone out there run the profiler on thier ASP.NET web page when running locally. I guess it is like a poor mans load tester. The tier interactions seems to be the only real usesful part since that show all the queries made and that is normally the bottleneck in a ASP.NET app... There are alot of other options though... Anyone out ...

Oracle 10g and Problem on Vista with visual studio 2010 installation

I am havng the following problem after installing oracle 10g on vista machine and running an asp.net application. Rather strange: One 2010 project on the same machine using the same database is able to work but the other that was converted to 2010 recently isnt working on the same machine. The error is : OCIEnvCreate failed with return...

How to deploy upgrade of desktop application from Visual Studio 2010.

I work on a desktop application and I send frequent betas to testers using deployment projects from Visual Studio 2010. I increase the minor version number each time. My testers are annoyed because they have to uninstall the previous version before they can install the new one. Is it possible to install a new version without uninstalli...

two different DLL with same namespace

I have two DLL file that they both have a same namespace but they have different functions and types. how can I references both DLLs in my Project and use their functions and types? by the way. these two DLL have some functions and types with same name and different implementation and some unique functions and types ...

How to Extending vs2010 editor context menu for .js file?

I have a VS2010 VSIP package with several commands,Those commands are added to the javascript editor's context menu,and i am using <Group guid="guidPrettyJsCmdSet" id="ContextMenuGroup" priority="0x0600"> <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_CODEWIN"/> </Group> but it work only C# file,how to make it work for .js...

How to execute the code of VB 6 from Visual Studio 2010, or I need to download VB 6?

Can anyone guide me ,whether is aany method to open a VB6 code from Visual Studio 2010? Or i need to download VB 6 Compiler separately?(If yes, then please send the link from where i can download the VB6 or guide me from where i can download it?) ...