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


Similar Messages:

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

Web Forms :: Framework 4.0 Client Profile Lost References?

Oct 15, 2010

i have two projects A + B,

A is VS2010 and "FrameWork4.0 Client Profile",

B is VS2010 also but only "FrameWork4.0",

when i build project A, the references lost !!! is there a way to keep A as the same Framework version "4.0 Client Profile" and also keep the references for B not to be lost?

this is because i should keep the Framework version to stay "4.0 Client Profile".

View 1 Replies

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

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

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

MVC :: Getting Error On Building Project

Jan 31, 2011

I'm trying to use DropDownList like this

[Code]....

and when I build my project I get this error:

Error 2 'System.Web.WebPages.Html.SelectListItem' does not contain a definition for 'WriteLiteral' and no extension method 'WriteLiteral' accepting a first argument of type 'System.Web.WebPages.Html.SelectListItem' could be found (are you missing
a using directive or an assembly reference?) c:UsersUser1AppDataLocalTempTemporary ASP.NET Fileswebmvp8a9a9ab08b762337App_Web_nzuoptnz.3.cs 71

How I can fix this?

View 1 Replies

Building A .net 1.1 Project Using Msbuild?

Dec 7, 2010

The Web project we are working on is built against .net 1.1 framework.We would like to automate the build process for this project by using msbuild.However MSBuild only targets 2.0 framework. So how can this be done if we like to use MSBuild or MSBEE(this asks us to convert the web project to new version by opening up in Visual studio IDE)?We cannot convert the project to suit to 2.0 framework

View 1 Replies

.net - Visual Studio: Check Out File When Building Project?

Sep 2, 2010

I have a post build event that combines my JavaScript files and outputs to Production.js, however if Production.js is not checked out, the build fails. Is it possible to automatically check Production.js out when a project is built? [Edit]If possible using a post-build event, does anyone know how to do this? I am using Visual Studio 2008.

View 3 Replies

Visual Studio :: Building A Project From Website Files?

Oct 30, 2010

I have been asked to do some work on a website. I downloaded all of the files and chose "open website" in Visual Studio. In the picture below you can see the file structure. When I run the project I get some errors such as "could not load type 'AdminSite.Partner.Listing" or "file project/adminmaster.master does not exist'. Now, those files are indeed there. I have noticed that within the Admin folder and the Home folder there are compiled DLLs in the bin folders. Also, there are project files within each of those folders. I've tried opening the project files and the projects only encompass the files within each of the Admin and Home directories respectively. I'm just wondering what the best way is to set up this solution. As I've done so far, by opening it as a web site, why is it not seeing the DLLs in the bin folders when I run it? Do I need to reference them somehow?

View 5 Replies

Session State Must Get Destroyed Each Time Building Project In Web Applications?

Mar 27, 2010

is session state must get destroyed each time we are building our project in web applications? this is really annoying because i have to re-log and get to the page i'm currently working on each time i need to build my project...

View 7 Replies

Building A Project With MSBuild Which Has Only Class Files Without A Main Method?

Dec 7, 2010

I have a project which contains only .vb files. It doesn't include a suitable main() method to detect the entry point?

View 1 Replies

AJAX :: Simple Project Building Fine But No JavaScript In IIS7?

Mar 17, 2010

I'm just getting started with the ASP.NET AJAX Control Toolkit and got it installed into Visual Studio 2008 without issue.I created a very simple sandbox web app by following several tutorials. Some pages have a single button with a modalpopup event, others are using a calendar extender on a textbox. I've gone through many, including ones that you can interact with and seeworking on the website.Each time, VS builds the web app without issue and deploys and runs. The problem, however, is that "no AJAX happens" when I try to use the app. This has happened on two separate PCs running Windows 7 - one with Pro and another running Ultimate, all 64-bit One machine was also running Visual Studio 2010 beta 2).When I hit a page with some of the toolkit controls, the page renders normally and I see a lot of script references in the generated HTML so something's happening. But take one example:

[Code]....

View 3 Replies

Lost .netcharting Functionality After Changing Project From .NET 4 To 3.5?

Aug 12, 2010

I have a project that uses the asp chart control. The project was developed to use .net 4.0 but the server uses version 3.5. I changed the project to 3.5 but now my charts don't work. When I change it it tells me that system.web.DataVisualisation.dll will be removed.

View 1 Replies

Visual Studio - Way To Create Project From Existing IIS Website, Building Stuff

Sep 27, 2010

I'm left maintaining a proprietary codebase from a third-party vendor. The vendor is still sort of around, but support is limp. The site is ASP.NET.I have made some changes but I am having a really hard time getting IIS to compile these changes in. The bin/ directory has what I believe is a precompiled dll for the core classes. I've changed these but it doesn't recompile. I have tried deleting the dll but then the app refuses to build saying that the Global.asax can't inherit the type anymore, so I don't really know how to rebuild with changes.

View 3 Replies

Configuration :: Updating Assembly References With ILDASM?

Jul 26, 2010

I have a hundred or so .Net 1.1 legacy assemblies that reference the unsigned Assembly_A. I have no source code for any of these assemblies.

We have developed Assembly_B, which contains upgraded, backwards-compatible types originally found in Assembly_A. I want those hundred legacy assemblies to now reference Assembly_B.

I would really rather not use Reflector to decompile all these. Is it possible to use ILDASM to produce the IL for each of these legacy assemblies, update the references, use ILASM to create the new DLL, and pop the new version into the /bin directory?

View 1 Replies

Configuration :: Namespace Not Found Even Though Dlls And References Are Present

Jul 1, 2010

The type or namespace name 'DocumentFormat' could not be found (are you missing a using directive or an assembly reference?)' errors even though the dll is on both machines and references are in the two relevant projects. The errors are only coming up in one project in the (web) application and the app is building as expected on my machine.

View 7 Replies

Configuration :: Delete Class References From Temp Folders?

Mar 13, 2010

In reconfiguring my site, I have deleted a few class files that are no longer needed. Upon deletion, intellisense is showing an error:

Error 8 Type 'Class1' is not defined. C:WindowsMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesandersonwoodcrafts.com7a5f45392b25e40Sources_App_Codeprofile.cdcab7d2.vb 42 56 C:...andersonwoodcrafts.com

I have attempted to delete these manually from the file system, but it didn't correct this error.

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

Lost Visual Studio Project File On An Existing Databas Driven Website?

Mar 28, 2011

I have been asked to take over and modify an existing dynamic web site made with vb and asp 3.5 on a shared hosting enviroment. The original programmer left and I have no access to the original documentation of the site, if any. Nevertheless, I have complete access to the web server and database server.

How can I import the existing wen site into Visual Studio and recreate the development enviroment.

I'm new to asp.net, but U have prior experience with VB and asp web development.

View 3 Replies

Configuration :: Would This Affect Process Of Building

Jul 6, 2010

[Code]....

Would this affect process of building?


View 4 Replies

Configuration :: How To Deploy Project And Web Services Project And Make Them Communicating

Mar 21, 2010

I have created 2 projects in a solution. One project contains Asp.net classes with login page and different other pages.

Another project contains a web service.

When I launch the solution(click F6 in visual studio 2008) the login page can access to the method of the webservice. Both projects are launched.

However when i added this 2 projects into IIS and deploy them (with create command) the login page cannot contact the method of the web service. Even though the web service is running because i can acces it manually. But they cannot communicate each other.

View 3 Replies

Configuration :: Using C# 4 And Has A SQL 2008 Backend And Then An CMS Custom Building?

Oct 19, 2010

experienced pros on the best way of doing something.First let me give you the broad view of everything.I have a main site (http://www.ffinfo.com/) which is built completely in ASP.Net using C# 4 and has a SQL 2008 backend and then I have an CMS I am custom building to administer the site.At some point I hope to have more people playing the Final Fantasy games and helping me collect data to add to the site so I am using the CMS to both add/modify data in the SQL DB and genereate new pages on the main site as needed.I want to compile the main site so it runs faster as my server has limited resorces and after a reboot or upload of new pages it takes a little bit for the first visit to run.Now here is the problem.

When I use the CMS to make a new page I currently copy over a .asp and .aspx file from a template into the appropreate folder and am good but if I want to compile that page along with any other new pages made I have to scower my FTP for them, download to the local machine,build and publish.This will very quickly become a lot of work,not to mention I can not really take advantage of OOP.

So my question is this, how do I go about doing this better? Have I taken the wrong approce from the start and need to find another road or is the road I am ok I just need to improve my transportation?

View 4 Replies







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