visual-studio-2010

How to change the outlining hover color in VS 2010?

If i hover over the thin vertical bar on the left, it highlights the entire scope of the block that's to the right. When this scope is large, my entire screen flashes white (a consequence of my custom color scheme). Is there a way to change that color? i don't recall there being one when i made the theme. ...

MSBuild: Custom target for header files(Skipping target when included files updated)

Hello, I'm writting custom tool for VS2010. This tool executes GCC-XML compiler to produce xml output for c++ header file. When i change header file with my custom rule, everything is ok. But when i change some file, included in this header: Skipping target "_GCCXML" because all output files are up-to-date with respect to the input fi...

visual studio 2010 crystal reports wpf

I created my report but I cant seem to bind the report viewer with the report source? I think they changed the way things are done? ...

Visual Studio 2010 Web Developer Express Tools.Attach to Process is not exists

Hello, I have loaded Web Site from HDD. Now trying attach it to process WebDev.WebServer.EXE. But in Visual Studio 2010 Web Developer Express edition of VS not exist tool Attach To Process. Is it normal? if yes, how can add this tool or solve my needs? ...

How to assign default values and define unique keys in Entity Framework 4 Designer

Hello, I've had a look at the Entity Framework 4. While generating code for the SQL Server 2008 I came to the point where I want to define some default values for some fields. how to define in the designer for a Created DateTime Field the DateTime.Now default value? -> Error 54: Default value (DateTime.Now) is not valid for DateTime...

Did Visual Studio 2010 break "Project Dependencies" between C++ projects?

In Visual Studio 2008, if I had a solution containing multiple C++ projects, I could make them depend on each-other and correctly link by using the "Project Dependencies" option. This fixed up the build order and also made (e.g.) the main application project link against the static library outputs. In Visual Studio 2010, this doesn't se...

How do I compile boost using __cdecl calling convention?

I have a project compiled using __cdecl calling convention (msvc2010) and I compiled boost using the same compiler using the default settings. The project linked with boost but I at runtime I got an assert message like this: File: ...\boost\boost\program_options\detail\parsers.hpp Line: 79 Run-Time Check Failure #0 - The value of ESP w...

Silverlight with Visual Studio 2010 Isolated Storage Error

I am getting an error when trying to access isolated storage when running a Silverlight unit test project in VS2010. Test method Silverlight_Binary_Serialization_Tests.SerializationTests.SerializeBytesTest threw exception: System.IO.IsolatedStorage.IsolatedStorageException: Unable to determine application identity of the caller. Here i...

What is the cause of these Visual Studio 2010 errors & warnings?

I don't know the cause of these errors I am receiving from Visual Studio 2010. This is the code from my program from line 343 to line 408: int create_den_from_img(char *img_file_name_part, int xlen, int ylen, int zlen ) { IplImage* imgs = 0; char str[80]; unsigned char *data,*imgdata; /* allocating memory */ data = (unsigned...

Upgrading Visual studio 2008 Professional to Visual studio 2010 Preimum

I currently have Visual Studio 2008 Professional installed on my Windows 7 (x64) laaptop. I also have SQL Server 2008 Express installed and Crystal Reports 2008 installed. Can I upgrade Visual Studio 2008 Pro to Visual Studio 2010 Promimum and if so do I have to make any configuration changes to any other apps I have installed? ...

How to enable Line numbering in Visual Studio

Why doesn't VS have any sort of line numbering? Is there any way to enable it, or a plugin for it? I know, the number of lines of code in a program doesn't matter, but sometimes it is nice to know how long a program is, or what line number something is for reference. I can't seem to find that as an option anywhere, to my surprise. Than...

Visual Studio 2010: very slow web applications debugging!

I recently installed Visual Studio 2010 (Ultimate edition, final version released in April), and found that debugging a web application became very slow (2-3 times slower than in Visual Studio 2008)! I took the same web application and checked the speed of loading of one of its pages in VS 2008 and VS 2010, and compared the time it take...

Visual Studio 2010 Premium is giving me a "Cannot Create Window" error!

When I first launched the Visual Studio (I just installed it) I choose the default programming layout (Visual C#/Visual Basic.NET/ F#/etc) as Web Development. It gave some error that it couldn't find the layout scheme or something and now it says Cannot Open Window. Is there some way to reset the selected layout option? ...

visual studio 2010: The Breakpoint will not currently be hit: No symbols have been loaded for this document

I am using VS2010, and Silverlight 4. When I run my code the debugging does not work (I get the above error on my breakpoints. When I clean my solution a warning comes up saying that the system cannot find the file specified (a project dll). It is looking in the right path (..\debug), but there is no dll present. I started a new Silv...

How can I figure out my SQL Server address without having the Management Studio installed?

I have Microsoft SQL Server 2008 installed. It appears in the add/remove programs window. How can I create/delete/alter tables and find the address of my server if I don't have Management Studio installed? I'd like to create the tables and such directly in Visual Studio 2010 premium. ...

Asp.net loading a file encounters "Access to the path … is denied" in development on Windows 7

Hi there, I have an Asp.net app that simply reads an xml file and this code used to work fine on Vista with VS2008, now I just moved to Windows 7 and I migrated the code to VS2010, I encoutered “Access to the path [path to my webapp folder] is denied". Nothing else is changed, I tried to change folder perms even though I didn't think ...

VS 2010 Profiling Problem with Signed Assemblies

I have a website that uses AjaxControlToolkit.dll and Log4Net.dll; When I try to run the performance profiling tool in VS 2010 on it it gives me the following warnings "AjaxControlToolkit.dll is signed and instrumenting it will invalidate its signature. If you proceed without a post-instrument event to re-sign the binary it may not load ...

Customizing toolbar items in VS2010

Has the menu & toolbar customization functionality in VS2010 been reduced? I can't seem to be able to select an icon for an added command, nor set it to be icon-only. Previous versions of Visual Studio supported this functionality and even allowed the creation/editing of custom icons. Is this something that has suffered as a result of ...

Problems with XAML WPF 4.0 Editor in VS2010

Wondering if anybody else has found some very odd behaviour with the XAML/WPF 4 editor in VS2010. This only occurs if the project is using .NET 4. Whenever I tried to open a XAML document for editing, the window would appear to open for a split second and then vanish, but VS2010 would still list the window as open. The fault was eventu...

Using initParams in Silverlight 4 project

I'm trying to upgrade a project that uses Silverlight 2 to use Silverlight 4 but I have problem with initparam to set domain. The old Silverlight 2 project: <form id="form1" runat="server" style="height:100%;"> <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <div style="height:100%;"> ...