visual-studio-2010

is there a way to create an item template (t4) installer like the POCO generator?

Subject says it all. I want to modify the POCO generation adapter (at http://code.msdn.microsoft.com/EFPocoAdapter ) to generate my own code. I have the .tt adapters done, but I want to be able to distribute this to coworkers, so they right-click on the model, choose "Generate Code", and my t4 templates appear in the options along with...

C++/CLI: CA2123: Requires SecurityCriticalAttribute?

I am a little lost on erros like that: Warning 7 CA2123 : Microsoft.Security : Add the following security attribute to 'RithmicConnector::Connect(String^)' in order to match a LinkDemand on base method 'IConnector::Connect(String^)': 'SecurityCriticalAttribute'. c:\work\nettecture\tradex\source\tradex.connectivity.ri...

Visual Studio 2010 Kinetic/Smooth Scrolling

Is there a plugin to VS.NET 2010 that implements kinetic scrolling like on the iPhone? Basically, I want the text editor in VS.NET to do kinetic/smooth scrolling. ...

Is it possible to disable auto formatting only for Html pages (not c#) on VS2010?

During the design html pages or aspx pages, I like to do the pure coding without Html Designer. The problem is that I like to have the following format on html page for better readability. <div> <% if (1 == 1) { %> Hello <% } else { %> World <% } %> </div> As you can guess, whenever you type '}' or ';' or etc, visual stu...

How do I add a merge module to an installer that is in the same solution?

I have two installers and a merge module in a solution, and I need to include that merge module in one of the installers. Is this possible without building the merge module and referencing the *.msm file directly? Is there any way to do it like a project reference? ...

What type of web service should I put together?

I want to write a web service using Visual Studio. The service needs to support some type of authentication, and should be able to receive commands via simple HTTP GET requests. The input would only be a method call with some parameters, and the responses will be simple status/error codes. My instinct would be to go with an ASP.NET Web S...

Visual Studio Missing Warnings

Anyone find where when you open a certain solution (that contains multiple projects) and compile that you're not seen some warnings that your colleagues see when compiling the exact same solution at the exact same state? The code is the same. I depend highly on the warnings as a shortcut to find unused methods, etc. But I get nothing ...

Suppress "No Source Available" pane in 2010

Arg! I have a custom "harness" executable running my class library project. Every time I step into the harness's code, I get that "No Source Available" pane popping up. As I know there is no source available, and that this is completely expected, I don't want this very intrusive and useless pane popping up every time. How can I suppr...

rockscroll or metalscroll for vis 2010

Has any one found a replacement for rockscroll or metalscroll for visual studio 2010? I miss it so much that i looked into making one my self but only have word highlighting working and a place holder scroll bar and seems to be much harder than i thought it would be. Im happy to share what i got if someone is interested in helping. ...

VIsual studio 2010 'cannot create window' error

When i launch vs 2010 ultimate I get error 'cannot create window'. Any solutions? ...

Visual C# 2010 Express - Invalid license data. Reinstall is required.

I've tried to install Visual C# 2010 Express edition onto my PC, but whenever I try to run it, I get a "Invalid license data. Reinstall is required." error message. I've already tried reinstalling it, and the message persists. OS is Vista Home Premium. I already have VC# 2008 Express installed. ...

Running ASP.NET upgrade wizard

I installed Visual Studio 2010 but, when asked if I wanted to upgrade my ASP.NET solution to ASP.NET 4 I said "no". Now I've changed my mind. Is there any way to manually run the upgrade wizard? ...

Does VS2010 use csc.exe / vbc.exe (directly or indirectly) to compile relevant projects?

Pretty much as the title suggests. I can't find any proof that DevEnv.exe actually calls these at any point. ...

Click Event of a button to fire defined inside a listbox item placed at resources.xaml

I have created a style for a listbox item which shows up the button. I can't fire the click event of a button as the style is kept in resources.xaml. How to fire the click event of a button? I am setting the command property of a button : <Button x:Name="image" Grid.Column="9" Margin="4 0 4 0" Style="{StaticResource LedgerDeleteIcon}...

FileLoadException in vs 2010 xaml designer with SLite 1.0.66

This is in part a continuation of issues encountered in configuring SQLite in a vs 2010 .Net 4.0 environment, originally started in this post. The focus of that post was getting both unit testing and application runtime working, which has been resolved and so marked as answered accordingly. The focus of this post is the exception thrown...

Sharepoint 2010 Document Library Event Receivers - - - How to capture event when the document is being openned

Hi everyone, There is event handler when item is being added, deleted, checked in or checked out . . . but no handler when the item is being open is there any way I could capture the event when the item is being opened? Please help. Thanks a lot ...

Install MVC 2 after Visual Studio 2010

I have installed Visual Studio 2010 (final) and then Visual Studio 2008. Now I have to open a project with VS2008 that uses MVC2. Is there any problem to install MVC2 after VS2010? ...

Spam in the VS2010 Extension Manager

What's with all the spam (free trials and so on from Component One & Telerik among others) in the VS 2010 Extensions Manager. Without going to the website there is no way to know whether a listing is free or trialware so, for me, the entire user experience of the Extensions Manager is ruined. Anyone else finding this? Is there a way of ...

VS2010 doesn't show project's CodeAnalysis page

When I try to open a project's CodeAnalysis page I get the error "An error occurred trying to load the page. Only TrueType fonts are supported. This is not a TrueType font." I also get a very simmilar ExceptionBox when I want to open the solution's propertywindow: "Only TrueType fonts are supported. This is not a TrueType font." Has...

Is it a bad idea to have different team members on Visual Studio 2008 and 2010?

I'm about to start working on a C# project. I'd like to buy VS 2010, but the only other member of the programming team is already using VS 2008. I'm concerned that having two different versions of VS in use will cause code compatibility issues. Is this a valid concern? ...