web-deployment-project

Web Deployment Project Team Build Error

Visual Studio 2008 Web Deployment Project Team Build ASPPARSE Error I seem to have a common problem; one that is showing up but does not have a clear solution. I have a Visual Studio 2008 project structure that contains several projects that are class libraries, a web application project, and a recently added web deployment project. I...

Web Deployment Projects, Web Application Projects and Team Build 2008

I've switched from a Website Project to a WAP (Web Application project). The WDP (Web Deployment Project) is used to set and potentially in the future make other web.config changes. However I notice that the team build is building everything twice, once on behalf of the solution file and then again because of the WDP. Any idea how I c...

Web Deployment .vdproj file changes every time I rebuild my solution

I'm using Visual Studio 2008 for an ASP.NET web application. I've included a Web Deployment (Setup) project as part of the solution. Each time I rebuild my solution, the underlying .vdproj file changes. Specifically, MsmKey and OwnerKey values, which appear to GUIDs, are regenerated even though I didn't add any new references or other...

Deploying a Django Opensource Application with dependencies

I'm working with a friend on a web application we'd like to distribute and we're working in Django. I'd like to make sure deployment is as easy as possible for potential users. It seems that Django uses shared installed libraries alot and I'd like for folks to just need to download our latest version, unzip, edit a config file or two a...

Performance benefit to pre-compiling web application project set to be updateable?

Is there any performance benefit to pre-compiling an asp.net web application if it's set to be updateable? By setting the pre-compiler updateable flag it doesn't pre-compile the aspx, ascx, etc. so those still have to be compiled at run-time on the first page load. Everything else in an ASP.NET Web Application Project is already compile...

Deploy asp.net application without compiling DLL

When I publish any type of asp.net application, my code is precompiled into various assemblies. I would like to avoid this so that I can upload an aspx page and its corresponding codebehind file. I understand the benefits of doing it either way, but what is desired here is the least risky way to publish changes. How does one properly ...

How is the ExcludeFromBuild itemgroup supposed to work in Web Deployment Projects?

I added an ItemGroup for ExcludeFromBuild items in the PreBuild target in my Web Deployment project: <ItemGroup> <ExcludeFromBuild Include="$(SourceWebPhysicalPath)\Test\**\*.*" /> </ItemGroup> After the build the assembly in the output still contains the compiled classes from the files in ~/Test. That's not what I expected. Here i...

How to convert a Tomcat webapp to an Oracle Application Server webapp?

I have a webapp that runs perfectly in Apache Tomcat 5.5 and I need to "convert it" so it can be deployed in an Oracle Application Server 10.1.3. Right now I make a WAR file of the aplication, paste it in the "webapps" directory of the Tomcat installation and then start the service (this works with Windows and Linux). Deploying the same...

Server Error in '/domain/website' Application.

I am getting following error while i deployed the website.. Server Error in '/domain/website' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It cou...

How would I include a (VFP) merge module in an ASP.NET Web Deployment Project?

I have an ASP.NET application that is installed using a Web Deployment Project. I'd like to add the Visual FoxPro merge module to the installer. Does anyone have examples of how to do this - or how to install any merge module in a Web Deployment Project? Going to WiX will be my fallback, but as the Web Deployment Project is working effe...

ASP.NET precompile fails to merge a single user control

I have rather large third party ASP.NET WebSite project that I precompile and merge using MSBuild and the Microsoft Web Deployment targets. I don't precompile the .aspx and .ascx files, only the codefiles. During the precompilation phase, the user control is compiled into an assembly that is not merged into the final WebSite.dll assemb...

Changing web.config values through a Web Deployment Project in VS 2005?

I need to change the values for this section during the install, specifically the the stateConnectionString: <sessionState mode="Off|InProc|StateServer|SQLServer" cookieless="true|false" timeout="number of minutes" stateConnectionString="tcpip=server:port" sqlConnectionString="sql ...

Updating web.config with an MSBUILD task

I'm using an Web Deployment project to do a few post build tasks on a website I'm deploying. I want to use a FileUpdate task to update my web.config and change the compilation mode from debug="true" to debug="false". So, from this <compilation defaultLanguage="c#" debug="true" /> To this <compilation defaultLangua...

Can I use the ReplaceConfigSections task in a non-web config file?

Brennan Stehling blogged back in 2007 about how to make use of the MSbuild tasks in Web Deployment Projects to merge web.config files directly in an MSBuild script without having to create a separate WDP project. I'd like to use this technique in a non-web project (in this case a Windows Service exe app). I'm currently trying this dire...

Publish an web application on build with NAnt, MSBuild or any other tool

I have a scenario where I have to setup a test environment where I want to be able to tell my NAnt or other build tool to make an new IIS web application, put the latest bins in the newly created IIS web application, and post me an email where the new address and port where the new application are addressed, is this possible and how? whi...

deploy java ee application to another port than 8080

Just wonder if i can deploy my java ee application in any application server for eg: glassfish, and user are able to access without typing the port number, for eg:http://abc.com (my current application url will be http://abc.com:8080) as from my knowledge, i might need another web server like for eg:Apache to redirect request to applica...

Pre-requisites in web deploy of win app.

Hi all, I have a win form application that is deployed through a web site using the one click. In the publish tab of the properties of the project, i click the Prerequisites button to add .Net 2.0 and Installer 3.1 and nothing else. I publish my app. When clients go to run the app from the web site using the launch (as the run doesn't...

Why do the EnvDTE.dll and dte80a.olb files appear in Detected Dependencies in my VS2008 web deployment project?

I have a VS2008 web project which was originally migrated from VS2003. In my solution, I have a web deployment project which uses the Primary Output and Content Files (+ some support files) from this web project to build an msi package. The problem is that under "Detected Dependencies", I see the files EnvDTE.dll and dte80a.olb. Furthe...

VS2010 : Merge WebSite assemblies as in Web Deployment project

Hello, is it possible to make a single assembly for whole WebSite in Visual Studio 2010? With Web Deployment Project i can do this in VS2008, but it is not compatible with new version.. ...

Web Deployment Project failing build (Visual Studio 2008)

I am trying to build a Web Deployment Project in Visual Studio 2008 and it keeps failing and I am not sure why. Error: ------ Build started: Project: website_deploy, Configuration: Release Any CPU ------ if exist ".\TempBuildDir\" rd /s /q ".\TempBuildDir\" 'C:\Documents' is not recognized as an internal or external command, operable pr...