visual-studio-2010

Merging two or more visual studio project into a one project

I am working on a solution that contains bunch of projects. I am going to refactor the solution by merging some of the projects together. Is there any tool or visual studio extension that helps me refactor my large solution by merging one or more projects into on project. Of course this can be done manually but I am hoping for a more a...

Running T4 templates from other T4 template

Hi there, does anyone know if it's possible to run T4 template file from another T4 template, inside VS2010 Thank ...

TFS 2010 creating .Net 4.0 XmlSerializers DLL for .Net 3.5 Application

We have a ASP.Net web application running in Visual Studio 2010 that is targeting .Net 3.5. It's being built by TFS 2010. This web application has a couple web references, so the build creates a related XmlSerializers DLL. This DLL, however, is a .Net 4.0 assembly. When I run this web application from the build, I get the error: C...

Bug with reading data using WebClient.

In our application we use Silverlight on the client-side. It downloads data from the server using WebClient: WebClient wcGetDataFundSet = new WebClient(); wcGetDataFundSet.OpenReadCompleted += (s, e2) => { // Do something with the data. }; wcGetDataFundSet.OpenReadAsync(new Uri(this.uriString)); When I open this.uriString ...

VS2010 Last Session Debugging Value

This is nice feature for debugging. However, in normal edit mode, I need to keep my mouse cursor on the pin icon to display the info. Is there any way to keep the info display while mouse cursor move away? Thanks. ...

Access Query With Parameters in Visual Studio

Microsoft Access queries with somecolumnname = [?] do not show up in the list of Views in the New DataSource Wizard in Visual Studio. The query works perfectly from within Microsoft Access by just prompting for the values of the parameters. The columns of the query should populate labels on my form based on the values in a couple textb...

Install Visual Studio 2008 AFTER 2010?

Have a shiny new Windows 7 64-bit machine and got a bit over zealous and installed Visual Studio 2010 before I installed VS 2008. Still need 2008, can I install 2008 after 2010 or do I need to uninstall 2010, install 2008, then SP1, then reinstall 2010? ...

iBatis schemas not working in Visual Studio 2010

iBatis comes with three schema files that provide intellisense to VS.Net. According to the iBatis help docs, the location should be this: C:\Program Files\Microsoft Visual Studio 10.0\Common7\Packages\schemas\xml or this if you have x64 installed: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\schemas\xml The...

VS2010 - Can i extend the 2010 text editor window with Graphics?

Hello, I am developing an extension to add graphics around code (text). I've searched around and came up with only one other post refering to IWpfTextView (and related) interfaces. What i want is to "markup" the code with (ex) arrows, boxes and lines. I've read through the mdsn and it seems scrolling up and down does a complete redraw...

How can I view all the properties of a given JS object?

I have a 3rd party server side control that generates JavaScript and I'd like to see what methods and properties it exposes. Currently I just type in an invalid function like asdf123() so VS will break and I can add a watch to the variable, but there are a ton of methods and I don't know what I'm looking for (I'm trying to make the cont...

Call to .NET web service timed out (Android dev using KSOAP2)

I'm getting a Java Socket Exception "Operation timed out" when trying to call a .NET web service method. I've followed the many examples out there on the web to get my android to call a .net web service. I'm running the web service using VS2010 in debug mode. The web method I'm calling is very simple -> "string GetVersion()" I've rea...

Visual Studio DLL project with DLL dependencies, unresolved external symbols

I'm new to Windows concepts. I'm trying to develop a DLL that also dynamically links against other DLL's. I'm using Visual Studio 2010. At linking time Visual studio tells me it's trying to link against a bunch of .lib files. I don't think Visual Studio should attempt to read any .LIB files if I want my code to perform dynamic linkin...

Linkage Error LNK1104 in Visual C++ 2010

Today I fired up Visual Studio 2010 (Visual C++) and started working on a project. The solution contains two projects. One is a static library I am writing, the other is a test application containing unit tests for the library. Without changing anything from yesterday, the executable no longer links: LINK : fatal error LNK1104: cannot ...

Simple threading issue with windows service

Hi all, I havent written a windows service before and thought everything was going well until I deployed it to live. In dev it works fine and the polling it great, but as soon as it goes into production it falls on its backside after its first loop. The exception I recieve is: Application: ProgramName.WinService.exe Framework Version:...

VS 2010 application requires VS runtime installation - how to avoid this?

Hello. I have written an application in VS C++ 2010 Express Edition which consists of some DLLs and also depends on some third party DLLs. The application itself is a DLL. As it turned out, to make it work on another machine, user has to install VS 2010 redistributable runtime. I tried to build my DLL with flag /MT instead of /MD - ...

How to make a DataGridView column no-entry in VS2010/C#

Hi, I have a DataGridView which allows me to enter name/value pairs. The names are pre-defined, so the user just needs to enter a value. I have made the name (the first) column read-only so it can't be changed - that's great, but it can still be selected, and indeed, is by default when the form is displayed. Is it possible to make this...

T4 templates in VS 2010 Cannot Find Metada file SubSonic.Core.dll

I am using Subsonic 3 to generate DAL. Further I am using T4 templates to generate my BOs from DAL. Subsonic's T4 templates are working properly, but when I run my templates it gives me following error: Compiling transformation: Metadata file 'SubSonic.Core.dll' could not be found I have imported SubSonic in my settings.include file l...

How to get Debug.WriteLine to work with other processes?

I've got a program that spawns two other proccesses using System.Diagnostics.Process. Their output is captured by the first program: players[p.Key].StartInfo = new ProcessStartInfo { FileName = args[i], RedirectStandardInput = true, RedirectStandardOutput = true, ...

global.asax works on local computer but not after i publish to server

i think this has been asked before but i just cannot figure this one out. I have added a global.asax file to my project (using asp.net with c# from vs2010) and works great on my local machine. then when i publish to our site (i publish to ftp site and then copy from the ftp folder into the site folder overwriting old files) and it doesn'...

Does visual studio 2010 unlimited modeling project do reverse engineering?

Does visual studio 2010 unlimited modeling project do reverse engineering? How about code generation from the UML models? I am playing around with it and it makes beautiful UML class diagram but I can't find any options to create code templates based on them. ...