Visual Studio :: How To Remove The Unused References In Form Level/vb.net Application And Web Application
Feb 3, 2010
How to remove the unused references in form level, vb.net application and web application?
How can I use fxcop to identity undisposed objects like dataset, dataview, connection, stream...? Any one having custom rules for the same?
View 1 Replies
Similar Messages:
Jan 28, 2010
Is there a way to easily tell which items in my css file are not used on any of my pages? I am trying to avoid going through each page individually.
View 1 Replies
Apr 11, 2010
Our project has been really more and more 'messy' due to many programmers and no real control over the project.
Is there a way to automatically remove all <%@ Register... references in the project?
View 2 Replies
Mar 24, 2010
I have a web application that dynamically loads assemblies based on database configuration entries to perform certain actions (dynamic plugin style architecture).The calls to the objects are in a Factory Pattern implementation, and the object is cached (in a static dictionary<> within the Factory) as the calls can be made many thousands of times in a minute.The calls to this factory are made from both the main web application and a number of webservices, some in different assemblies/projects.When I need to update one of these DLLs, I have to recycle IIS to get the DLL released.As this has an impact on another application on the server, I wanted to know if there was a way I could release the DLL without restarting IIS?
View 3 Replies
Aug 12, 2010
I have a windows service that calls a class library. The call to the Class library from the windows form application works fine. But from the service I do get the desired output. The event viewer does not report any error. The service was working fine until the recently when the server got remastered. Any suggestions what might have gone wrong?
View 2 Replies
Apr 8, 2010
on desktop start has disappeared, getting above issue on double clicking/running any application.have VS2005 installed with sp1 and all other relevant updates as per MS..., i read some forums which states because of VC++ the system files may be currupted....have not installed VC++can anyone guide me the issue here and its solution...
View 3 Replies
Apr 3, 2011
I want to have 4 links in the sidebar of master page which every other form (content page) in my web application inherits.
<table>
<tr>
<td width= "150px">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
<asp:Menu runat="server" ID="MainMenu1" CssClass="MasterContent" StaticSubMenuIndent="30px">
<Items>
<asp:MenuItem Text="My Software" NavigateUrl="~/MySoftware.aspx"></asp:MenuItem>
<asp:MenuItem Text="Check Out" NavigateUrl="~/CheckOut.aspx"></asp:MenuItem>
<asp:MenuItem Text="View Shopping Cart" NavigateUrl="~/ShoppingCart.aspx"></asp:MenuItem>
<asp:MenuItem Text="Continue Shopping" NavigateUrl="~/Start.aspx"></asp:MenuItem>
</Items>
</asp:Menu>
</asp:ContentPlaceHolder>
</td>
<td width="900px">
<asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
This is the content in the master page as you can see there are 4 menu items i tried to form as sidebar and i tried to inherit in home.aspx(one of the content pages) as follows:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Start.aspx.cs" Inherits="WebStore._Start"
MasterPageFile="~/Webstore.Master" %>
<asp:Content ID="StartSideBar" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
But unfortunately the sidebar is not at all getting displayed. I know i'm doing fundamentally wrong some where. My intention is to have web pages to have sidebar like this. It is a screenshot of my intended page.
View 1 Replies
Oct 14, 2010
I am used to working on C# .NET windows applications. I am interested in starting with web applications. good ebooks or references for C# ASP.net to begin with for a guy like me who is comfortable with windows applications?
View 3 Replies
Feb 17, 2010
i am working on asp.net application using C#, identifying properties that are unused in my project. in Code analysis tool i am able to see unused private fields getting reported (Avoid unused private fields), but is there any such facility too for unused Properties declared in the class.
View 3 Replies
May 28, 2010
How can I ensure that web application converted from 2003 visual studio to 2008 visual studio
to have two files as it is when create a web file in visual studio 2008.The web application is in Chsarp. I have converted these filesfrom 2003 to 2008 but they still have three files each.
View 4 Replies
Mar 24, 2010
I am doing Automated coded ui testing in asp.net 2010 for web application. I am testing site and i need to know how can i create the test which will work with all browsers. Right now i created test in IE 8 but its not working in Firefox. So is there any way i can create one test and will work in all browser.
View 2 Replies
Jan 31, 2011
I have to handle error related to web application. I am not sure how its works. I am thinking that I will add an error page (error.aspx) and in global.asax ,application_onError, I will redirecting the user to error page and that should be enough ! i mean it will handle error automatically.
View 4 Replies
Mar 28, 2011
I'm trying to publish my ASP.NET web application in Visual Studio 2010. I'm then trying to install it as a website on a server using IIS. I've gotten my application to publish (to a .zip file) but it points to the physical directory on my hard drive. This obviously will not work on the server.
View 3 Replies
Nov 29, 2010
in one of my project I have to add System.ServiceModel.Web namespace. I try to add reference in this way:
(1). Right click on references in the project solution explorer
(2). search for System.ServiceModel.Web name space.
But it is not here. How can I add this name space to my project and .net pannel?
View 2 Replies
Jan 24, 2010
I am getting the above error whenever I attempt to run an application from the IDE. Any application. I have literally created a new asp.net "Hello World" app with absolutely nothing other than the aspx page, no code in the code-behind, and the only change to the web.config to enable debugging. The app errs immediately. Nothing is written to the event log.
The error is unique to asp.net, Visual Studio 2008, and has only recently started. I can run asp.net apps in VS 2005, and windows apps in 2008.The only thing I'm sure that I've done recently is installed SP1 for .net framework 3.5.
View 4 Replies
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
Sep 5, 2010
Is there anyway to localise an external assembly reference? Here's my situation:I am working on Project A and it contains assembly references from Project B. Now when I release this Project to my client I don't want to have to include the whole of Project B with it. Is there anyway to force it to copy the dll's from Project B onto Project A and use those references? I can do this manually by copying all dll's to local project and re-referencing but just wanted to know if there is an easier way.
View 1 Replies
Apr 13, 2010
I already have a web application running successfully develeoped using Classic ASP by the previous web pregrammer. Since I'm not familiar with Classic ASP, I tried running the source code in Visual Studio ASP.NET. However, I'm unable to run it (expliciltely denied). May I know whether there are special things to note when opeing and running a web application developed in Classic ASP in ASP.NET? The previous web application is connected to the school server, but I'm using my laptop's local host to run the application. Is that why I can't run the application? What are the steps needed to connect my ASP.NET application with the server.
View 1 Replies
Jul 13, 2010
I need to know how to compile my web application in vs2008 so that it can run on a server without the codebehind files being viewed or how i make it and .exe
View 12 Replies
Apr 19, 2010
am using visual studio 2008 there i didnt find New Web Application, there only Web Site. How to create the new Web Application project?
View 1 Replies
Feb 11, 2011
Am new to ASP.Net. There are two options (Web application and Websites) available while developing projects in web. I have the confusion of which one is better in web.
View 4 Replies
Jan 6, 2011
my os : win XP service pack 2my website was developed in asp.net 2.0(visual studio 2005) and then i converted into asp.net 3.5(visual studio 2008). and i added one page. it was working.now,while i am running my website,output should be like this 'http://localhoast:8799/mypage.aspx'but at first it tries the above url and then it is automatically changes the url into like this 'http://www.localhost.com/mypage.aspx'.
i am facing this problem only in firefox as well as google chrome.but i am not facing this problem if the browser is internet explorer.is there any problem with my IIS? or in the browsers?
View 1 Replies
Jul 28, 2010
I am currently making the switch over from Visual Studio 2005 to 2010. In 2005, you were able to right click on the 'web references' folder and update all web reference within that folder. However, in 2010 I cannot see an option to do this - I have to update each one individually.Anyone know of a way of updating web references in Visual Studio 2010 en masse?
View 2 Replies
Mar 14, 2011
I have a .NET 3.5 project that uses a .NET 1.1 dll. When I copy the 1.1 dll into the location referenced by the 3.5 project, the 3.5 project will not compile until I close out Visual Studio and reopen the project. I think this is related to refreshing the reference to the 1.1 dll but I'd like a setting to auto-refresh the references.
View 1 Replies
Mar 31, 2010
I am trying to create a set of WCF web services for an existing website that uses web site instead of a web application project. I would like to create a DLL that I drop into the Bin folder instead of writing all my code inside the App_Code directory. Ideally, I want to create a project and reference it from the web site, but I am running into a difficult situation.
The DLL will need to reference configuration and other DLLs located inside the bin folder of the website causing a circular reference. How do I get around this issue?
View 3 Replies