Web Deployment Project failing for Web Application Project

I have a solution containing 40+ projects including a Web Application Project and Web Deployment Project.  When I compile the solution excluding the WDP, it is successful.  When compiling including the WDP, it fails.  The failures are odd because they include compile time errors with the user controls code-behind complaining ala:

Error 19 'Picis.Web.Applications.UserPreferences.UserPreference' does not contain a definition for 'GetCategoryName' c:\PWA\Development\Sources\PicisWeb\Picis.Web\Apps\UserProfile\UserPreferences\Engine\UserProfileEngine.ascx.cs 43 1 Picis.Web.Deploy
Error 21 No overload for method 'UpdateGroupPreferences' takes '3' arguments c:\PWA\Development\Sources\PicisWeb\Picis.Web\Apps\UserProfile\UserPreferences\Engine\UserProfileEngine.ascx.cs 88 1 Picis.Web.Deploy

When looking at the assemblies that are being called those definitions do exist.  Why would it be complaining about only those calls when many others (to other assemblies) compile fine.

Here is the output of the compiliation:

------ Build started: Project: Picis.Web, Configuration: Debug Any CPU ------

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "App_Licenses". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

Picis.Web -> w:\assemblies\Picis.Web.dll

Done building project "Picis.Web.csproj".

------ Build started: Project: Picis.Web.Deploy, Configuration: Debug Any CPU ------

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v /Picis.Web.csproj -p C:\PWA\Development\Sources\PicisWeb\Picis.Web -u -f -d C:\PWA\Development\Sources\PicisWeb\Picis.Web.Deploy\Debug\

c:\PWA\Development\Sources\PicisWeb\Picis.Web\Apps\UserProfile\UserPreferences\Engine\UserProfileEngine.ascx.cs(43): error CS0117: 'Picis.Web.Applications.UserPreferences.UserPreference' does not contain a definition for 'GetCategoryName'

c:\PWA\Development\Sources\PicisWeb\Picis.Web\Apps\UserProfile\UserPreferences\Engine\UserProfileEngine.ascx.cs(51): warning CS0436: The type 'UserProfileEngine' in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\picis.web.csproj\035a2dbc\39807fff\App_Web_pm1dcxrw.0.cs' conflicts with the imported type 'UserProfileEngine' in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\picis.web.csproj\035a2dbc\39807fff\assembly\dl3\739f9e6d\3c743475_bf94c601\Picis.Web.DLL'. Using the one in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\picis.web.csproj\035a2dbc\39807fff\App_Web_pm1dcxrw.0.cs'.

c:\PWA\Development\Sources\PicisWeb\Picis.Web\Apps\UserProfile\UserPreferences\Engine\UserProfileEngine.ascx.cs(88): error CS1501: No overload for method 'UpdateGroupPreferences' takes '3' arguments

c:\PWA\Development\Sources\PicisWeb\Picis.Web\Apps\UserProfile\UserPreferences\Engine\UserProfileEngine.ascx.cs(93): error CS1501: No overload for method 'UpdateUserPreferences' takes '3' arguments

c:\PWA\Development\Sources\PicisWeb\Picis.Web\Apps\UserProfile\UserPreferences\Engine\UserProfileEngine.ascx.cs(110): error CS0103: The name 'PreferenceGroup' does not exist in the current context

c:\PWA\Development\Sources\PicisWeb\Picis.Web\Apps\UserProfile\UserPreferences\Engine\UserProfileEngine.ascx.cs(183): error CS0117: 'Picis.Web.Applications.UserPreferences.UserPreference' does not contain a definition for 'GetValuesForGroup'

Done building project "Picis.Web.Deploy.wdproj" -- FAILED.

========== Build: 1 succeeded or up-to-date, 1 failed, 0 skipped ==========

Any help is greatly appreciated.

Paul

 

0
pactis
6/27/2006 3:21:11 PM
asp.net.vs-web-deploy-projects 789 articles. 0 followers. Follow

0 Replies
1129 Views

Similar Articles

[PageSpeed] 21
Get it on Google Play
Get it on Apple App Store

Reply:

Similar Artilces:

Web Deployment Project deploying files not included by Web Application Project
Recently my boss asked me to find a way to share a web site project between 2 separate projects which will only share a subset of the files in the folder.  I created 2 web applications projects in the folder and eliminated the web site project.  I discovered when I publish the web application projects, that it wasn't compiling the .as*x pages, so I looked into web deployment projects.  The problem I'm having with web deployment projects is that when I build them from the solution configuration, it copies all the files in the web project to the deployment folder and I c...

Error when Deploying and Signing Web Application project with Web Deployment project
I have a Web Application project that needs to be deployed and signed using Web Deployment projects. When I delete the global.ascx file I'm able to do the deployment and sign the output assembly. The error I'm getting without signing the assemblies is "An error occurred when merging assemblies: ILMerge.Merge: The target assembly 'HelloWorld' lists itself as an external reference.” .  Global.ascx or .asax? The usual cause of a signing error is when a reference is not signed.  Is the global.asax.cs or .vb marked as conte...

Web Application Projects with Web Deployment Projects...
Hi there,  Does anyone have any experience in using the Web Deployment Project pieces to deploy Web Application style projects (rather than the web site projects model)? We have a rather larger eCommerce site that uses WAP model (it was originally a website model, but we ran into so many problems with compile times, temp .dll file lockups at compile etc that we moved it to WAP a long time ago). What's strange is that the project compiles fine normally when we're not using the Web Deployment Project and everything is fine. However, the second we hook the WDP stuff up, we'r...

Web Application Project and Web Deployment Project
I went to http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx and downloaded the web deployment project. Installed it and tried to create a deployment project for my web application project. However, I do not get the menu item. I've tried this with existing WAP's, new WAP's, but no luck. I have VS 2005 team developer, with SP1 and Team Explorer installed.I've tried the steps mentioned through out this post: http://forums.asp.net/thread/1502324.aspx but still have no luck in getting the menu item.Any help would be appreciatedWayne...

Web Deployment Project with Web Application Project
I currently have a working Solution that contains 3 VB class library projects and one Web Application Project and it is working fine. I would like to use the web.config replacement functionality from the Web Deployment Projects. I add a Web Deployment project and keep the defaults, and the build is broken. Whenever I try to build, I get the following error: error ASPPARSE: Could not load type 'MyWebApp.Page1'. Done building project "MyWebApp.vbproj_deploy.wdproj" -- FAILED. I have searched on this and found some information, but it doesn't seem to help. I&#...

Web Deployment Project and Web Application Project
 Hi! Maybe I have missed something, but shouldn't there be possible to do a web deployment project of a web application project? I have followed this guide http://msdn2.microsoft.com/en-us/library/aa479568.aspx, but  I can't get it to work without building the web application project first. With TFSBuild it fails even if I build the web application first. The error looks like this: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v /WebDepWeb.csproj -p <MySourceFolder>\WebDepWeb -f <MySourceFolder>\WebDepBuild\Binaries\Release\_PublishedWebsi...

Benefits of creating a Web Deployment project for a Setup project for a website vs a Web Setup project
I'm creating an installer for a website.The only thing I require as input from the user (in Custom Actions) is settings for the web.config. My initial approach was to create a Deployment project from my web project ans use this as input to the Setup project.Couldn't I use a Web Setup project instead of a Web Deployment + Setup project to do the same thing?Issues I have found with the Web Deployment is that I cannot edit it's contents at installation time, I'm taking user input at installation time to write to the web.config that the Installer uses but of course this file is embedded in the W...

Difference Between Web Application Projects and Web Deployment Projects
....what's the difference? Web App Projects sounds like everythng I want, but what does it do that Web Deployment doesn't? First of all, here are two highly recommended blog posts that you may want to read about Web Application Projects and Web Deployment Projects.  http://weblogs.asp.net/scottgu/archive/2005/12/07/432630.aspx http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx In a nutshell, a web deployment project is associated with a web site project and is a step that you may want to take before your deploy your application.  You can do post processing on ...

Web Application Projects & Web Deployment Projects
What is the difference between both? I can't find the answer! thanks Hi, A Web Application Project (WAP) is simply another project model aprt from the default Website Model in VS 2005. WAP is similar to VS 2003 web project model. http://webproject.scottgu.com Whereas a Web Deployment Project(WDP) is used to deploy a web project and provides flexiblity while deployment. See this link for details: http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx Hope this helps, VivekSocial Networking Platform in ASP.NET || Join now: CodeASP.NET Community Please mark the most helpful repl...

Web Application Projects vs. Web Site Project- Where is Copy Project?
I have opted to use the Web App Project in 2005 (The 2003 Model)http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspxWhy is the copy project missing when this model is used? It was there in 2003?Thank you,Patrick http://www.SURFThru.com   SURFThru.com I wanted to bump this topic again to see if any Microsoft techs had any input on this item.SURFThru.com...

How to use web deployment projects with multiple web application projects.
I followed the guide on this page http://support.microsoft.com/kb/307467 "How To Create an ASP.NET Application from Multiple Projects for Team Development" and I now have my main app at the root of the application and I have all of the sub applications as sub directories of the root application.  It all works great when I do a normal debug build or a normal publish.  The problem is that I have nested sitemaps, nested master pages, and of course, nested web.config files.  Basically the root app has a master page, sitemap, and web.config file and each child app ...

Web Deployment Project & Web Application Project
Hi.It seems as if you don't have a "traditional" web project (i.e. not a Web Application Project) in your solution, the "Add Web Deployment Project..." option is  not available for a Web Application Project. However, once you add a "non-Web-Application-Project-web-project", the option appears.Thought I'd share if anyone else runs into the same issue. (Or maybe it's just my environment) Daniel Brüntesonhttp://www.numlock.se Hi Daniel, Do you have the lastest version of Web Application Projects?  I have the February release installed (http://msdn.microsoft.com/asp.net/reference/i...

Problem when deploying Web Application project over VS2005 Web Site project
Hi,  we ran into this issue yesterday evening when we were trying to deploy new code on production box. It was running previous version of our app that was VS 2005 Web Site project, but the new version was migrated into Web App project. New build was tested on sandbox and even on the same production machine (but under different, non public web site configured there) and was working fine. However, when we deployed on production web site, we got this error:Compiler Error Message: CS0246: The type or namespace name 'ProfileCommon' could not be found (are you missing a using directi...

Web Application Project & Web Deployment Project, but not aspnet_merge.exe?
I have a solution that is made up of 1 Web Application Project, and several different Class Library projects.  When I build the solution, I build the class libraries first and the Web App Project builds last.  Everything works perfectly.I have specific namespaces set up such as:MyCompany.MyProject (Class Library)MyCompany.MyProject.Common (Class Library)MyCompany.MyProject.Persistance (Class Library)MyComapny.MyProject.Web (Web Application Project, that references the other projects)I have been deploying to a staging area via the Publish Web feature of VS 2005 (which then publ...

Web resources about - Web Deployment Project failing for Web Application Project - asp.net.vs-web-deploy-projects

Application - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Pre-Christmas job application rush hits Australian public service
Speed required for pre-Christmas job window opening for public servants. Check out who is hiring.

Second visa application 'likely' to be approved
The family of a terminally ill Pakistani student can 'hopefully come to Australia sooner rather than later' says Immigration Minister Peter Dutton. ...

Tashfeen Malik's visa application under scrutiny - Business Insider Deutschland
The US government has released the visa application for Tashfeen Malik, who along with her husband killed 14 people in an attack in San Bernardino, ...

MBA: Mortgage Applications Decrease in Latest MBA Weekly Survey, Purchase Applications up 34% YoY
From the MBA: Mortgage Applications Decrease in Latest MBA Weekly Survey Mortgage applications decreased 1.1 percent from one week earlier, ...

Cal State Schools Get Record Number Of Applications For 2016 Term
Schools in the California State University system received a record number of applications for the upcoming 2016 fall term, with more than 830,000 ...

German-Based Spirea Promotes Decentralized PV Applications In Uruguay
... Its technical operations specialist, Laurie Lawrence, pointed out that Uruguay [&hellip German-Based Spirea Promotes Decentralized PV Applications ...

Visa application of San Bernardino shooter released
CNN Visa application of San Bernardino shooter released CNN (CNN) The visa application of one of the San Bernardino shooters was released ...

NTU research team discovers optoelectronic application for molybdenum disulfide
A research team under the National Taiwan University (NTU) has discovered an optoelectronic application for molybdenum disulfide (MoS2), a 2-dimensional ...

Pre-K Applications Begin Jan 25, a Month Earlier Than Last Year, City Says
The DOE has moved the process up to Jan. 25 on the heels of a similar schedule shift for kindergarten. MANHATTAN — The application period for ...

Resources last updated: 12/30/2015 4:08:55 AM