Visual Studio :: When Build The Application, It Creates A "dll" In The "debug" Directory?

Aug 16, 2010

I'm opening some project off of the codeplex website. When I do, it lists two types of files: *.cs and *.debug.cs me what the *.designer.cs" are?Also, when I build the application, it creates a "dll" in the "debug" directory. How do I make a dll get built in the "release" directory?

View 2 Replies


Similar Messages:

Can Specify If Aspnet_compiler.exe Creates A Debug Or Release Build

Apr 16, 2010

I wish to compile my asp.net MVC application using aspnet_compiler.exe from the comandline to speed up cold startup.

I'm wondering how it determines if it should do a release or debug build. Is it always release? Does it depend on what the web.config file says when you run aspnet_compiler.exe?

What happens to an application that's been compiled w/ aspnet_compiler.exe if someone changed the debug attribute in the web.config file after it has been published?

View 4 Replies

Visual Studio :: Web.config Transformations On Build/debug

Mar 3, 2010

I really like the new transformation feature for the web.config. It seems to work when I do "Build deployment package" but not when I just want to locally start the debugging using the green arrow. It just uses the web.config without processing theWeb.Debug.config. I can prove that because in web.config I have debug="false" with a transformation in Web.Debug.config so that it gets true but everytime VS asks if it should modify the web.config to enable debugging which it should've done automatically with the following transformation:

[Code]....

Am I missing something here? I used to work with NAnt to modify/create the web.config as a pre-build event but I thought that I wouldn't need it anymore. Am I wrong? The project is a freshly created asp.net mvc 2 web application.

View 20 Replies

Why Application Creates Folder For Each Language When Add Resource File And Build

Oct 29, 2010

I'm working on resource files in windows application. After i'm adding the resource file in the project if i built the project it creates a separate folder for each language with language code(Spanish->es-ES, French->fr-FR..) and also it has one dll file for corresponding langage inside the folder. Why it is creating like this? Can't we avoid this?

View 2 Replies

Visual Studio Unable To Debug Application

Jan 7, 2011

I am developping an MVC3 RC2 application and just after hitting F5 on my asp web application, I am getting this error message program '[7780] w3wp.exe: Managed (v4.0.30319)' has exited with code -2 (0xfffffffe).So I am totally unable to debug my application

View 10 Replies

Is It Possible To Debug A Web Application That's Not Started From Within Visual Studio

Aug 13, 2010

The default ASP.NET web server that launches from within Visual Studio (Casini) is a little buggy on my development machine, so I like to publish to a local IIS instance on my dev machine and look at the web application there. However, I'm not automatically in "Debug Mode" when I launch the application this way.

I know that VS 2010 has an "Attach to Process" debug feature, but I'm not sure exactly how to use it. What do I need to do to be able to debug a local IIS ASP.NET web application from within Visual Studio? Specifically:

What settings do I need to change in the configuration of my web application?

What "Package/Publish Settings" do I need to change?

Is there anything I need to change in IIS?

Is there anything special I need to do in the "Attach to Process" screen?

Background Information: I'm running Visual Studio 2010 on Windows XP SP3 with IIS 5.1 and .NET 4.0.

Additional Information:

I should add that I've tried attaching to aspnet_wp.exe, but when I go to a page that I know has a breakpoint in it, I get the following message when I hover over the "open circle" breakpoint:

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

View 5 Replies

Visual Studio :: Get A Debug Running Remote Web Application

Jul 10, 2010

Debugging running remote web application

View 1 Replies

Visual Studio :: How To Build A Web Application Project From Command Line

Jul 7, 2010

How do I build a web application project from command line using Web Developer Express 2010?

I am using the same command format that I would use with devenv.exe (Visual Studio), so I can evaluate us moving forward to VS2010. However, I am having real trouble building our code. Our solution consists of 4-5 projects, consisting of assemblies. The last assembly is the web site code. The root .sln file is the one which when opening in the IDE can click Rebuild All, and the DLL's of each project are generated and then brought into the website project.

However, when I run vwdexpress.exe from the command line nothing happens and no Dlls are generated. This is not giving me any confidence to run with VS2010.

the command line is like so:

C:inetpubwwwrootmyprojectvwdexpress /build release mysolution.sln

The in folders of each respective project are empty, but it takes 3-4 seconds for the command to finish, which gives me the impression it did something.

View 6 Replies

Visual Studio :: System.TypeInitializationException When Executing A 4.0 Web Application In Debug Mode?

Feb 11, 2011

[code].....

There are plenty other similar static methods defined within the class.

When does it fail: ONLY when the solution is compiled in 'DEBUG' mode. Everything works fine in 'RELEASE' mode.

What have I already tried:

1. Including a static constructor inside 'Utility' class - FAILED

2. Marking 'Utility' class with 'static' keyword: FAILED

3. Changing platform target from 'Any CPU' to 'x64': FAILED

As highlighted above, the issue is really not with VerifyPassword() method per se. Rather it is with the instantiation of 'Utility' type. That's why an exception is thrown from the constructor. Since 'VerifyPassword' is it is the first static method called, it appears in the stack. Just for the sake of proving that, I removed the call to VerifyPassword and returned 'true' instead. That way I was able to login to the application (no password verification), but failed at a later stage where I had called the Utility class on another method, namely Utility.ValidateSKUAdjustment(txtCurentMonthM1.Text).

View 1 Replies

Production System - Use Visual Studio (2008 With SP1) To Debug The Remote Application ?

Apr 3, 2010

First time i am going to work on (maintenance project) application that is already in production.The application was developed in ASP.net 3.5/C# 3.0(web forms) with jQuery,Ajax,Sql server 2005 and microsoft enterprise library 4.0.,WCF services. Questions (bear with me if my question is wrong)

1) Is it possible to use Visual Studio (2008 with SP1) to debug the remote application (i.e already in production)?.What are the tools do i need to use in order to keep track the things in case something went wrong?

2) Simply looking into Log file ,will solve the issues?

3) After having done with enhancements,is it possible to directly deploy the DLLs into production server.Won't it affect the running application?

what are the procedures i need to follow.Client is ready to provide any tools for my support.(What are the area do i need to aware to handle production system

View 2 Replies

Visual Studio :: Solution Explorer Only Creates Visual Basic LinqToSql Classes?

Feb 14, 2010

Even though I when I create a linqtosql class I mark C# as the language it was always shows up as a Visual Basic file in the App Code file. I can't get it to stop doing that. ????? What is going on?

View 5 Replies

Configuration :: Accessing An IIS Application Directory From Visual Studio?

Oct 10, 2010

I have created an application directory in IIS and specified its physical location in my harddrive. im trying to create a new Http-based website in Visual Studio 2008 but im unable to assign it to that application directory because in the "choose a location" dialog I cant view that application directory under my default web site directory. can someone tell me why? is it because visual studio doesnt have permission to access it. if that is the case how can I edit the permissions of that application directory in IIS so I can allow visual studio to have access to it?

View 1 Replies

How To Specify A Direct Build Name Directory Using TFS Build Of .net Web Application

May 11, 2010

I have a TFS build set up to deploy an ASP.net project to a test server.The build works great, and deploys to the test server fine, but instead of putting it into the Website directory that my IIS webserver is configured for, it puts the build into Website_20100511.6

Why is the date suffixed to the directory name? Is there a way to turn that off so I can publish directly to the Website?

View 1 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

C# - Prevent GridView Saving Data From Build To Build In Visual Studio?

Apr 1, 2011

I have a question regarding a situation that occurs with GridView, ObjectDataSource in ASP .NET application. The GridView is linked to the ObjectDataSource and both are included within an UpdatePanel letting the GridView to fill in an asynchronous way from a form in the same page so it gets more rows as the user enters the data:

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="ObjectDataSource1">
<Columns>
<asp:BoundField DataField="Name" HeaderText="Name" ReadOnly="True"
SortExpression="Name" />
<asp:BoundField DataField="Periodicty" HeaderText="Periodicty" ReadOnly="True"
SortExpression="Periodicty" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
SelectMethod="GetSessionNames" TypeName="Simulation"></asp:ObjectDataSource>
<asp:Label ID="Label27" runat="server" Text="Label"></asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="NewWebSessionButton" EventName="Click" />
</Triggers>
</asp:UpdatePanel>

I start the project with Visual Studio 2008, fill the form and it works correctly. Then I stop the execution: rerun again and the data I entered in the previous run is in the GridView. Is like some sort of cache saved the data from the session before. I checked that EnableCaching property is set to false for the ObjectDataSource. If I Rebuild Web Site in Visual Studio (not just Build) then it works corretly leaving the GridView empty. Is this caused just becuase of Visual Studio? Can it be turned off? And will it happen in the final IIS it will run on?

View 1 Replies

Visual Studio :: 2010 No Longer Creates Automatic Functions With Correct Parameters?

May 3, 2010

I've just upgraded to Visual Studio 2010, and notice that now when I add an event to a control (eg, "OnDataBinding" to an "ObjectDataSource", the editor no longer creates the code behind function with the right arguments etc.

How to I get this bacK?

View 1 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

Debug Embedded JavaScript From Visual Studio?

Feb 25, 2011

I'm not sure if this is the correct forum for this but I was just wondering, I'm very new to Javascript programming and was wondering if their is a way to debug embedded JavaScript from Visual Studio, current and old versions?

View 7 Replies

Visual Studio :: Cannot Debug SQL CLR Stored Process

Jul 12, 2010

I had everything up and running fine, was able to debug and everything.

I could attach to process and run a SP in the database and it would fire over to VS stopping on the breakpoint.

I can't remember what I did to mess it up but I ended up uninstalling my DB and reinstalling it; SQL Server 2005.

Now when I try to attach nothing happens. The SP runs and that is it I never go back into VS.

I'm thinking I have to reinsatll VS now.

View 2 Replies

Visual Studio :: Debug Disabled In One Project?

Feb 6, 2011

I have solution with several projects, while debugging it gives me this message.

I tired to change it's properties to enable debug but didn't work.

View 1 Replies







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