Visual Studio :: Debug The Code In Windows Applications?

Apr 5, 2010

Error: When I hit F5: "A project with an output type of class library cannot be started directly. In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project."Trying to debug the code in windows applications. It throws the above error.Googled, most of them say to download the exe file. But when I've right click the Project ->add reference-> browse -> bin-> debug -> .dll downloaded, still throws the same error. Unable to locate the executable file.

View 1 Replies


Similar Messages:

Visual Studio :: Trying To Debug The Applications - The Step Into (F11) will Act As F5?

Apr 22, 2010

I was trying to debug the applicatioons but after certain amount of minutes (say 3 minutes), the step into (F11) will act as F5.

View 6 Replies

Debug Asp Applications More Quickly In Visual Studio 2010

Dec 6, 2010

When I am actively developing it is extremely cumbersome to write some code, fire up the debugger to test said code, wait a minute for the debugger to start, look at the page in the browser, stop the debugger, edit the code, rinse, lather, repeat. I can get around that by using CTRL-F5 and CTRL-SHIFT-B during development but I lose all the benefits of the debugger. Is there a better way to use the debugger, or something else I can do to get quick rebuilds and use of the debugger? I/we do write unit tests, but you also need to test your app in the browser so please no "you shouldn't have this problem if your unit tests were written properly"

View 5 Replies

Avoid Publishing ASP Applications In Debug Mode From Visual Studio?

Feb 17, 2010

We all know that we should only be publishing our ASP.NET Web Applications with release build type, so why do I not get a warning when I trigger the "Publish" command in Visual Studio 2008, for a project configured to build in debug mode? Sure, there might be cases where I need to publish a debug build to a development or test environment, but answering yes in a confirmation dialog would be acceptable in these cases. Is there an option that I have overlooked, forcing Visual Studio to warn me every time I try to publish a debug build? Yes, we could just ban using the "Publish" command and use a more solid build management tool, but this involves a change of process and right not be an option in this particular case.

View 3 Replies

Visual Studio :: How To Run Windows Applications In Hp Touchsmart

Aug 4, 2010

how to run windows applications in hp touchsmart

View 1 Replies

Visual Studio :: Debug Classic Asp In 2008 On Windows 7 64 Bit?

Feb 26, 2010

Can anyone get classic asp debugging working in visual studio 2008 windows 7 64 bit? I have an exsiting application that I need to debug and I can't get it working in this environment. I have followed the following tutorial and serveral others. [URL] I can't find dllhost.exe or w3wp.exe? And I don't see the below image when hitting ctrl-F5

View 1 Replies

Visual Studio :: VS2008 SP1 Attempts To Connect To Time.windows.com When Starting Applications

Feb 13, 2010

My workstation does not have Internet access, but it uses a DNS server on the LAN. Every time I start any ASP.NET application from Visual Studio with either F5 or Ctrl-F5, the workstation (I don't know whether it's Visual Studio or Webdev.Webserver.exe) asks the DNS server for the IP address of "time.windows.com". The application is not started until the LAN-only DNS server returns an error, which results in a 10-second delay, during which the Internet Explorer is started, but displays a white background. Is there any way to prevent these connection attempts?

View 2 Replies

Visual Studio :: Reordering Of Tabbed Windows White Screen While Running In Debug?

May 13, 2010

There are a lot of new features in VS 2010 that I'm very much enjoying, but there are two things occurring that I'm wondering about. I often have several windows open like any developer will, and I arrange them in a particular order that makes sense to me, from left to right. As new windows are opened, tabs are created at the far left, and I move them to where I want them. Basically, I like to have the database diagram at the far left, then the repository class for whatever controller I'm working on, then the service class, then controller class and then various views. Not that my particular order is important to the question, but here it is.

I've noticed that, while working and switching between tabs (by clicking on the tab - not moving it or removing the current one), this order is getting changed. Some of the tabs that I've dragged over to the far right will suddenly be on the far left. The rearrangement always places windows on the far left. This happens regularly, and I've paid attention to my actions, so I know I'm not accidentally dragging them over myself, or closing/reopening them. This seems to occur with the tabs that I use the most, as if Visual Studio is trying to place my most-used tabs over to the far left. I'd rather this not happen and handle the order of the tabs myself.

The other thing is less important, but is a little odd. When I start my MVC 2 application in debug mode, my entire code window goes completely white until the application loads. This never happened in VS 2008, and I'm guessing it's some kind of side effect of having the interface written in WPF. It's not that bad, but is a little annoying.

View 3 Replies

Visual Studio :: With Debug Framework Source Code?

Mar 8, 2011

'm using VS2010 Ultimate, but i cannot debug framework source code right now. i've setup all the configuration as need.

View 3 Replies

Visual Studio :: Installing Visual Studio 2010 Pro RC In Windows Xp SP3 And Getting A Message Prompt : Invalid Windows Installer Package Contact Vendorlog File Says?

Feb 22, 2010

installing visual studio 2010 pro RC in windows Xp SP3 and getting a message prompt : invalid windows installer package contact vendorlog file says

Error Message:

[02/22/10,17:09:07] Microsoft Application Error Reporting: [2] CMsiComponent::Install() expects the setup file for Microsoft Application Error Reporting, but the file failed verification.
[02/22/10,17:09:07] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467259.
[02/22/10,17:09:08] VS70pgui: [2] DepCheck indicates Microsoft Application Error Reporting is not installed.

View 5 Replies

Visual Studio :: Debug-Start Debugging/Debug-StartWithoutDebugging OR Project Configuration Launches Dream?

Jan 3, 2010

Debug-Start Debugging/Debug-StartWithoutDebugging OR Project ASP.Net Configuration launches Dreamweaver. It started lastnight, I had both Deamweaver and VWD 2008 express open at the same time - (I was looking at JQuery in the Microsoft and Dreamweaver enviroments simultaniously). After the first tie this happened, I closed down Dreamweaver (CS3) and it opened when I tried to run my VWD project. I reinstalled VWD 2008 express, IIS and disabled Dreamweaver (renamed the exe). Dreamweaver still came up.

View 4 Replies

Visual Studio :: Text In Code Windows Became Very Blur?

Sep 2, 2010

I do remember what I did but text in code windows became very blur.

View 2 Replies

Visual Studio :: Can't Debug The Code Line By Line Code?

Feb 5, 2010

i can't debug the code line by line code, i have break point in form load event, but it skipthe breakpoint , can't able to debug.

View 6 Replies

Visual Studio :: Use F# For Web Applications?

May 5, 2010

I am started working in Visual Studio 2010. But i founf F# is for developing console appplication only. Now f# support console application only or can i use for my web / windows applications also?

View 2 Replies

Visual Studio - References Between ASP Web Applications

Jun 9, 2010

I have a Visual Studio solution containing two web applications. I would like the first to depend on the second (pages in the first may contain links to, or possibly post to pages in the second). Furthermore, I would like to be able to launch the first project on a development server (standard debugging procedure for web apps in VS) and have the references to the second project be fully functional.Does anyone know the best way to achieve this?

View 2 Replies

Visual Studio :: How To Debug Web Service

Mar 3, 2010

How can i debug my deployed web service?

I have deployed a web service on my development machine and i am connecting it through my asp.net application, both web service and asp.net application are on same machine but web service is hosted on IIS.

View 1 Replies

Visual Studio :: How To Debug Those Two Solutions As It Where Only One

Apr 14, 2010

I have 2 sollutions (1 CMS, 1 Customer specific with controls). The customer controls are coppied (with xcopy) to the CMS location. In the web.config of the CMS the specific controls are registered.The controls are useing functions from the CMS dll as well.How can I debug those two solutions as it where only one? I tried to start the CMS in debug mode with breakpoints in de CMS and customer controls, in this case only the breakpoints in the CMS are used. If I run the customer controls in debug mode only the braekpoint in this solution are used.The CMS is running on my local IIS 7.

View 1 Replies

Visual Studio :: How To Debug Javascript

Jun 1, 2010

I am using VS2010 and am working on an ASP.NET web application for .net 4.0.

I have created a file called StringUtilities.js and placed it in a subfolder of my application called Scripts.

The entire content of the file is listed here:

[Code]....

In one of my .aspx pages I have the following code:

[Code]....

On a button's "OnClientClick" (for example) I call the method encodeText() and everything works fine.

Today I added the method updateImage() which calls StringUtilities.js - updateAttribute() method, also added today.

If I open that unit in VS2010 and place a break point in the source code for the new method it turns white and says:

"The breakpoint will not currently be hit. No symbols have been loaded for this document.".

What gets even stranger (this is so hard to exaplain)....

Before today I did not have the method updateAttribute() in that .js file. So even though my source editor is showing all of my new source code changes, if I trace the previous method that did exists - htmlEncode(), the trace lines in the editor are highlighting where the lines "used" to be. which is near the top of that file as if my new code was not there.

It just sounds like there must be a different way of tracing javascript and the way I am doing it must not be it. I would have assumed it worked the same way I would trace my c# code.

View 8 Replies

Visual Studio :: Debug With Win 7 (x64) And IIS7?

May 27, 2010

When I ran Vista (x64) Prem with IIS7 and VS2008 sp1, I could press F5 and start debugging a web application and the debugge would run as long as I needed. I got a new PC that has Win 7 (x64). Now, the debugger will run 30-60 seconds and then quits. The web application still runs but the debugger shows that it is not in debug mode and the breakpoints are no longer hit. I know you can attach to the w3wp process and debug that way, but has anyone found a way to keep the debugger running for as long as you need when you press F5??

View 1 Replies

Visual Studio :: Can't Debug BLL And DAL Methods

Oct 12, 2010

I have VWD Express and I can't debug lower layer methods in the application the debugger doesn't step into breakpoints that are set in these layers. what do I do? I need to debug lower layer assemblies most of the time.

View 10 Replies

Visual Studio :: Not Able Debug In VS 2003

Feb 23, 2011

I have vs 2003 & 2010 on same machine. But my application is in asp.net 1.1 so I have to work on VS 2003. (I dont have to migrate to 4.0).

I have followed this link http://msdn.microsoft.com/en-us/library/aa239576(v=vs.60).aspx but still it is not working.I put a break point on page load of my first login page. when I hit F5, the control comes to visual studio and make that line yellow but stays for few seconds only and then leave the contol and visual studio automatically.I'm not able to debug it. Don't know what the problem is.

View 4 Replies

Visual Studio :: Visual Studio/TFS Locking Windows Account?

Mar 4, 2010

I've got Visual Stuido 2008 Team Suite + Team Foundation Server + TFS Power Tools running on a Windows XP laptop. Everything uses Windows Authentication.A few weeks ago I changed my Windows password per company security policy. As soon as that happened, I started getting a problem working within TFS. I would be trying to check in or check out a file, or view the history of a file, and I would get the following error: "You are not authorized to access tfs.servername.com". Whenever I get that error, my Windows account has become locked and I need to call the helpdesk to get unlocked.

This issue happens intermittantly...I could be working fine in Visual Studio for several hours and then it'll happen. Sometimes it happens several times in a row - I'll get the account unlocked, and then the next time I try to do something in Visual Studio it locks again.I realize there are a host of ways an account can become locked - believe me, I've run them all out - I don't have any services running on my machine that are tied to my WIndows account, I wasn't logged in to another computer under my old password, I don't have any mapped drives that use my old password. I'm fairly sure there's something in VS or TFS that is causing it - I can work for days without getting into Visual Studio and I don't get the issue. I use SQL Sever 2005 Express, which also uses Windows Auth, and I have no problems. The lockouts only start when I'm doing something in VS.

View 5 Replies

Visual Studio Solution With Multiple ASP Web Applications

Mar 3, 2011

I've got a Visual Studio 2010 solution that has multiple web applications in it. I've set one as the startup project but when I debug Visual Studio is starting up a development server for each web application in my solution. Is there anyway I can have Visual Studio only start up the development server for just the default startup project?

View 2 Replies

Visual Studio :: Debugging And Localhost ASP.NET Applications?

Jan 14, 2011

I'd recently installed Windows 7 Ultimate 64 bit, and after I did this I cannot debug (or simply run without debugging) my ASP.NET applications (I use VS 2010). I'm getting message: Navigation cancelled.There seems to be a problem with the localhost. I'd checked the HOSTS file - it's configured correctly, I compared the settings with my other machine where I don't have this issue.

View 12 Replies

Visual Studio :: Moving Projects Between 32-bit Windows XP Pro And 64-bit Windows 7?

Apr 28, 2010

When I am working on projects I like to take my files back and forth between two machines.The machine at my office is running Windows XP Pro 32-bit.My home pc is brand new and running Windows 7 64-bit.I have not yet installed Visual Studio 2008 on the new home pc.My projects usually consist of a web site in ASP.net and C# often with a SQL Server 2008 Express Edition database backend.I am using Visual Studio 2008 Standard Edition (yes, I know I need to upgrade soon).

Before I received the new computer I was simply copying what I did at one machine onto a USB drive, taking it the other machine and overwriting the files that were previously there. Is it feasible to continue moving project files back and forth between computers now that one machine is running a 32-bit OS and one is running a 64-bit OS?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved