I create a simple dll project with visual studio 2010 wizard, haven't filled any code.
When I build it on Win32 platform, everything works fine. The problem is when I switch to x64 platform, there is Link error.
2>LINK : fatal error LNK1561: entry point must be defined
The export marco has been define in the stdafx.h like:
#define A...
I am getting this error, and cant figure out what the issue is.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse ...
Hi all
Visual Studio takes a lot of extra time loading symbols for external dlls which I'd rather not load. I have fiddled with my symbol settings in VS2008 and these settings seem to be affecting VS2010
How do I stop it loading 3rd party symbols?
I've tried:
devenv /resetuserdata
Tools > Options > Debugging > Symbols (I can't remove ...
I am trying to learn asp.net 4 web app but playing around the web page template shipped in VS 2010.
I clicked New Project --> (Web) ASP.Net Web Application
I click ok.
So now I am trying to manipulate the color of the blue header and the font color or the header text. But I am cant do it thru the css.
Any ideas what is going on in ...
In visual studio you can set accessors by using the encapsulate field refactoring operation on a declaration (Ctrl + E,R shortcut).
Is it possible to generate (using the default settings) the accessors of several field at once ?
Having :
private int one;
private int two;
//etc
and generating :
public int One
{
get { return one;...
When editing javascript in VS2010, the dropdown autocomplete list shows a method called info_dialog - i dont have this method in any of my javascript and cant seem to find out where it comes from or what it does?
Does anyone know? Thanks a lot!
...
Hi all,
I am trying to debug my converted website from 2005 to 2010,but the framework i let the same 3.5 ,but it sometimes does it for a very long time minutes or often it comes to not responding...
Any one can help me?
...
I have installed IIS on my windows7 but it is some problems with it. I successfully can open html files like (http)://localhost/index.html , but can't open ASP site: (http)://localhost/ProjectList.aspx
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a scrip...
Do you do local development/debugging with the internal webserver or a local iis install? I'm currently running the internal VS2010 webserver but it's so slow it hurts. I can see the page rendering in front of me...
...
Hi,
I have a drop down list of around 30 items and I want to only show 8 items and then the drop down should scroll. I'm using MVC2 in VS2010
<%= Html.DropDownListFor(d => d.Thing.ThingID, Model.Things, new { style = "width: 200px", rows = 10 })%>
...
i created a template that contains a map.
when i try to create an instance of that template i encounter a linking problem with the constructor and destructor.
also, when i try to create an instance in main it skips the line while debugging, and doesn't even show it in the locals list.
it doesn't compile "DataBase db;" unless i add "()" a...
I'm seeking a list of C# code snippets that would make our work faster inside visual studio 2010.
PS. I'm talking about code snippets in visual studio as the extension. Ctrl+K, Ctrl+X, to access code snippets....
For example, I saw one in a screen cast where the guy typed 'pi' and pressed some other button. The snippet created this for...
I have a created a single LINQ query that creates a main group and then two nested groups. Within the last nest there is also a simple OrderBy. The issue I am running into is while writing the query or trying to edit it the visual studio memory consumption sky rockets to ~500MB and is eating 50% of my CPU, which makes visual studio unr...
I recently re-built my development machine. On this new machine, VS 2010 can no longer open sln files directly from SS 2005. These are valid 2010 solutions (orginally created witih VS 2010) that worked fine until I re-built my machine.
The message I get is "The selected file is not a valid solution file".
I've re-built many times and...
Hi All,
I have created a web application and site collection on a sharepoint server 2010 which is installed on remote server (Windows Server 2008). Everything is working, except that, when I try to create workflow for this site at Visual Studio 2010, it throws the following exception:
...
I am using Visual Studio 2010 Pro for simple C programming, I would like to know how I can provide input to the program without having to manually do so. The enviroment I am used to working is your standard commandline Unix enviroment. Once I compile a C file call "inputsInts" it becomes "a.out" and to test input I would type:
The easy ...
I'm trying to print C# code from Visual Studio 2010 to a Konica BizHub Color Printer. Only the line numbers are printing in color. Does anyone know if there is some Visual Studio setting or plug-in to allow the text of the code to be printed in color?
...
Is it possible to add to my C# project a reference to a different dll versions in x86 and x64 (and switch automatically between them, while changing Configuration Mode)?
...
Let's say that I had a SQL Server database with a table called MyValues and a column called ValueA defined as decimal(7,4) and I created an Entity Framework 4 model from that table within Visual Studio 2010. The result would be an entity called MyValue with a Decimal ValueA property having a Precision set to 7.
If I go into the databas...
I am debugging an ASP.Net C# application in Visual Studio 2010, the application is running and execution is currently stopped at a breakpoint. How can I stop the page execution without "Terminate All" or killing the debugging process altogether, similar to what would happen if an unhandled exception was thrown? The "Break All Cntl+Alt+...