visual-studio-2010

Change font-smoothing in VS 2010

Is there any way to make font smoothing more MacOS like in Visual Studio 2010? I used to do that with GDI++ in VS 2008, but obviously that won't work in new Visual Studio. Is it possible to tweak WPF font-smoothing manually? If anyone doesn't know about GDI++ you can get it here. It is highly configurable, but the basic settings make fo...

Visual Studio 2010 and WinCE 5.0

Is it possible to use a platform builder 5.0 SDK in visual studio 2010 for a C++ project. I want to compile code for a specific ARM WinCE 5.0 environment and I have VS2010 at the moment. The Microsoft website recommends visual studio 2005. I'm currently downloading the VS2005 evaluation but I'm also a bit worried about installing this o...

Slow performance of System.Math library in .NET4/VS2010

My application compiled in .NET 4 seems to be performing really slow compared to .NET 3.5. When I did the performance analysis, I found out that the System.Math libraries in VS2010/.NET 4 have slowed down considerably. Any explanation to this? Has anyone else come across this or am I the only one seeing this? UPDATE: My sample code l...

VS 2010 C++ unable to load references due to out of date version number

When I set references for a C++ project in Visual Studio 2010, it fails to load a reference dll from another c# project because of a version mismatch. Building a C# project that references another c# project is no issue for me. I tried hard coding the version number for the c# project which worked great, but that was simply for testing a...

Visual Studio 2010 + Resharper Tools|Options|Environment|Fonts and Colors

About fonts and colors in the VS2010 C# text editor with Resharper installed. In the following method: public void Method() { var lis = new System.Collections.ArrayList(); var exc = new System.NotImplementedException(); } ArrayList gets another color as NotImplementedException in the VS2010 text editor, be...

I'm learning C# in vs2008 while vs2010 is available. Am I missing something?

Hi, that is my question. Beacause I'm learing C# in vs2008, I was asking to my self if i'm missing something not learning in vs2010. I won't touch WPF/Silverlight for a while, with C#, ASP.NET and SQL Server I have a lot of fun for a while. well, that's my question, I'm getting vicious or missing something using vs2008 ? ...

Visual Studio 2010 Solution Find all References Not Working

I have a Visual Studio 2010 Solution that was imported from a Visual Studio 2008 solution that the Find all References does not work on. I've tried doing some searches on Google to try and figure this out but have come up empty handed. The find all references in VS2008 worked like a charm, we upgraded to 2010 and now no matter what f...

Visual Studio / Blend... how you organize that?

Virst time more complex stuff in WPF. I am a little lost on the split betwen VS and Blend. It seems I am VERY limited with editors in Visual Studio for editing controls - when customizing, for example, it seems I Can enter astyle in XML... but in blend I Can tell it to make a copy of the CURRENT style and use that as a starter, definit...

MSBuild - setting a reference path

I have several assemblies my project is dependant upon. These are stored in the Project's directory under the "Dependencies" folder. So something like this. Solution - Project - Dependancies FunkyAssembly.dll - bin - Debug - Release SomeCode.cs I've referenced FunkyAssembly.dll us...

Has anyone else experienced keyboard errors with VS 2010?

Here's the situation: I'll be coding away in VS 2010, when all of a sudden the keyboard starts acting flaky. The up/down arrows will stop working, cut and paste keys will stop working, etc. The only way to fix it is to exit out of the IDE and then restart it (which is a pain). This will happen several times a day. I know the problem is ...

Crash with new/delete, but not with malloc/free in C++ code

My developement environment is [Windows 7; visual studio 2010; x86]. I have a dll that was built for server 2003 long time back. When I use it in my project and follow new/delete sequence to use a class, application crashes during delete call. I verified the same even without any other call between new and delete. When I replace new/del...

How to disable TFS 2010 CodeAnalysis Checkin Policy on sub folders?

Hi, I have created a Team Project in TFS 2010, call it MyProject. Under that I have 2 folder Src & Tests. I created a Checkin Policy requiring ChangeSet comments (TFS Power Tools is installed on all concerned machines) and Code Analysis. I want Code Analysis to run on projects under Src, but I don't want to require Code Analysis on proj...

Visual Studio project template mystery: Why is Context.Designer.vb file excluded?

My source project includes a LINQ to SQL DBML file called Context.dbml. This auto-generates a file called Context.designer.vb, which is included in the source project. I've created a Visual Studio template from this project. But when I go to create a new project using this template, Context.designer.vb is not included, so the new pro...

How to compile my .asmx service into its own separate DLLs in Visual Studio 2010

I have a 1.1 project that I converted 4.0, which used a bat file to develop seperate dlls for each .asmx present in the project. Its there a way to replicate this without using a bat file? ...

Build VS2010 solution file from msbuild command line.

I want to build my VS2010 .sln file (projects are .net 4.0) with msbuild from the command line. I expected this to work... >C:/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe application.sln However I get this message: "Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating th...

How to fix this- No source avaliable VS2010

Hi I am using VS 2010 Ultimate and I am just trying some stuff with the html agility pack. when I get to one of its built in methods and hit f11 while debugging this comes up "No Source available" Locating source for 'C:\Source\htmlagilitypack\Trunk\HtmlAgilityPack\HtmlNode.cs'. Checksum: MD5 {a0 f7 4c 1a 17 ae da d8 ca f8 ...

Visual Studio 2010 compiler can't find quoted includes

This is my first time fiddling with the windows world in over a decade, so this may be a simple fix. But I'm completely stuck. Say you have a source directory, mkdir helloworld && touch helloworld/helloworld.{h.cpp} helloworld.cpp: #include "helloworld.h" using namespace std; int main() { cout << "Hello, World!" << endl; r...

Why is my configuration manager disabled in Visual Studio 2010?

I just started working on a new project, and I can't sent the build action to Debug/Release This is a huge problem! I have another solution on my system that, when opened, allows me to change the solution configuration. So it must have something to do with this specific solution??? ...

Can't add CaptchaControl in Toolbox in Visual Web Developer 2010

I have downloaded the Captcha control files (ASP.NET 2.0 source files - 27.2 Kb) created by Jeff Atwood from http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx, and been trying to add this Captcha control in the Toolbox in my Visual Web Developer 2010 since two days ago with no success. According to the instruction on how ...

The right way to setup VisualStudio 2010 for OpenCL

Hi everyone, what is the right way to setup VisualStuio 2010 for working with *.cl files? I have added *.cl under Tool/Text editor/File extensions and copied usertype.dat into the common7/ide folder, but VS underlines keywords like float4 or cross. Is it necessary to add some key in registry or can somebody propose a tutorial? Thanks ...