Visual Studio :: Unable To Use Web Deployment MSBuild V10 With AspNetMerge .NET 4

Jul 8, 2010

I am using Web Deployment v10.0 RTW and .NET Framework version 4.0 MSBuild.

There were some problems with incorrect settings and resulting in errors. I had to pass in my own values in order to continue to the next step:

[Code]....

With the above setting, it builds in .NET 4.0 instead of 2.0, but I am having trouble with AspNetMerge:

[Code]....

I was able to solve the above error by changing this inMSBuildMicrosoftWebDeploymentv10.0Microsoft.WebDeployment.targets:

[Code]....

But soon came to another error:

[Code]....

So I changed some more to make it work:

[Code]....

But again hit with another error but this one I can't solve:

(AspNetMerge target) ->

aspnet_merge : error 1008: The PrecompiledApp.config file is missing. Make sure the application has been precompiled with the Aspnet_compiler tool.

View 3 Replies


Similar Messages:

Visual Studio :: Unable To Understand The "build Deployment Package" In VS 2010

Jul 22, 2010

I don't understand how to use this feature called "Build deployment package" in VS 2010. I go to my properties and go to package/publish web and setup it up. I click "Create deployment package as zip"

I then build the deployment package and get a zip file.

When I look into and start drilling down in the folders I find I get a path like this

[Code]....

I don't understand why it makes all these folders and on top of it why is it my path to where my soultion sits. I don't like the fact that now everyone can look in the zip and see my accoutn name, where the file was sitting, that I am using subversion.

Then it makes it so confusing to when a error happens. I deployed it on my IIS windows 2008 server and ran it and I had a error show up. It pointed to the file where the error occured and the path was point to my desktop.For the longest time I could not understand why it was pointing to my windows 7 machine desktop when it was running on a windows 2008 server located in a different country.

It was not until I found out with the zip path it made sense. But that is confusing when it is pointing to paths that don't exist on that computer.

How can I change this?

View 4 Replies

Configuration :: Can Create An Incremental Deployment Package Using Either Visual Studio 2010 Web Deployment Projects

Mar 27, 2011

Can I create an incremental deployment package using either Visual Studio 2010 Web Deployment Projects or Web Deploy (Web Deployment Tool) .

I need to automatically select changed files from a source and destination or a change set on TFS and build a deployment package only with the changed files.

View 9 Replies

How To Use Nant And MSBuild To Build Debug Deployment

Jun 17, 2010

I have a Nant build script which referrences 30 other build scripts.

Each build script referrences a visual studio solution using MSBuild.

Each solution has 3 to 5 projects in.

Some projects are Class Librarys and some are Web Apllications.

The projects reference other projects both in their solution and out of their solution, so the projects do not use project references, they reference the the Release DLLs in the Bin folders of the other projects.

To use the software, I need to publish all the solutions together.

Which means I cannot do a deployment which is in debug mode.

Which means I cannot the step into and debug the code.

I would like to run the build script to get a deployment of the software which I can debug.

View 1 Replies

Visual Studio :: Unable To Install Visual Studio 2008 Professional Edition?

Aug 8, 2010

I downloaded Visual Studio 2008 Professional Edition via torrent.

It was working fine for months & i formatted my comp & when i tried to reinstall it is not getting installed !

It shows the following error !

and the error log file seems to be like this...

BUT.,

I'm able to use Visual Studio & i'm able to work in it....

I'm re-installing since 2 days for more than 4 times...

View 1 Replies

How To Obfuscate A Dll When Using A Visual Studio Deployment Project

May 5, 2010

I need to obfuscate a dll that is used in a ASP.NET project, the deployment project pruduces a setup.exe which I want to distribute. I have the VS 2008 Dotfuscator installed but when I build the deployment project the project that creates the dll is rebuilt before it is added to the deployment project and added to the setup.exe.

View 1 Replies

Visual Studio :: Web Deployment Projects In 2010?

Jan 18, 2010

This is getting me a little frustrated, and I looked around the net for the solution and was not able to find any as of yet.I'm trying to have Web Deployment projects in VS 2010. I have it installed for VS2008, but I was not able to find anything to install for VS 2010.I basically want to merge all outputs to a single assembly in 2010. How do I do that??

View 5 Replies

Visual Studio :: ClickOnce Deployment - Application Won't Deploy?

Jul 14, 2010

A few years ago, I built a desktop application for a client in VS 2005 that was deployed using Click Once. Recently, the client asked me to make a simple modification to the site.

I no longer had VS 2005 (or the same machine for that matter) and was forced to upgrade the application to Visual Studio 2008.

Most of the application is fine in VS 2008 - however I am unable to Publish the application. During the project conversion process and whenever I try to publish the application, I receive a message like this:

"This project includes a password-encrypted key used for signing. Enter the password for the key file to import the key file into the local crypto-store database for use."

Unfortunately, I don't have any idea what the password would be for this application.What options do I have? Is there a way to get this working again without having to rebuild the application or have all of the users uninstall the application and reinstall it?

View 1 Replies

Visual Studio 2010 - WDP Or Publish For Automated Deployment?

Jun 21, 2010

I'm about to upgrade to Visual Studio 2010, and I'm learning that there are now a few options for deploying web application projects. I've been using Web Deployment Projects in 2008, and my initial thought was to do the same in 2010.

Is there any advantage to using Publish or the Web Deployment Tool over Web Deployment Projects?

I need to automate the process so that the build and the deployment can be run from TeamCity. I'd prefer a method that would allow me to use the Visual Studio (sln) Runner but a custom MSBuild script would be OK too. See Web Application Deployment Workflow with SVN and TeamCity for more information on my current build/deployment workflow.

View 1 Replies

Configuration :: Visual Studio 2005 Web Deployment Project Add-In?

Feb 12, 2011

According to this website, I can go to Visual Studio 2005 Web Deployment Projects, and download the add-in, but I am not finding what I need. I have searched other sites for the add-in as well, but with no luck. where I can download the add-in?

If not, can someone provide documentation on how to properly deploy an ASP Web application? I have tried on my own, but I am apparently doing something incorrectly or incompletely, as I have several different problems with my current deployment. So I am looking to start over with the help of this add-in or by following more detailed documentation.

View 2 Replies

Proper Deployment Procedure / Using Visual Studio To Redeploy Changes?

Feb 9, 2011

The web application that a company I'm doing consulting for has all the web files (.aspx, .vb, .ascx, web.config, etc.) but no .sln files or anything of that sort to open in Visual Studio and deploy the site and whatnot.

What's the best way to go about using Visual Studio to redeploy changes I make to this type of system?

View 1 Replies

Visual Studio :: Adding A Web Deployment Project To The Website?

Jan 16, 2010

i have a project which runs fine when I build it and run it. But when I add an web deployment project to the same, it throws out a "server block is not well formed" error in Default.aspx page

through googling i found out that it may have something to do with page/server directives. but i cant figue out what is wrong with this code.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="KnowledgeBase.Web.UI._Default" %>

View 1 Replies

Visual Studio :: Web Deployment Project Not Creating DLL From ASCX Controls?

Jan 27, 2011

I am trying to get VS 2008 SP1 to precompile a development site using the Web Deployment Project method. I've done this previously with a different site containing ASPX pages, with success. However, this is a third party example web application containing a set of ASCX controls. The idea is that I want to create a precompiled DLL containing the controls, that can then be distributed as a library DLL. I thought the the use of WDP should allow the compiler to compile all the ASCX controls, and then optionally merge them all into a single DLL.

The problem is, the WDP build reports that it succeeds, but the only file generated is the precompiledapp.config file. On closer inspection of the reporting, it seems that the only error reported is:

aspnet_merge : warning 1013: Cannot find any assemblies that can be merged ...

which I assume refers to the DLL merging process at the end of the compile. This that the compiler was unable to find or process any of the ascx controls in the web application, and so didn't produce any DLLs from them.

I don't really understand what is going wrong here. Should I be able to run a Web Deployment Project like this to compile ASCX controls in this way, and if so, what is likely to be going wrong here? Could the ASCX files somehow be protected from the compiler, to prevent redistribution?

View 2 Replies

Configuration :: Web Application Using Visual Studio 2010 And Deployment On IIS And AjaxToolKit ?

Dec 2, 2010

I have developed a web application using Visual Studio 2010 and in that application I have used AjaxControlToolkti 3.5 in some pages. When I go to Solution Explorer->References I have AjaxControlToolKit.dll file and if I take the property of that file i see the following in PATH field E:My DataEBPMinAjaxControlToolkit.dll which is a path of my development machine.

After that I went to my UAT machine (windows xp + IIS 6.0) copy the entire project in a folder of UAT machine, created a virtual directory, provided Alias and the Directory.Now when I access my UAT server from outside it works perfect except it throws "RunTime Error" on those pages where I have used

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

I guess as my AjaxControlToolkit path is refereing to my development machine location therefore its throwing error...what's the solution without making proper deployment. Actually on our UAT all the applications are using IIS 6.0 and if i go on proper deployment and IIS 7.0 (i guess it requires for deployment from Visual Studio 2010) I will have to reconfigure all the applications on UAT which I cannot do at this moment.

View 2 Replies

Visual Studio :: ClickOnce (Publish Wizard) Deployment / - Run Code On Uninstall

Nov 5, 2010

I have an application that I'm deploying via the Publish Wizard from Visual Studio 2008. I've added some code to my application that adds a few registry keys. I'd like to execute some code during the uninstall process to remove these registry keys.

View 1 Replies

Installation :: Don't Have Publish Or Add A Deployment Project In Visual Studio Express 2008?

Jun 15, 2010

Why I don't have publish or add a deployment project in my visual studio express 2008?

View 7 Replies

Web Deployment Projects For Visual Studio 2005 - How To Find Plugin On MSDN

Feb 15, 2010

The Visual Studio 2005 web deployment project plugin used to be here:

http://msdn2.microsoft.com/en-us/asp.net/Aa336619.aspx

This just goes to the ASP.NET home page now, and I've had no luck Googling (or ... Binging?) for it. Does anyone know if this is still available for download anywhere?

View 2 Replies

Visual Studio :: Unable To Install VSIX Extensions In The Visual Web Developer 2010?

Aug 8, 2010

Not able to Install VSIX Extensions in the Visual web Developer 2010

I have downloaded the power commands.

When I double click the power command extension.

It Shows me the Message " The extension is not installable on any currently installed products".

View 6 Replies

Visual Studio :: Unable To Use Breakpoints?

Mar 17, 2010

I have my project in VS2005, its is working fine last few years, But now durning development i face problem regarding breakpoints, here Im unable to get stoppage at breakpoints, I have change setting of security in Internet options add localhost as trusted site, but still its remain the same.

I also try Attach to process.... option from the debug, here webDev.WebServer process of running site is disable. Now Im totally unable to debug my project.

View 6 Replies

Visual Studio :: Unable To Add Web Service To App?

Feb 16, 2011

I work for a financial company that has many branches all over the world. Their network security is no 1 on their network priority list. Even the workstation I use is locked down pretty tight, so I don't have the ability to change or install anything. The firewalls are also pretty much very well controlled and I can't really do much, outside of the network, other than browse the web.

My problem is related to all of this...I wanted to create a web app that queries the Google Maps api to get info about the location clicked on a map, by using their reverse geocoding api.If I type the following into my browser, I get the results I require:

http://maps.googleapis.com/maps/api/geocode/xml?latlng=-26.0323760475938,28.0514430999756&sensor=true

When I use that url within my app, I get an "Unable to connect to remote server" error. I can only assume that this is related to our restrictions on the firewall, as if I publish the page to my web site (outside the company network), and run it, it works perfectly.

I decided that I would build a small web service with the required code in it to return the data I need. I have written the web service and published it to my site. When I test it by browsing to the asmx file location on my site, I get the usual info presented about the web service.

My problem is that when I try adding the web service to my mapping app, I get the following error, and the "Add Reference" button is disabled:

There was an error downloading 'http://www.carrollsoft.za.bz/mailclient/service.asmx'.
Unable to connect to the remote server.A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed...I thought that web services were supposed to be able to get around firewalls, because they use port 80? Our proxy server isn't on port 80, so I added the following to the web config on my mapping app, but I still get the same error:

<system.net>
<defaultProxy>
<proxy usesystemdefault="False" proxyaddress="mybrowserproxyname:1234" [code]....

View 2 Replies

Visual Studio Unable To Debug Application

Jan 7, 2011

I am developping an MVC3 RC2 application and just after hitting F5 on my asp web application, I am getting this error message program '[7780] w3wp.exe: Managed (v4.0.30319)' has exited with code -2 (0xfffffffe).So I am totally unable to debug my application

View 10 Replies

Visual Studio :: Unable To Start With Or Without Debugging

Nov 22, 2010

I have used Visual Web Developer (versions up to 2010) with no problems for several years. Starting last week I am no longer able to run or debug any ASP.Net application locally. I am running Windows XP, IIS 5.1, IE8, Visual Web Developer 2005, targetting .Net 2.0. I am not able to Start Debugging or Start Without Debugging for any project. When I attempt to Start Debugging, IE browses to [URL] instead of to the project I am attempting to run. When I Start Without Debugging, IE opens to about:blank and then when I close that window another IE window opens to [URL]

Maybe irrelevant, but I had the same problem with IE7 and VWD 2010 (versus IE8, VWD 2005). IIS is set to .Net version 2.0. I have the same problem whether I add a virtual directory to my project in IIS or not.

View 5 Replies

Visual Studio :: Unable To Debug In Asp Page

Mar 23, 2010

I am a new in asp.net world (and in asp). I have a problem in asp.net page.... i wish to debug this page to try the error but I don't I can not debug I have downloaded all proj from "Team Fondation" and then I have took all page in check-out. The server, where I develop is the WEB serve test.

View 5 Replies

Visual Studio :: Unable To Debug Without Building?

Jan 26, 2010

I'm developing a large application in C# Visual Studio. It's reached the point where it takes about a minute to build the entire thing. In order to speed the debugging process, I want to be able to run the program with a debugger without building the entire thing. This seems like a very basic thing one should be able to do, but I've been unable to figure out how to accomplish it.

I have found the area in Options under "Projects and Solutions/Build and Run" where you can specify what VS should do "On Run, when projects are out of date:". I've tried changing it to both "Prompt to build" and "Never build," but it still always builds my entire project whenever I start debugging.

At the moment, I'm circumventing this by starting the program from its executable and attaching the debugger to it, but this is a bit of a hassle and it feels like I should be able to get VS to understand I don't want it to build when it debugs.

View 7 Replies

Unable To Debug Website In Visual Studio?

Mar 15, 2010

I used to be able to attach to my w3wp process and Debug my web application, but this is not working anymore. I have no idea what changed to break this. I'm using Visual Studio 2008 SP1. And I'm debugging in IIS, not using ASP.NET's own server (i.e. I don't Run my project, I simply attach to a running process (w3wp).

My breakpoints simply have the "breakpoint will currently not be hit. The source code is different from the original version."

What I have tried:

Did a solution Clean.
Did a solution Rebuild.
Made sure that compilation debug=true in my web.config file.
Deleted the bin folder
Restarted Visual Studio
Restarted IIS
Restarted my Computer
Added a simple Response.Write to ensure that the latest DLL is being used. It is.
Made sure that Debug ASP.NET is checked in my project properties. It is.
Made sure that all my projects are compiled in my build configuration. They are.

View 5 Replies







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