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
Similar Messages:
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
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
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
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
Nov 1, 2010
I am developing a web site in Visual Studio 2008. I have a project for the web application and several class libraries as references. When I add the references I select the file under bin/debug in the class library folder. When changing the project to release mode the references still point to the .dll in the debug folder. Shouldn't this change automatically. How should I add the references so that debug and release are properly referenced?
View 1 Replies
Apr 12, 2010
I am using Visual Studio 2008. Last few days I am getting an error while trying to add or update web reference.
"The components required to enumerate web references are not installed on this computer. re-install Visual Studio."
I tried some commands like "C:Program FilesMicrosoft Visual Studio 8Common7IDE>devenv /resetskippkgs" in VS Command prompt, still I am getting the same problem.
I also found in one post to uninstall "Microsoft Source Analysis Tool For C#" from the machine. But in my machine the tool is not installed.
View 3 Replies
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
Aug 4, 2010
how to run windows applications in hp touchsmart
View 1 Replies
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
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
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
Nov 15, 2010
i want to know how do i deploy ASP.NET web applications on client machines which runs with the visual studio development server rather than configure it in the IIS on the client machine? I know its possible and telerik also uses this approach.
View 1 Replies
Feb 3, 2011
I just read the MSDN Magazines article on Dynamic Data and it got me wandering, could I use this in MVC3? Then with a little research the answer is yes, but you have to copy all these assemblies, modify the global.asax file etc. The same if one wanted to use web forms and MVC3. Wouldn't it just be easier to be able to choose a blend option when creating a new application in VS? My suggestion would be if one wanted to create a hybrid application that blended two different application styles, one could just choose multiple apps at the start, such as MVC3 and Dynamic data; and VS would just add or modify the necessary references so one could use the two development styles in a single application.
I realize that some would say this would probably defeat the purpose of the different styles, but if developers are gong to do it anyway, why not be supportive. What did Emerson say? "A foolish consistency is the hobgoblin of little minds".
View 1 Replies
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
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
Mar 18, 2011
I'm having trouble understanding when the site is considered "pre-compiled". As I understand what I've read, if I use the Publish or Build Deployment Package options from within Visual Studio then it is pre-compiling, but if I just use something like xcopy, then it is not pre-compiled.
View 2 Replies
Jul 10, 2010
Can i use web developer express 2010 to deploy applications or is it still in Beta?
View 1 Replies
Nov 15, 2010
I'm working with VS2010 and I wonder should I use one Solution for multiple web applications (web sites) or is it better to create separate web applications (with it's own solution) for each web site?
View 4 Replies
Jul 14, 2010
Can you edit a website (in Visual Studio) on a server from your PC by going:File -> Open Web Site -> File System -> My Network Places -> Entire Network -> Microsoft Windows Network -> FooDomain -> FooServer -> Foo_Public_Shared_Folder (which is actually a web applicaiton in C:InetpubwwwrootfoobarWebApp).I suspect it is bad practice to edit a website that is pubished on a server like this - or at least highly unusual? Would I be right in saying that you should create a new website on your local PC then build and publish to the server in question?
One last point as well -if you need to make a copy of a published website and make some enhancements without losing the original - how can you do this i.e. you don't have the original Visual Studio project only the published site (i.e. this could be made by some web site authoring/wizard tool).
View 3 Replies
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
Jun 10, 2010
I've been using VS2010 to look at the new ASP.NET and specifically MVC 2. I have gone through the 0.8 release of the MvcMusicStore sample on CodeProject (good job so far).
Now, I'm working on a project to explore MVC more deeply and after creating a table in a local SQL table, I went to create an ADO.NET entity data model to work with the table data. When I get to the list of templates, the total list of templates are:
SQL Server Database Text File XML File XML Schema That's everything (meaning when C# is selected at the top of the dialog's installed templates).
I've re-installed VS2010 (gone through the control panel and the maintenance option for VS2010). There's no Linq, Data Set, Database Unit Test, nothing....
It was there before, it's not now.
UPDATE : I did find this article: [URL] I did run devenv /installvstemplates. It ran without errors, however, the error still persists.
The article said if the "solution" was not a real solution, to re-install VS2010 (Really???). So I went to do so. The ADO.NET entity object framework is installed.
Why would VS2010 "forget" something so intrinsic?
View 1 Replies
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