visual-studio-2008

Empty Design View for User Controls In VS 2008

Hi All I got a empty design View for User Control in VS 2008. I try to follow the solution in http://blogs.msdn.com/webdevtools/archive/2008/04/27/workaround-empty-design-view-for-user-controls.aspx . But it does not work. Does anyone meet it before? ...

Visual C++ Testing problem

Hi there I have installed VisualAssert and cFix. I have been using Visual Studio C++ and programming in CLI/C++. I have a working Chess Game Program that works perfectly by itself.....and I have been studying testing and have many examples(with tutorials) I have found on the net, that compile and run in Visual Studio..... But as soon a...

Folder location for Project->Add Class in Visual Studio 2008 Express

Hello. I like the VS option of Add Class that creates .cpp and .h file for me with a class template in it. But currently i am storing my source files in other folder than project file. Is there a way to to tell VS that i want to create those .cpp and .h files in a specific folder? ...

View macro expanded version of source while debugging

I am attempting to debug some C code using the visual studio debugger. I seems my choices are to view the source code or view the the disassembly. But what I would really like to view is the source code with all the macro's expended. Is that also possible? ...

upgrading from visual studio 2005 to visual studio 2008

I have upgraded one of my projects in c# from visual studio 2005 to visual studio 2008 and and generated DLL .But the size of DLL after upgadring visual studio is 6kb which was 16 kb before upgrade. Why the size has reduced?? Will this give any issue?? I have one more question what is the difference b/w bin and obj folders?? which giv...

Syntax highlighter with selective attribute highlight - VS Addin

Hi, Is there any VS Adding for highlighting particular code block or attribute from whole code ? Thanks, Piyush ...

Understanding VC++ ASM generation

I've got as far as telling VC++ to generate ASM files during compilation, which I never really used before. But it seems quite limited, like they are just extra files thrown out during the compilation. I'd thought maybe the ASM/C++ code might be linked, so I can jump from C++ directly to the generated ASM code? Or could set breakpoints i...

MSBuild Override Project Reference to resolve to Precompiled Assembly

Situation I have about 400 csproj files using project references. About 3 of those a separate team wants to fork and incorporate into a standalone app. I branched the 3 projects of interest, and because the separate team uses a diff SVN repo I used svn externals to pull in these projects into the folder of the standalone app. Obvious...

Visual C++ 2008 Intellisense is not displaying DocXml comments

In Visual C++ 2008, I have documented a method with DocXML: /// <summary>Function to generate and map channel.</summary> /// <param name="a_cfi">Raw CFI (1, 2 or 3)</param> /// <param name="a_ns">Slot number in frame</param> static void myFunc(unsigned a_cfi, unsigned a_ns); Intellisense displays this, but it displays the actual tags ...

Browse asp.net development server from usb attached itouch

I can browse using the desktop browsers via ..localhost:54647/... and from windows mobile emulators via my gateway ..//192.168.0.199:54647/..., but neither method works from either my Android emulator or from a usb attached itouch. I know I may have to run IIS locally but it's more convenient to run the development server from Visual St...

How do i develop software for Windows phone 7 with Visual Studio 2008?

I have Visual Studio 2008. Do i develop software for Windows phone 7 with Visual Studio 2008? Thanks, ...

Entity Framework not loading in Windows 7

I had to get a new machine recently. It is Windows 7, loaded with Studio 2008, with Framework 3.5 sp1. When I load pre-existing projects that use the Entity Framework, the projects don't recognize the .edmx files. Any ideas? I'm fully patched and running as administrator doesn't make a difference. Opening as XML and saving I have ma...

Visual Studio 2010 Kinetic/Smooth Scrolling

Is there a plugin to VS.NET 2010 that implements kinetic scrolling like on the iPhone? Basically, I want the text editor in VS.NET to do kinetic/smooth scrolling. ...

Why doesn't the AdditionalLibPaths parameter work in MSBuild?

I am trying to specify an additional folder to look for references when doing a command-line compile with MSBuild. The command line is as follows: msbuild C:\LUR.NET\LurReports.sln /t:Rebuild /p:AdditionalLibPaths=C:\Radio;TargetFrameworkVersion=v2.0 For whatever reasons, msbuild completely ignores the C:\Radio folde...

Does Microsoft make available the .obj files for its CRT versions to enable whole program optimization on CRT codepaths?

Given the potential performance improvements from LTCG (link time code generation, or whole program optimization), which requires the availability of .obj files, does Microsoft make available the .obj files for the various flavors of its MSVCRT releases? One would think this would be a good place for some potential gain. Not sure what th...

How to stop debugging (or detach process) without stopping the process?

I often use VS 2008 to debug a .NET C# component of an application. Sometimes, I want to quit debugging and continue running the application. Stop Debugging kills the process I was debugging. How can I achieve my aim? This is not a web app, it's a local process that runs managed and unmanaged code. I found the "Detach All" optio...

Visual Studio Add-in - Close the add-in programmatically

I have a add-in that requires a login and I want the add-in to exit if the user closes the login dialog without logging in first. The problem is that I cant find any documentation on how to programmatically close the add-in. Any ideas? ...

Why is C++ fwrite() producing larger output in release?

I recently wrote an implementation of the Canonical Huffman compression algorithm. I have a 500kb test file that can be compressed to about 250kb when running the debug and release builds from within Visual Studio 2008. However when I run the release build straight from the executeable the test file only compresses to about 330kb. I am ...

How to refactor large projects in visual studio

I always run into a problem where my projects in Visual Studio (2008) become huge monstrosities and everything is generally thrown into a Web Application project. I know from checking out some open source stuff that they tend to have multiple projects within a solution, each with their own responsibilities. Does anyone have any advice ...

dll woes c# noob

Hi, I'm a bit of a visual studio noob. I have just restarted a project in which I am using NHibernate. The project worked fine last time I used it but now is giving the following error. System.IO.FileLoadException: Could not load file or assembly 'Iesi.Collections, Version=1.0.0.3, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or...