Visual Studio 2010 - Apply The Web.config Transformation Before Creating The Installer?

Jun 7, 2010

I am working on an ASP.NET project in Visual Studio .NET 2010 and attempting to make an MSI installer using a Web Setup Project. I added the Primary output from the project (which seems to pull in the relevant dependencies) and the Content Files from the project (which pulls in the Web.config and the .svc files).

The issue is that rather than applying the XDT transform and creating the Web.config using the Web.Release.config, it just copies the Web.config, the Web.Release.config, and the Web.Debug.config into the installer without doing any transformation at all.

How do I get it to apply the Web.config transformation before creating the installer?

View 2 Replies


Similar Messages:

Visual Studio :: Visual Studio 2010 Missing Ajax And No Web.config When Creating New Project?

Sep 28, 2010

when i opened my Visual Studio 2010 i noticed that my ajax tab was missing from my toolbox and ajax control kit too.Then i noticed even that when i create new website, there is no web.config in it and it should be.WHAT IS GOIN ON???? :/

View 13 Replies

Visual Studio :: Config Transformation Using XSLT?

May 10, 2010

The VS2010 Online Help for config transformation appears to be incorrect.If I add something like view plaincopy to clipboardprint?

View 5 Replies

Run Site Using Specific Web.config Transformation In Visual Studio

Nov 18, 2010

I'm using the web.config transformations on an ASP.NET site so I have .config settings for dev, test, and release environments. I need to run the source code in Visual Studio against the test database using the settings in Web.Test.config and I can't figure out how to do it. I tried changing the configuration to Test but it still uses the base Web.config settings.

View 1 Replies

Visual Studio :: Installing Visual Studio 2010 Pro RC In Windows Xp SP3 And Getting A Message Prompt : Invalid Windows Installer Package Contact Vendorlog File Says?

Feb 22, 2010

installing visual studio 2010 pro RC in windows Xp SP3 and getting a message prompt : invalid windows installer package contact vendorlog file says

Error Message:

[02/22/10,17:09:07] Microsoft Application Error Reporting: [2] CMsiComponent::Install() expects the setup file for Microsoft Application Error Reporting, but the file failed verification.
[02/22/10,17:09:07] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467259.
[02/22/10,17:09:08] VS70pgui: [2] DepCheck indicates Microsoft Application Error Reporting is not installed.

View 5 Replies

Visual Studio :: How To Install Web Developer Express 2010 - Web Platform Installer

Jul 4, 2010

I had VS 2010 RC installed on my machine. Uninstalled it and wanted to install VWD 2010.

I installed Web Platform Installer as instructed on the download site, but there is no VWD Express under any tabs...including Tools.

FYI: I did install VWD 2010 using WPI on my other machine but somehow on this machine WPI does not show this option.

Not sure if VS2010 RC was installed on this machine and that's the issue.

Now i am downloading .iso image for VS 2010 Express that has VWD express.

View 8 Replies

Team Build 2010 And Web.config Transformation?

Nov 25, 2010

I'm struggling to get web.config transformations working with automated builds. We have a reasonably large solution, containing one ASP.NET web application and eight class libraries. We have three developers working on the project and, up to now, each has "published" the solution to a local folder then used file copy to deploy to a test server. I'm trying to put an automated build/deploy solution in place using TFS 2010. I created a build definition and added a call to msdeploy.exe in the build process template, to get the application deployed to the test server. So far, so good!

I then tried to implement web.config transforms and I just can't get them to work. If I build and publish locally on my PC, the "publish" folder has the correct, transformed web.config file. Using team build, the transformation just does not happen, and I just have the base web.config file. I tried adding a post-build step in the web application's project file, as others have suggested, similar to:

<target name="AfterBuild">
<TransformXml Source="Web.generic.config"
Transform="$(ProjectConfigTransformFileName)"
Destination="Web.Config" />
</target>

but this fails beacuse the source web.config file has an "applicationSettings" section. I get the error Could not find schema information for the element 'applicationSettings'.I've seen suggstions around adding arguments to the MSBuild task in the build definition like

/t:TransformWebConfig /p:Configuration=Debug

But this falls over when the class library projects are built, presumably because they don't have a web.config file.

View 3 Replies

'Add Config Transforms' And One Click Publish Option Not Working When Upgraded From Visual Studio 2005 To Visual Studio 2010

Jul 28, 2010

I just recently upgrade my asp.net web project from visual studio 2005 to visual studio 2010. The upgrade was successful with no problems however im missing some features with this project. The One Click Publish feature(which is greyed out) in the header area of Visual Studio 2010 and the Add Config Transforms feature which is no where to be seen when you right click on web.config. When i create a new web project straight from visual studio 2010, these options work fine.

View 1 Replies

Visual Studio 2010 - Apply Intellisense In .skin Files In 4

Nov 25, 2010

Is there a good way to apply intellisense in .skin files in ASP.NET 4? like a microsoft visual studio tool for example? I installed an intellisense schema for .skin files to my visual studio 2008 long time ago but it had some bugs so i had to remove it. any improvements in visual studio 2010?

View 1 Replies

Visual Studio :: Errors In Root Machine.config And Web.config After 2010 Installation

Jan 19, 2011

I just installed VS2010 and opened the root machine.config and web.config files for review and I found some errors. In machine.config, the following line has errors in both entries for <Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior>. When I hover the cursor over them I get a tooltip text which displays: "The element 'endpointBehaviors' has invalid child element 'Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior'. List of possible elements expected: '...(list of options here)...'. The same problem happens for the second appereance in tag <serviceBehaviors>.

[Code]....

In web.config, there is a tag called <protocols> that has an error with a tooltip text that says "The element 'system.web' has invalid child element 'protocols'. List of possible elements expected: '...(list of options here)...'.

View 2 Replies

Creating An MVC 2 Project In Visual Studio 2010

Nov 13, 2010

So I got a copy of Visual studio 2010 ultimate through my university and MSDN AA. I've been unable though to create any MVC2 projects in it. Even worse when I save my project from school and attempt to just open it at home I keep getting errors that it can't load the project (this included just open a basic empty project). I've tried a complete reinstall, and even manually downloading the MVC2 RC.

View 5 Replies

Visual Studio :: Creating A Sql Server Express From 2010

Oct 21, 2010

I am trying to add a database using VS2010, I have VS2010 Professional and SQL server 2008 developer and sql server 2008 express and it seems impossible for me to create a database am being sent to the linkid=125883 to download an express edition even though i have it installed.

View 2 Replies

Visual Studio :: How To Config ExpressionTreeVisualizer And SqlServerQueryVisualizer In 2010

Oct 26, 2010

in Vs2008 ,I copy the ".dll" file to: ...Program
FilesMicrosoft Visual Studio 9.0Common7PackagesDebuggerVisualizers.

they works well。

but in Vs2010, copy the ".dll" file to: ...Program
FilesMicrosoft Visual Studio 10.0Common7PackagesDebuggerVisualizers.

there is a error.

View 1 Replies

Visual Studio :: 2010 Missing Web.config Files?

Aug 9, 2010

I just moved into a new computer running Windows 7 pro, and I installed a new copy of VS2010. Now all of my old sites that I made in VS2008 do not have their web.config files. Does anyone know what happens to them in VS2010, or Windows 7?

View 3 Replies

How To Generate An .NET 2.0 Retro Web.config Within Visual Studio 2010

Aug 3, 2010

I'm using VS 2010 Express Edition (VWD) to develop a website project that will be deployed to a Windows 2000 Server (targeting .NET 2.0). BACKGROUND: The website was new, so I chose the 'c# blank website' project template in VS 2010. This (as you may know) gave me an extremely more lean web.config file than VS 2008. I like that for 4.0 development, but I'm going to be deploying it to the testing region tomorrow and I'm getting concerned that all that extra stuff that used to be in the web.config is going to bite me.

View 1 Replies

Visual Studio :: Creating Web Service With Web Developer 2010 Express

Nov 15, 2010

My instructions for creating a new web service with VWD 2010 Express call for using the installed template, "AST.NET Web Service". But this template is not listed.

I would like to create a simple web service in visual basic, place it in IIS 7 on my desktop, and then consume it probably using a proxy class.

Is there another way to create a new web service in VWD 2010 Express?

View 1 Replies

SQL Server :: Creating A Sequence Using Visual Studio 2010 - Incremental ID

Mar 28, 2011

I am have created SQL database by using Visual Studio 2010. I created a table for users. My question is: How can I create an ID that increases automatically? For example, ID starts by 1 and increases 2 - 3 - 4 .......

View 2 Replies

Visual Studio :: .NET 3.5 Project In VS 2010, Error With Creating Properties

Apr 28, 2010

Creating a .NET 3.5 website in 2010, and when I attempt to create public properties for a user control I whipped up it is giving me inline error:Visual Basic 9 does not support auto-implemented properties. I can, however, type GET on the next line 2010 populates the property just like it used to. However, when I expose a control property it craps out with a null reference error at runtime.

View 1 Replies

Visual Studio 2010 - Web.config Returns Null After Publishing Application?

Nov 4, 2010

After i publish my web.config i get null reference to all the code that uses the webconfig.What could be happening?I checked my web.config property and its set to Embedded Resource.

View 2 Replies

Visual Studio :: Tried To Install Prof 2010 Trail Version In System / 'Please Remove/uninstall Visual Studio 2010 Load Test Controller'?

Jul 6, 2010

I tried to install Visual Studio Prof 2010 trail version in my system, but i got an error saying 'Please remove/uninstall Visual Studio 2010 load test controller' to proceed installation. i uninstalled my previous VS2008 software from system and i could not find anything like 'Remove/Uninstall Visual Studio 2010 load test controller' software in my Add/Remove Programs.

View 1 Replies

Visual Studio :: 2010 1 Click Deploy, Config Transform Options Not Visible?

Feb 18, 2011

I have installed VS2010 ultimate and have read with interest about the new publish options, config transformations but none of them are available. I have tried creating different release versions and cannot see the option, also have no new options for publish, just look like the VS2008 ones.

Is there some service pack or pack that i need to install these or does it sound like a reinstall?

View 1 Replies

Error In Creating Control Content Placeholder1 Visual Studio 2010 Design Mode

Oct 20, 2010

After I imported a VS 2008 web project to VS 2010, I can't view aspx pages that have master pages in design mode. The page design mode displays "error creating control - contentplacehoder1 object reference not set to an instance of an object." The project builds and runs fine though. I have only one master page that all other aspx pages reference and I don't have any nested master pages.

View 2 Replies

Visual Studio :: Vwd 2010 Or Visual Studio 2010 Express Offer Integrated Jquery Support?

Jul 15, 2010

I'm thinking about installing vwd 2010 or vs 2010 express but want to know if either offer integrated jquery support.

View 4 Replies

Visual Studio :: How To Convert Whole Visual Studio 2008 Web Site Project To Visual Studio 2010

Aug 14, 2010

is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project

my current project references

i have a very annoying iis problem

iis server stops working until app pool is recycled

i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem

View 2 Replies

Visual Studio :: Opening Visual Studio 2008 Project In Visual Studio 2010?

May 21, 2010

Anyone know if I can maintain a VS 2008 (.net 3.5) project by using the VS 2010 IDE ?

View 1 Replies







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