visual-studio-2010

Set Publisher in Word Options Add-Ins Dialog

I have made an addin for Microsoft Word 2010 Beta using Visual Studio 2010 RTM. When I look at "View and manage Microsoft Office Add-ins" the publisher shows up as None. Would code signing with a Software Publisher Certificate fill in the Publisher field? The ClickOnce manifest is signed with a Code Signing certificate. Would signing...

Missing System.Core.dll and others on Visual Studio 2010 Project targeting 3.5 Framework

I just got Visual Studio 2010 installed and running on my development machine (alongside VS 2008). The first thing I did was make a copy of an existing project and convert it up to the VS 2010 project. I told the conversion wizard to leave the project targeting the 3.5 framework. The project compiles and runs just fine in VS 2008. When I...

Visual Studio 2010 Download?

Hi Guys, Generally wondering if there are multiple versions of Visual Studio 2010 to download i.e. I can only find x86 and unsure if this is the version I want for Win7 x64 [which I am running] Are there multiple versions available or is the only release version x86 which just install x64 components? ...

Force WPF to Commit Changes on Focused Element

I'm working with VS2010, WPF and EF. I've placed controls on my window by dragging an entity out of the Data Sources toolwindow. I used the "details" setting so my entity is represented by several labels and textboxes. I've also added a button with the following code: _context.SaveChanges(); When I'm editing data, the changes in wh...

How do I add a Textbox in a menu in Visual Studio 2010 addin?

I would like to add a texbox to the Project,Item and solution menu in Visual Studio 2010. It seems the way I did it in Visual Studio 2008 no longer work. Old way: menuItem = _applicationObject.GetCommandBar("item").Controls.Add(MsoControlType.msoControlEdit, 1, "", 1, false); Is there a way of doing this in Visual Studio 2010? Doing th...

.NET Compact Framework with Visual Studio 2010?

Hello can i use .NET Compact Framework with Visual Studio 2010? I have Visual Studio 2003, but i want change to one IDE. ...

Best VS2010 Extensions

What are in your opinion the "must have" Visual Studio 2010 extensions? OData Protocol Visualizer is fine Solid Softfare Xplorer isn't free, but looks very nice ...

Are MVC2 areas with multiple projects supported in the final release?

I had been following this guide to get areas with multiple projects setup: http://msdn.microsoft.com/en-us/library/ee307987(VS.100).aspx I was stumbling on the step where you modify the .csproj files to enable the AfterBuild configuration. My googling led me to this post from Steve Mosely: http://avingtonsolutions.com/blog/post/2010/04...

Visual Studio 2010 isn't building before a run when there are code changes. It was doing working yesterday.

I've been using using F5 (Start Debugging) for years to build the code (if its out of date), and then debug. This was working on VS 2010 also, however today it just start debugging without a build. Say I do a clean on the project, and then hit F5 instead of building it so it can run it throws an error message saying that the exe doesn't ...

My C# and DLL Data Woes

Hey guys, I'm a very beginner C# coder. So, if I get some of the terms incorrect, please be easy on me. I'm trying to see if it is possible to pull data from a DLL. I did some research and found that you can store application resources within a DLL. What I couldn't find, was the information to tell me how to do that. There is a MS arti...

Lost some intellisense in VS2010

Getting to grips with Visual Studio 2010, This compiles: var x = System.Web.Security.Membership.GetUser(); And runs, however VS2010 gives no intellisense for x and reports it just as a 'local variable'. Has anyone got any ideas? ...

When does MSBuild set the $(ProjectName) property?

I'm fairly new to MSBuild, and I've done some customization on a Wpf project file that I'm building both in VS2010 and TFS2010. I've customized the output path as follows: <OutputPath Condition=" '$(TeamBuildOutDir)' == '' ">$(SolutionDir)build\binaries\$(ProjectName)\$(Configuration)\$(Platform)</OutputPath> <OutputPath Condition=" '$(...

VS 2010 Database Project Run Script Conditionally

I am new to VS 2010 database projects, in the past I've used dbp projects but are not longer supported in VS 2010. I would like to run a set of sql scripts that add test data, but would ideally like this to only run based on the project configuration. For example, if I can have a VS "Test" configuration that would execute this set of ...

Generate EF4 POCO classes first time only

The problem I'm having is, using the POCO templates, generating my POCO classes the first time only and not overwriting them when the templates are re-ran. I know this sounds hokey and the reason is that I'm actually changing these templates and trying to generate metadata classes rather than the actual POCO classes, but these metadata c...

Question on breakpoints in VS2010 C++

I'm using VS2010 Ultimate. Having code: //file IntSet.h #include "stdafx.h" #pragma once /*Class representing set of integers*/ template<class T> class IntSet { private: T** myData_; std::size_t mySize_; std::size_t myIndex_; public: #pragma region ctor/dtor explicit IntSet(); virtual ~IntSet(); #pragma endregion #pragma region pub...

VS2010 profiler/leak detection

Anyone know of a profiler and leak detector that will work with VS2010 code? Preferably one that runs on Win7. I've searched here and in google. I've found one leak detector that works (Memory Validator) but I'm not too impressed. For one thing it shows a bunch of menu leaks and stuff which I'm fairly confident are not real. I also ...

Javascript Intellisense not working on Visual Studio 2010 Ultimate (Windows 7 x64)

Hi guys, I've just got the new Visual Studio 2010 Ultimate and Javascript Intellisense is not working on .aspx/.ascx files inside blocks. It does work on external .js files. After VS2010 setup, it asked me if I wanted to import the settings from previous VS version (I have VS2008 SP1 installed), I say yes. I've tried resetting the se...

Visual Studio 2010 (maintaining backwards compatibility)

I know in Visual Studio 2008 you can target a specific framework with your projects, but from what I have been told if you open a project originally created in Visual Studio 2003 or 2005 in Visual Studio 2008, it requires you to upgrade the project to a 2008 project to work on it. Does Visual Studio 2010 have this same type of restrictio...

SharePoint 2010 and VS 2010 - which releases work well?

I'm having a hard time finding a combination of sharepoint and vs releases that work well together. So far I have tried: SP 4730 & VS RTM SP 4747 & VS RC SP 4763 (Debug RTM ish) & VS RC All of these had issues in one or both products. I'm now reverting to SP 4747 & VS RTM. Has anyone else found a combo that works well? Specificall...

SQLite NHibernate configuration with .Net 4.0 and vs 2010

UPDATE In the last update I could use SQLite for unit testing but not in an application run. That problem has now been resolved by modifying config to allow [loading from a remote assembly](http://msdn.microsoft.com/en-us/library/dd409252(VS.100.aspx) <runtime> <loadFromRemoteSources enabled="true"/> </runtime> in addition to ena...