visual-studio

Visual Studio 2008 marks solution files as version 10.00

Hi After trying out VS2010b2 also my VS2008 installation changes the versions of solution and project files to "Version 10.00". The MSBuild.exe on our CI Server does not support them. Is there a way to make VS2008 generate .sln files with version number 9.00 again? I know I can fix that manually. But each time I open a solution, the ve...

I am not offered option to select master page

Using visual studio 2008. When I add a new aspx form to a project I am not offered the option to choose a master page even though there is one in the project. How do I turn that option on? It appeared automatically in the past. ...

How can I stop an auto-generated Linq to SQL class from loading ALL data?

DUPLICATE of http://stackoverflow.com/questions/2433422/how-can-i-stop-an-auto-generated-linq-to-sql-class-from-loading-all-data post answers there! I have an ASP.NET MVC project, much like the NerdDinner tutorial example. (I'm using MVC 2, but followed the NerdDinner tutorial in order to create it). As per the instructions in part 3...

How can I stop an auto-generated Linq to SQL class from loading ALL data?

UPDATE: from what I'm hearing, I was imagining the problem I describe below. So, this is pretty much a non-question. Future readers, move on... nothing to see here. I have an ASP.NET MVC project, much like the NerdDinner tutorial example. (I'm using MVC 2, but followed the NerdDinner tutorial in order to create it). As per the instru...

Visual Studio compile "filter" as C and "filters" groups as C++

Hello, I have written the majority of my project in C++. However there are several "filters" or folders which need to be compiled as C and linked to the project. How can I configure this within VStudio? Thanks. ...

Filter assemblies/namespaces out of Visual Studio 2005 Documentation index

Is there any way to remove certain assemblies or namespaces from the index of (or entirely from) the Visual Studio 2005 Documentation? System.Web.UI and System.Windows.Forms contain many identical class names and I'd like to eliminate those in System.Web.UI that are irrelevant to me. ...

Debugging Through different solutions in Visual Studio

Currently I have solution A that contains a domain layer base and solution B that references the binaries from solution A. Is there a way to debug straight through from one to the other with two instances of visual studio open (one for each solution). I've read that you can just add the existing projects from solution A to solution B. ...

cc1plus: error: include: Value too large for defined data type when compiling with g++

I am making a project that should compile on Windows and Linux. I have made the project in Visual Studio and then made a makefile for linux. I created all the files in Windows with VS. It compiles and runs perfectly in VS but when I run the makefile and it runs g++ I get $ g++ -c -I include -o obj/Linux_x86/Server.obj src/Server.cpp cc...

Service reference addition issue in visual studio 2010

I am currently working on an application that allows reverse geocoding using silverlight + bing maps. The thing is that I want to add a reference to the reverse geocoding service provided in msdn ( http://msdn.microsoft.com/en-us/library/cc879136.aspx) i.e. http:// dev.virtualearth.net/webservices/v1/geocodeservice/geocodeservice.svc?wsd...

Can I install VS Studio Express with and after installing Visual Studio 2008 ?

Or there will be some conflicts ? ...

Working with Subversion the same as with Visual Source Safe in Visual Studio

Hi, At work I just started using Subversion with AnkhSVN instead of Visual Source Safe. I managed to integrate it well enough but it doesn't seem the same. Using VSS the following would happen: A user check out a file by right clicking and selecting "check out" or by editing it. If another user tried to modify the same file he would ge...

C# Unit testing resources

I migrated from Java to C# and so I am wondering how to unit tests in C#. I remember using JUnit to test my Java applications. How can I unit test in C#? What are some good resources for unit testing in C# USING THE DEFAULT UNIT TESTING LIBRARY? I don't really need a port. A good resource would be like a nice PDF file, article, or better...

Is it possible to get an MSDN help (local or website) for a selected Intellisense dropdown function using a kb shortcut?

So, very often do I wonder what a function does and open up a browser and head to MSDN to check more comprehensive description. Is there a keyboard shortcut I could use to open up the MSDN page of the selected function in the Intellisense dropdown automatically? ...

Install .NET 4.0 dll to the GAC

I have a visual C# 2010 express install. Built a .NET 4.0 dll that is signed. Now I need to get it into the GAC. Im on 64bit vista. Anyone know if there is a gacutil supporting the 4.0 framework yet? Any other suggestions on getting it into the GAC? I have tried drag and drop into C:\Windows\assembly, whenever I do, it appears to c...

Basic refactoring features (e.g., Rename) unavailable when editing code in an aspx/ascx files

I was just editing some C# code between <% %> tags in an .ascx file, and I noticed that the Refactor contextual menu is unavailable. And even if I manually add items from this menu to a custom toolbar, they are disabled when viewing aspx/ascx files. I usually only have small snippets of C# code in my aspx/ascx files, but it would still ...

How to add a build time to a file archive as a post-build macro?

I want to pack the project into a zip-file and have the build date time (or the current date time) as part of the zip-filename. $(TargetDir)\7za.exe a release.zip * So it would be nice to incorporate the date into the release.zip, something like release-14-3-2010-22_56.zip Is it possible to define custom post-build macros? ...

connecting to oracle

Dears, I have a report server project in VS2005, and I added an oracle data source to my project and I did anything like my colleage! both of us did the same settings but I can't connect to the server. I connected to DB in TOAD but in VS2005 I couldn't. What should I check? I get this error during test connection : ORA-12154: TNS:could n...

Create Silverlight application in Blend then migrate to Visual Studio

I want to make a Silverlight application in Expression Blend because of the rich UI and navigation of Blend. But I want to store the Silverlight application in an ASP.NET MVC web project. When I try to make a new Silverlight application, the default web application is an ASP.NET Web application (or web site, if I'm wrong). Can I make a s...

XP Deploying issues due to msvcr90.dll trying to load FlsAlloc

I have an application build with VS2008 SP1a (9.0.30729.4148) on Windows 7 x64 that does not want to start under XP. The message is The application failed to initialize properly (0x80000003). Click on OK to terminate the application.. I checked with depends.exe and found that msvcr90.dll does try to load FlsAlloc from KERNEL32.dll - and...

How do I create an installer for Visual Studio 2008 addin?

I have done an addin (in C#) for visual studio, (almost) ready to deploy it. But I don't know how to do an installer for that. I saw the link here but I don't know where to go from there... This seemed to be useful, but I don't understand where to start, put which code snippet where... Can someone guide me from the basics? Can't find ...