Visual Studio :: Web.config Transforms For Web Site Projects

Apr 8, 2010

Does anyone no why web.config transforms are not available for Web Site Projects in VS2010. I thought that Web Site Projects where once introduced as the successor of Web Application Projects. But now the lack the deployment feature which I would really like to use.

Maybe someone knows a workaround, without having to convert 70 websites? Converting to Web Application Projects isn't a real option because I use Table Profile Provider by Hao Kong, which doesn't work with this type of project.

View 4 Replies


Similar Messages:

'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 Public & Web.config Transforms Features

Feb 2, 2011

I work in an development group in an enterprise, where we strive to seperate business units and their responsibilities. So for example, I am in the development group and we are responsible for all tasks related to developing applications. We have other roles such as dbas, or operational roles that are outside of our group and are responsible for things like deployment, server maintenance, etc.

I'm looking at features in VS such as the publish web app feature and the web.config transform feature and reading about them in blogs and various other places. Based on the majority of what I read it always seems that the writer is assuming that the developer is managing things like connection strings, user names, passwords for the different environments in web config transforms, then publishing to a remove server in some kind of production environment (be it live, or test or staging, etc).

An example is here. In our environment, and I assume others too, the scenario is somewhat more complex than is usually portrayed. The development group may not know where any of what they've developed is deployed. And administrators may move servers,databases etc and update configuration as characteristics of the environment dictate. So in these cases, how does web.config transforms help? Publish can still potentially be used locally to build artifacts for a deployment package but even you'd probably want to use some automated build manager instead.

So is publish and transforms really more suited for more rudimentary development processes where the barrier between development and operations is very grey? Or am I missing something? It just seems that a lot of things I've reading about this kind of thing have good intentions but are somewhat superficial in the context of a more defined development process.

Interested to know others opinions and experiences on this.

View 2 Replies

Multiple Web Projects In One Solution, Config Transforms

Nov 15, 2010

I am attempting to setup Config Transforms on my project that I migrated to VS 2010. The web project works just fine, but I have a WCF Host project that I seem to be unable to add transforms.

Has anyone had this problem before?

View 1 Replies

Visual Studio :: Old Projects Not Showing Up In The Start Page Recent Projects List?

Jan 31, 2011

I just moved to a new PC and installed VS 2010. I copied all of my websites over from the old machine and now when I open the old websites on the new machine, they do not show up in my recent projects list on the start page. New websites that I make do show up there but the old ones do not. This is very inconvenient. Is there a way to make old projects that I open show up in the list?

This brings up another question. Is there a way to make a shortcut that will open VS2010 up with a website already loaded so that I don't have to go through the file open dialog every time?

View 3 Replies

Visual Studio :: Can Prevent Projects From Being Referenced By Other Projects

Jun 7, 2010

I have a multi-tiered application. I would like to publish the class libraries to UI developers to let them add to their web or windows projects to add all the functionality.

I would like to restrict access so only a certain project can be referenced. The reason is so that they do not refer to the data access layer directly and start making calls that would bypass the business logic built into the business tier.

UI->>Business Logic->>Data Access

So in other words, BL and DA are deployed as compiled assemblies. BL references DA. UI will reference BL, but I would like to strictly prevent any other project from referencing DA directly.

View 1 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 :: 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 :: Cannot Open Web Projects Configured To Use IIS

Jun 23, 2010

I constant get the following error when I try to load existing web project in Visual studio

"The Web Application Project is configured to use IIS. To access Web sites on the local IIS Web server, you must run Visual Studio under an Administrator account."

It started happening after I had to re-install IIS because of metabase corruption. I have already tried following

1. create and re-create application in IIS
2. register aspnet using aspnet_regiis
3. I am already member of adminstrators group I also added aspnet to administrator group, no luck
4. I have tried repairing Visual studio 2008 and still same issue appears

I am using XP SP3, Visual Studio 2008 Team System and IIS 5.1. I have Visual Studio 2005, Visual Studio 2008 and Visual Studio 2010 installed on my machine.

View 6 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

Add Multiple Projects At Once In Visual Studio 2008?

Nov 16, 2010

I know that I can add more than one project to a solution, but I have a load of pre-developed projects that I want to add and rather than going

Add > Existing Project > Navigate to folder > click on project file

I wondered if there was an easier way to add lots of projects at once.

View 1 Replies

Visual Studio ::2003 Not Showing Web Projects?

Jul 22, 2010

I recently got a new PC and had all my development tools installed/configured, including Visual Studio 2003 (for support of older apps) and IIS. When working on web projects in the past, I would open the project via File->Open->Project from Web.The defaultURL is http://localhost, as it was on my old PC. When I click OK, no web projects are showing, even though I've setup a few asp.net web projects in IIS. To set these up, I moved the project to c:inetpubwwwroot<project name>, then go into IIS and change the folder to an app, and select 1.1 under the asp.net tab. I've also made sure the Frontpage server extensions are installed.I can open the project by using File->Open->Project, but I get "Error while trying to run project: Unable to start debugging on the web server. You do not have permissions to debug the server".I found several articles online addressing this and have made all suggested changes but so far nothing has worked.I feel that if I can get the project to show/open as a web project it will resolve this issue as well.

View 3 Replies

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

Configuration :: Using Transforms In Web.config

May 6, 2010

I am trying to utilize Transforms in my Web.Configs.It is working when I publish, however, if I run from Visual Studio they seem to have NO effect.

I am using VS2010 / .NET 3.5 project / Silverlight 3.

I used these two as my primary references. http://vimeo.com/10781314 / http://msdn.microsoft.com/en-us/library/dd465326.aspx

I've tried several ways..
1. Overriding my Connection Setting using Transform Replace, match on name
2. Just using Insert in the Release.Config with no setting in the Main Web.Config.

Both ways DO work on Publish, but neither work in VS. # 1 shows the original when I'm just trying to run from VS and # 2 Crashes on this line string scontest = ConfigurationManager.ConnectionStrings["DBTest"].ToString();

Here is my Main Web.config for try # 2

<connectionStrings>
<!--<add name="DBTest"connectionString="Server=MAINWEBCONIFGBox; Database=personal; User; password=P@ssw0rd" providerName="System.Data.SqlClient" />-->
</connectionStrings>

Web.Release.Config for try # 2

<connectionStrings>
<add name="DBTest"
connectionString="Server=RELBox; Database=personal; User Id=admin; password=StagingPersonalPassword"
providerName="System.Data.SqlClient" xdt:Transform="Insert" />
</connectionStrings>

View 5 Replies

Visual Studio :: How To Set The Number Of Most Recent Projects Displayed

Sep 29, 2010

How do I set the number of Most Recent Projects displayed. I have tried the obvious -- Tools-Options..... but I cannot see it.

View 9 Replies

Visual Studio :: Sharing Settings Between Projects / Console App And WPF App

Oct 20, 2010

I'm trying to share settings between two projects: a console app and a WPF app. The WPF app only exists to view and change those settings.

So in my console app, I wrote the following class...

[Code]....

My WPF app has a reference to the console application, so it can access the members of this Settings class.

So you'd think that if I use the WPF app to change one of these settings, then the next time I run the console app that changed setting would be available, but that is not the case. I'll change the masUserID setting from Bill to Ted, for example, but when I launch the console app it shows the setting is still Bill. If I run the WPF app, it's set to Ted.

View 1 Replies

Visual Studio :: .net 3.5 Project And .net 2.0 Projects Work Togather?

May 8, 2010

I started work for company i they have older asp.net software with .net 2.0 framework. I want to create a new project with 3.5 framework i the solution so i can use linq and entity framework for access to DB.

View 5 Replies

Popularity: Web Site Projects Versus Web Application Projects?

Nov 1, 2010

I need to create a sample project (for educational purposes) and I'm faced with the choice between Web Site Projects or Web Application Projects. This feels similar to the choice between C# and VB. My question isn't about the differences between these 2 choices, but rather which is more popular (relevant, recognizable) to the general ASP.NET community.Has anyone seen any statistics in terms of adoption/usage of these 2 different project types? What project type should I use to reach the widest audience?Update: I created a poll on this subject - http://poll.fm/2e6cy

View 4 Replies

Managing Visual Studio Projects For A Website And Custom Usercontrols?

Aug 26, 2010

I have one main project for the cms we are using for our website. I have also created usercontrols to include in the site, but I think I would like to keep these in a separate project and just reference them in the main project. Is this a best practice and how would I do this?

View 1 Replies

Web.config Transforms Add Extra Line Returns Where There Are None

Aug 26, 2010

When my Web.config transforms it is adding a new line before the end value tag in my ApplicationSettings. This new line is showing up in the setting and causing an exception. Example:

Web.config:

<setting name="FilePath" serializeAs="String">
<value>c:path</value>
</setting>
Web.Debug.config:
<setting name="FilePath" serializeAs="String" xdt:Transform="Replace" xdt:Locator="Match(name)">
<value>c:path</value>
</setting>

Published Web.config:

<setting name="FilePath" serializeAs="String">
<value>c:path
</value>
</setting>

The end value tag being on its own line is causing problems. Does anyone know how to get it to stop doing this?

View 1 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

C# - Visual Studio 2010: How To Enforce Build Order Of Projects In A Solution

Sep 6, 2010

I had no problem with this in Visual Studio 2008 but it seems that VS 2010 is having an issue, and I'm betting it's probably me.I have a solution with an ASP.NET Web Site Project and a few C# projects (BLL, DAL, Tests in NUnit). I have configured the build process for the test project to automatically run NUnit to run the tests. I would like to ensure that the BLL and DAL projects build before the test project so that the tests will run against the latest compiled version (yes, I know I could do this all in one project, but I'm choosing not to -- please bear with me :) )

So, I set the dependencies of the Test project to include the BLL, DAL, and Web Application projects, and the build order shows BLL, DAL, Web Application, and then Tests. However, I noticed that the BLL doesn't actually build when I build the Test project.Any idea what this could be or any option I might be missing to force the other projects to build when I build the Test project?

View 3 Replies

Visual Studio :: Sharing A Solution File - Projects Settings/Configurations Maintenance?

Sep 1, 2010

I am using VS2005 and I have a solution file (.SLN) which has 8 projects. I moved the solution file to a different path on a shared folder to have better organization of my projects and to allow access to the solution/projects from any computer on the network. After that, I edited the .SLN file so that the path of the projects in the solution file are correct (all on shared folders).

After that, I opened the .SLN and everything seemd to be working fine. However, I notcied that the "Start Options" of the website part of the solution file is missing the "Start Options", ie, the Start Options are reset to default values. I think also, but not sure, some other settings of the Solution/Projects have been reset.

Questions:

1. Where the Web Site "Start Options" are stored ?

2. How I can maintain the Start Options and similar settings if the .SLN file is moved or opened from different computers on the network ?

3. I am not using an team development tools, only plain (vanilla) VS 2005 Prof. Edition. Is it possible to have 2 or more developers work on the same solution/projects (shared on the network), if both developers will coordinate manually simultanous access to the porject files/resources/source code ?

View 6 Replies

Visual Studio :: Creating Setup Of Windows Projects Developed In C# / Sql Server 2005

Jul 6, 2010

I have developed one software in C# and the database used is sql server 2005. I have completed the software but now I want to provide setup in a autorun CD to my customer. I have prepare setup but I am not able to deliver my database along with my .net code. What I want to do is when user will install my project on his computer using the CD I am suppose to provide, it should install SqlServer Enterprise edition and should use this database. It may means that, setup should create database on the user computer.

View 1 Replies

Visual Studio :: 2005 Pro And W7 Installation / Web Projects And Application Deployed With It Work On This Platform?

Jul 27, 2010

is it possible to install VS 2005 Pro edition on a Windows 7 64Bit machine?

Would the web projects and application deployed with it work on this platform?

View 1 Replies







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