Last post Feb 17, 2012 02:53 PM by mfb
Feb 17, 2012 01:15 AM|mfb|LINK
I am new to VS 2010, but I have built a small web application which works as expected on my test and development machine. Now I would like to build a deployment or install package. I have reviewed a number of videos and web sites on how to accomplish this,
however I seem to have something missing in my VS 2010 environment with SP1 installed. Here is what is missing:
1- When I do a right click on the web.config file I do not get anything that shows the transforms, so I have nothing to click on to try and create these.
2- A similar problem is when I right click on the project I do get any Package/Publish Settings, so I don't have any way to try and create the package.
So I am at a bit of a loss as to what the problem might be, or how to correct the problem. Could someone assist me in this.
Feb 17, 2012 01:18 AM|tdykstra|LINK
Maybe you have a web site project rather than a web application project. The new tools do not work with web site projects. On the difference between the project types, see:
Feb 17, 2012 01:35 AM|mfb|LINK
Thank you for replying.
Well that could be true as I don't know vs 2010 very well yet. If it is a web site project, is there a way to build a package for distribution?
On the other hand, is there a way to take what I have created and make it into a web application?
Feb 17, 2012 01:55 AM|tdykstra|LINK
At the end of the WAP vs. WSP doc I linked to earlier there's a link to a walkthrough about converting a WSP to a WAP.
The only way to create a package with a WSP is to use a Web Deployment Project:
Feb 17, 2012 02:53 PM|mfb|LINK
Thank you very much for replying to my problem.
I learned that the application I was working on was actually a web application, but for some reason, probably a long time ago I opened the project in vs2010 by opening the project using open web site option. I did not realize there was a difference but your
explaination made me realize it.
I did find the link to convert a web site to a web application, and it seems that all I needed to do was create a new web empty application, copy the files over to the new web application, and then perform a build. Everything seems to be working as expected
in the new web application.
So, if I may have overlooked something that may sting me I would appreciate any comments or things I should watch for.
Again, thank you for the valuable information you replied with.