visual-studio-2010

No memory window in Visual Studio 2010

I have VS2010 Premium RTM version on Windows 7 Ultimate x64. In the documentation they refer to the Memory 1-4 windows, supposedly under Debug->Windows->Memory. I have "Enable address-level debugging" enabled in VS (Options->Debugging). The problem is that I have no Memory menu item under Debug->Windows during debug of a c++ program. ...

How to install Nvidia Parallel NSight (Nexus) for VS2010 without having installed VS2008?

Is there a way to install Parallel NSight and use it with Visual Studio 2010 without having VS2008 SP1 installed? The setup checks if VS2008 is installed and won't continue if not. I know there is no official support for VS2010, but I found on a forum a small application that can integrate Nexus into VS2010 and it seems to work. Thanks i...

Blend 4 breaks VS2010 for Silverlight

Hi, I had VS2010 running fine with Silverlight development. Then I installed Expression Blend 4. Now when I run VS2010 and try to debug a silverlight app I get an error saying "Unable to start debugging. The silverlight developer runtime is not installed. Please install a matching version." I've tried uninstalling silverlight tools, and...

Using an existing dataset with client reports in Visual Studio 2010

I am trying to use an existing dataset as the datasource for a rdlc report inside of an ASP.NET web application in Visual Studio 2010. However, when I go to choose the dataset in for the report, the existing dataset is not available unless it exists in the root directory of the application. This was not the case in the 2008 version o...

Why does Visual Studio 2010 hide my add-in toolbar on launch?

I've a VS add-in that creates a toolbar and displays it (based on previous visibility settings) when VS launches. The add-in works fine in VS 2005 and 2008 but in 2010, the toolbar is only visible while VS is loading. Once VS has completed loading, the toolbar disappears. I can replicate the sample problem with the Alpha Blend code sa...

Problems with Database Deployment using VS2010 (Package/Publish SQL tab)

Background: I am using the deployment tools in Visual Studio 2010. I right clicked my project and selected Package/Publish settings. Put all my settings in there ... I am then using "web deploy" to tranfer the files to my remote server running a remote agent service and this is working fine. The transforms i have on my Web.Release.confi...

How to get VS2010 Web.config Transformations working from NAnt?

In my Nant file I've got (paths shortened): <echo message="#### TARGET - compile ####"/> <echo message=""/> <echo message="Build Directory is ${build.dir}" /> <exec program="${framework}\msbuild.exe" commandline="..\src\Solution.sln /m /t:Clean /p:Configuration=Release" /> <exec program="${framework}\msbuild.exe" command...

How do I get Visual Studio 2010 to save generated files in UTF-8 or ANSI?

Hi, My Visual Studio 2010 project creates resource.h when compiled but does creates the file in UTF-16. How do I get VS 2010 to generate this file in either UTF-8 or ANSI? Note: I need this to happen automatically. So, re-opening the file and resaving it is not an option. Thanks. ...

Issue with Visual C++ 2010 (Express) External Tools command

I posted this on SuperUser...but I was hoping the pros here at SO might have a good idea about how to fix this as well.... Normally we develop in VS 2005 Pro, but I wanted to give VS 2010 a spin. We have custom build tools based off of GNU make tools that are called when creating an executable. This is the error that I see whenever I c...

How do you prevent Thread ending notifications in visual studio 2010?

Ive got a lot of threads and i dont want to be informed on the console when a thread ends, howcani stop this being outputted? ...

Private Accessor for method is not found

I'm getting this error when generating a new unit test under Visual Studio 2010 using the context menu (right-click the method name -> "Generate Unit Tests"): Private Accessor for methodName is not found. Please rebuild the containing project or run the Publicize.exe manually. The method is public (checked that by applying applying a ...

Subversion commits hangs with some Visual Studio files

I'm having trouble committing some files in a Visual Studio 2010 solution, but not others. I have created a basic console application with nothing but the default files. When I try to commit some of the files (e.g. module1.vb) it commits fine. However, when I try to commit other files (e.g. consoleapplication1.sln), it shows it being a...

Can I use the <%: tag on an application that will be hosted on IIS6?

Can I use the <%: tag on an application that will be hosted on IIS6? What about on an application targeted for .NET 3.5? ...

Getting started with unit testing in VS2010?

I'm new to both unit testing and Visual Studio 2010 (just upgraded from 2008). I'm interested in using VS2010's new built-in unit testing tools, but would like to get the lay of the land first. I haven't been able to find any resources or tutorials on unit testing with VS2010 specifically - has anyone found a good walk-through? I'm als...

Reverse P/Invoke tutorial ?

I've a old C/C++ class that i want to refactor and access from .net using PInvoke All P/Invoke tutorials refers to call win32 api but i haven't found anything to code the other side Any tips/ideas ? my c/c++ experience is pretty rusty :( UPDATE - this is for wrapping existing C/C++ code so it can called from .net using P/Invoke How d...

How to use a precompiled dynamic library in visual studio c++?

I want to use a precompiled library in my project. I have 3 folders: Include (.h files), Lib (with .lib files) and Bin (with .dll files and .pdb files). I've never used precompiled libraries before (I hope this is the right term. correct me if I'm wrong). I want to use this API. How to add all this stuff to my project? I use visual stud...

Why Does VS2010 "Lose" my reference on build?

I've developed a class library that does stuff, and tested it with unit tests. The library and tests build and work fine. I then added in a Windows Service project to the solution to wrap the library up in. I've added a reference to my class project, added a using statement and var'd an object from the class lib. It colour-codes just fi...

Adding a new target type to msbuild: How do I refer to the itemname in the task rules?

I'm trying to add a task to build the COM proxy DLL after building the main DLL. So I created the following in a .target file: <Target Name="ProxyDLL" Inputs="$(IntDir)%(WHATGOESHERE)_i.c;$(IntDir)dlldata.c" Outputs="$(OutDir)%(WHATGOESHERE)ps.dll" AfterTargets="Link"> <CL Sources="$(IntDir)%(WHATGOESHERE)_i.c;$(Int...

Is there a Visual Studio 2010 Add On for Tabbed Multi-Monitor support

In Visual Studio 2010 you can drag tabs out to separate windows but you can not collect them together as additional tabbed elements. Is there a VS 2010 add-on to allow you to group your extra windows into tabs? It would be really nice to have a set of tabs on each of my monitors. ...

New line or Carraige Return syntax problems

Im pretty new to coding, heres my problem. Results->Text = "G55 > Y" + System::Convert::ToString(destY); "Results" is a System.Windows.Forms.Textbox "multiline btw", or so says VS. That line works fine, but i need a "new line or CR" at the end, so that i can repeat that line with different Literals and a different var in ToString. F...