Rebuild Project Containing References To Dll - If Updated?

Jun 11, 2010

I have a solution containing 4 class library projects and one "web site" project. The web site project contains references to the 3 class library projects, whenever I make changes in any of the class library projects, the only option I see is to rebuild the web site which takes a lot of time. Is there any option that I can only update the dll references and the changes are reflected in the web site project?

View 1 Replies


Similar Messages:

C# - Determine Project References To Mscorlib?

Jan 18, 2010

I've got an ASP.NET web site project that for some reason is insisting on referencing both mscorlib 1.0.5 and mscorlib 2.0, and I can't figure out why.

I've analyzed all the referenced DLLs using NDepend, and they all appear to only reference mscorlib 2.0. I've got a couple web references, but I can't imagine why that would create an additional reference to the 1.0 dll.

why I'd be getting this additional reference, or what I can use to find out that information? NDepend is great, but just comes back and says "found 2 references, using the newer version".

View 3 Replies

Cannot Find References To Other Pages In Project

Apr 8, 2010

I have two pages, say pageA and pageB, with code behind classes CodePageA and CodePageB. I would like to reference an instance of CodePageA in CodePageB, but I'm getting a

Compiler Error Message: CS0246

Both of my classes are in the default namespace. Can anyone give a hint of whats going on?

View 3 Replies

Configuration :: Lost References While Building Project

Oct 14, 2010

i have a webapplication project which uses some functionailty from class library project, i am Using VS2010 TCP 4.

so the class library is a reference in this webapplication project,

unfortunatelly, when i build the webapplication, the class decleration has been lost!!!, and the message appear "The type or namespace name 'ClassName' could not be found (are you missing a using directive or an assembly reference?)" !!! i must delete the class reference from the webapplication and re-refrence it again !!!

but still when every time i build the project the reference decleration removed !!! does that error in VS or what ?

View 1 Replies

Get Around Circular References In Visual Studio Web Project?

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

Visual Studio :: Find A Website Project References?

Mar 17, 2010

I want to convert my website project to web application project. First things I need to add references to new web application project. When I click "Show All Files" from Solution Explore, web application shows References Node. However, Web site project does not show References node. How can I find what references in my web site project?

View 3 Replies

Configuration :: Stop Automatic Update Of Assembly References In Project

Nov 17, 2010

On my development machine I have VS 2005. I had installed Crystal Reports 9 and then later I installed Crystal Reports XI R2 on it as well. I needed both on my dev machine to support 2 different vendor applications. I have a .NET 2.0 web application that uses crystal reports objects. Now my assemblies in webconfig file contain references to both versions of CR installed on my dev machine which is giving me 'ambigous reference' errors on compile. I opened up project properties and deleted the new references (I want to stay with using the CR 9 dlls in the GAC). This fixes up my webconfig nicely.

However VS 2005 automatically re-updates and adds all the CR XI R2 refernces I just deleted a moment ago. Is there a way to sto VS 2005 from routinely updating my references, a radio button or a trick to letting me have complete control over my references, at long enough for me to debug , build the site and deploy to my production server which does not have CR XI R2 installed on it?

View 1 Replies

C# - SQL Server Reporting Services: Web References Versus Assembly References, Poor Performance

Feb 16, 2010

I am using Reporting Services to render a report directly to PDF. It requires that I use two web references: ReportExecution2005.asmx and ReportService2005.asmx. The performance on web references seems really poor. Since my web server (IIS7) and my SQL Server (2008) are on the same box, is there a way I can reference them directly? If not is there any way I can explicitly cache them or something. First load is really really slow, second load is perfectly acceptable.

View 2 Replies

SQL Server :: Why Are All Columns Updated Not Just The One Wanted Updated

Nov 21, 2010

Here is my code. I just wanted to update one column. Why is everything getting NULL put into it?

[Code]....

[Code]....

View 5 Replies

JavaScript - Mvc Script And Style References / Include Script And Style References That Will Not Break On Deployment

May 11, 2010

I'm trying to include script and style references that will not break on deployment, however I can not even get the references to work locally. I have tried using Url.Content() and MVCContrib's <%=Html.ScriptInclude("")%>.

My scripts are in a Scripts folder on the root of the site; my styles are in the usual Content/css/ folder.

The scripts render like this:

<script type="text/javascript" src="/Scripts/MicrosoftAjax.debug.js" ></script>

This will not work in a view page in the Views folder. What am I doing wrong and what is the best way to handle this?

I would have thought Url.Content() would at least work for styles but used in my master page, the link rendered

<link href="/Content/css/Site.css rel="stylesheet" type="text/css" />

This does not work, because the Master Page is in a Shared folder, so what is really the way forward with this?

View 2 Replies

AJAX :: How To Rebuild The Tabcontainer

Mar 29, 2010

I created dynamic the tabpanel of tabcontainer, and the tabpanels change depended on the item which chooses from dropdownlist but the problem is tabcontainer keeping the last tabpanel and create another tabpanel and I couldn't remove them how I can rebulid the tabconatiner each postback

View 2 Replies

Session Empty In IIS After Rebuild?

Feb 19, 2010

I'm working on an ASP.NET MVC web application and I've made my own authentication module, which is session-based (no cookies). The problem is: When I rebuild my application, I'm automatically logged of (session is empty).

Normally this is not a big problem because my application is not 'automatically' rebuilding in a production environment. But I've also made a module that changes the resource-files and after a modification of a resource file, the application seems to rebuild automatically.

So my actual question: Is it possible to 'keep' the session variables/stay logged on after a rebuild?

View 2 Replies

Rebuild Whole Page On Callback?

Mar 15, 2010

In asp.net is it a requirement to rebuild the whole page during every callback? For example my web page is split into three distinct areas and I have an update panel for each area. Lets say I want to update the third area, do I have to bother with any processing of the other two areas?

For example lets say there is a grid view in area two. The update panel in area three callbacks to update its content. Do I have to rebind the grid in area two?

View 2 Replies

Rebuild All Apps That Use A Modifed Library Dll?

Nov 24, 2010

I have several small web apps that were developed in VS 2005. Included among these are several class libraries used by many of the apps. I've begun to develop in VS 2008. Today I had to add to one of the libraries that was originally generated by VS
2005.

My question, now that I've rebuilt the class library using VS 2008 do I need to rebuild all the small apps that use this library?

Background: We have a production website that is composed of several small webapps. The dlls reside in the bin folder and the .aspx pages in the appropriate folder within the website structure. If I move this changed library dll to the bin folder, are all the pages that used the old library dll going to break? The changes I made to the library class will not cause them to break.

View 3 Replies

Keep Visual Studio From Deleting Everything From Bin/ On Rebuild?

Feb 1, 2010

I have a web application project. I have DLLs that I reference in the project stored in my bin/ folder. Well, whenever I do a rebuild or clean from Visual Studio, it will delete everything in that folder. How do I prevent this from happening?

View 3 Replies

Changes In Aspx Files Won't Show Until Rebuild?

Dec 22, 2010

As I understand it, I should be able to change an aspx file in VS, update in the browser and then see the changes without rebuilding the entire solution. For me thats not the case...

Edit: I use VS 2008, .NET 3.5 and development server. It is a Web Application project and I always need to rebuild to see the changes in the aspx files. I use master pages and aspx controls. I use edit and continue and have no problem updating the code behind files without rebuilding.

View 2 Replies

Configuration :: Modified .vb File Not Applied After Rebuild?

Oct 19, 2010

I recently purchased the source code of an existing DotNetNuke module in order to make a few modifications. The source of the module contains various .ascx, ascx.resx and .ascx.vb files. as well as a main.dll file. Lets call them:

myfile.ascx
myfile.ascx.resx
myfile.ascx.vb
myfile.dll

I'm using Visual Studio 2008 PRO.

I've made a few changes to "myfile.ascx.vb". When I rebuild "my_module" via Build --> Rebuild my_module, I get confirmation that there are no errors in the Error List. I then upload a fresh copy of "mydll.dll" from the "/obj/release/" folder on my local machine up to the "/bin/" folder on my DotNetNuke site.

The issue that I'm having is that the changes that I made to "myfile.ascx.vb" are not appearing on my DotNetNuke site. Are there additional files that need to uploaded? I've checked timestamps on all of my local files and the only files that are updated after the build is "mydll.dll".

View 2 Replies

Rebuild Solution In Vs2008 Without Visual Studio?

Apr 1, 2010

How can we Rebuild solution in vs2008 without visual studio?

View 1 Replies

C# - How To Repair/Rebuild .csproj File From Code Files

Jan 10, 2011

I was working on a .Net 2.0 application. Late at night I upgraded it to .Net v.4. Then, as SVN was complaining I started to do manual conflict resolution. Even later than that I tried to check in my changes, then hit some conflicts so manually merged changes from the two different .csproj files.

I can't get back to where I was and rolling back to the previous version makes me lose all the code that has been written for it.

So I'm looking for a quick/dirty and reliable way of making sure my application code doesn't get lost?

View 1 Replies

State Management :: Session Suddenly Become Null - Need To Rebuild

Jul 28, 2010

I have a strange problem with the session. I have global.asax with code in the session_start event. This code calls some code that I have in a helper class. When I first run the project in debug everything is fine. However when I stop debugging and then re-run the project it fails and I have discovered that once the code in the helper class is hit the session is null. If I look in the global.asax session_start code the session is instantiated before it enters the helper class. If I then re-build the project and the re-run it everything works fine again! Why does the session suddenly become null and why does a re-build fix the problem?

View 3 Replies

Visual Studio :: Build And Rebuild Yielding Different Files?

Apr 16, 2010

I've got a solution that contains several projects. There is a main exe project which I'll call MyProj.exe that references several other projects which reference yet other projects in the solution. Additionally a few projects in the solution are not in MyProj's reference chain and aren't regularly built. There is 1 project (a class library project) named Payment which is giving me a particularly hard time. The two of MyProj's references have a project reference to Payment.dll. So the reference heirarchy looks like this:

- MyProj.exe
- Transactions
- Payment
- Accounts
- Payment

When I right click MyProj in the Solution Explorer and choose Build, everything works fine, but when I choose Rebuild, I get the following results:

Payment.dll is deleted but never rebuilt. It doesn't exist in the output directory MyProj.manifest in the output directory doesn't have a reference to Payment.dll. (What is this file? I don't remember normally seeing it in other project's the output directories.) 19 of the project .pdb files are deleted and not rebuilt This is a big problem for me because this is a ClickOnce application and when I'm publishing, Payment.dll isn't getting included in my deployment which is a problem I suspect is closely related.

View 1 Replies

C# - Visual Studio 2010: Breakpoints Don't Work After Rebuild

Jan 25, 2011

I'm working on a VS2010 Solution containing an ASP.NET Website Project and 8 c# class libraries. All projects are set to compile under .NET 3.5

When I set a breakpoint somewhere in the class libraries, the debugger breaks correctly and everything is fine. If I then stop debugging, modify code in the class library, and start debugging again (which of course rebuilds the libraries which were modified) the debugger ignores the breakpoints.

Has anyone else experienced anything like this? I'm lost and it's extremely frustrating to not be able to debug after making even a single line change and rebuilding.

Visual Studio 2010 Ultimate Windows 7 Professional 64-bit

View 2 Replies

Visual Studio :: Modifying Usercontrol Layout Force A Rebuild?

Nov 24, 2010

When editing a UserControl (.ascx) in my project, it forces a rebuild of the website when requesting the page. This really gets annoying when programming any large project, the build time goes up to 15sec+.

In the last few days I found myself looking at a blank screen more often than programming. This gets frustrating, all the waiting.

View 1 Replies

How To Get Code Coverage Working On A VS 2010 Project/Cannot Initialize The Project 'Project Name'

May 23, 2010

When I turn on Code Coverage in my test settings, on a project that references the Unity DI container I get the following error:

Cannot initialize the ASP.NET project'{Project Name}'.

The event log specifies the following reason:

Could not load file or assembly 'Microsoft.Practices.Unity, Version=2.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name signature could not be verified.

View 2 Replies

How To Get Rid Of Any Or All References To Ajax 4

Sep 28, 2010

I looked at Ajax 4, but on my XP box I had errors I couldn't work with. So I uninstalled Ajax 4 and installed Ajax 3.5, then copied the DLL files to all the Bin directories of the web sites on the development box. I thought everything was fine, but after several hours of development, I again started getting the error:AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.

View 1 Replies







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