visual-studio-2010

How to debug and deploy my class libary that is really a VSX Extension?

The Class Libary is an Microsoft Studio extension that generates a file from saving running a custom tool on a template file, following the module from this example I found from Microsoft: http://code.msdn.microsoft.com/SingleFileGenerator/Release/ProjectReleases.aspx?ReleaseId=4138. I can not figure out how I'm gonna debug, build, or ...

Where is SSIS in Visual Studio 2010?

Where do I find the SSIS tools in Visual Studio 2010 Ultimate? I'm at a new job so new computer / new setup / new everything. I can't find them anywhere! Is there a specific edition of SQL Server that includes these tools? The DB is SQL Server 2005, SSMS is 2008, VS is 2010. ...

Entity Framework: Alternate solution to using non primary unique keys in an association

I know the entity frame work does not allow you to generate a model from a database using non primary unique keys as a Foreign Key association. Can I modify the EDMX manually? If so, can someone provide me an example or reference? If not, are there any other possibilities? Easiest Example: Here is the DDL for the tables. You will no...

Pointer not initializing with a struct as a parameter. Access violation writing location 0x00000010.

The struct looks like this: template <class Node_entry> Node<Node_entry>::Node(Node_entry item, Node *add_on) { entry = item; next = add_on; } And the *new_rear pointer does not get initialized, but &item is filled with user input. Error_code Extended_queue::append(const Queue_entry &item) { Node<Queue_entry> *new_...

Is it possible to add custom setting in Resharper's Code Cleanup profile?

I want to convert all my public non-virtual methods to virtual. I'd like to do it in a by-project fashion (my solution has about 55 projects). I'd like to add a setting in the Code Cleanup profile that does this for me. If you know any other way to do this I'd appreciate your help! Thx! ...

Queue appending more then one entry.

I keep getting the first entry appended 4 times instead of one time.. when I append my first entry to the Queue it appends it 4 times..I thought this might be the problem..but it looks like it isn't. I can't find where the problem is.. I also created a print function for the nodes, and it showes that there are 4 of the same entries in t...

making Transparent, unclickable areas in a userControl/pictureBox

hello. I have a userControl with a picturebox in it. I need the areas of the userControl to be transparent and unclickable on the main form. After some searching Ive come up with this. http://msdn.microsoft.com/en-us/library/aa235175(VS.60).aspx but it doesn't seem to work. I have it set up so the usercontrol can be drag-and-dropped. bu...

NetAdvantage 9.1 & Visual Studio 2010?

Will Ingragistic's NetAdvantage 9.1 work with visual studio 2010? I installed VS 2010, and then NetAdvantage but I don't see the NetAdvantage in VS. ...

.NET: Is there a system enum for CSS media types?

I notice that when I include a reference to an external CSS file in my HTML file in Visual Studio 2010, I get a very nice list of possible values for the 'media' attribute. (The options are all, aural, braille, handheld, print, projection, screen, tty, & tv ... if you're interested) Is there a system level enum with all of the possib...

Stop Visual Studio from mixing line endings in files

When opening a text based file in Visual Studio 2010 it will then write my edits with CRLF instead of the line ending format of the original file. How can I stop VS from doing this? Any half decent editor should have this capability. What's worse is that since VS wrote the file with portions in CRLF, it then (when opening the file again...

VS2010 loads slowly. Can I profile extensions' respective startup time?

Hello, I have a simple question. Is it possible to somehow get a log of what is taking so much time to load when starting VS2010? On a default install, starting the IDE is very quick (~1-2 s), but with a batch of extensions installed, the time taken for the IDE to launch is prohibitive of using it to "just have a peek at a file". I kno...

Resharper Test runner - Run tests on build

I'm using Visual Studio 2010 along with Resharper 5.1. Is it possible to run all unit tests in a specified (or all) project(s) on each build? That would be awsome. Thanks ...

visual studio 2010 is insane

it took out my menu and i had to design it all over again it replaced one of my files "mainform.cs" with an older version of it and vshost32-clr2 is always crashing ...

Visual Studio 2010 hangs for about three minutes when running a project debugging mode

My Visual Studio 2010 Premium hangs for about three minutes whenever I try to run a recently converted project in debugging mode (Project was converted from 2008 to 2010). Has anyone of you had this problem? Have you got any tips/tricks to help me track down errors? I know my question is very general, but company policy dictates that I...

Can I selectively disable packages from loading into VS2010?

Hi, Continuation question from: http://stackoverflow.com/questions/3995253/vs2010-loads-slowly-can-i-profile-extensions-respective-startup-time After looking at the log file, it turns out there are a few packages that I'm not using much (I think): (load time) (package): (2s) (Microsoft.VisualStudio.TeamArchitect.DesignersCommon.Desig...

Microsoft testing framework measure time

Is there any build in features I may measure code/methods execution time using visual studio 2010 in Microsoft testing framework ? Or only Stopwatch may help? ...

C#, TeamCity - Avoiding the post build events on the TeamCity server

I have a number of projects which I have outputting to a central repository of DLLs in my development environment. This is achieved by adding an XCopy command into the Post-build event command line of the project. XCOPY $(TargetDir)$(TargetFileName) C:\DEV\library /I /R /Y I want this to happen in dev mode but when on the TeamCity ser...

Visual Studio 2010 - Is there a plugin for customizing the compiler output?

Basically, our solution is composed of about 30 sub-projects.. and growing. Compiling this monster is fast and compiler warnings/errors/general output just scrolls by in a mishmash of ... well, poo. On unix it's easy to write a filter to "pretty-ify" the compiler output into something readable and, ultimately, useful. Has anyone done th...

work with an already open database connection

This is a little wierd, but I want to check if connection to my database is already open or not? How do I check that? and if open I want to be able to work with it straightaway without going through all the statements: sqlconnection conn = new sqlconnection("string ..."); Can this be done? I know the connection string and the connecti...

Why is the VS 2010 debugger popping up when I'm trying to debug a VS 2008 app?

I'm trying to debug an ASP.NET 3.5 app, which I've recently migrated from VS 2005. (This uses Crystal Reports 11 Release 2, but I don't know if that comes into what's causing me problems, or not.) This app uses Active Directory for authentication. I'll have the app opened in VS 2008, and then press the F5 key to start debugging. Shor...