Last post Jun 17, 2009 10:13 PM by alisonlu
Feb 16, 2007 07:09 AM|Pelle200|LINK
I have a asp.net web project. And want to make a setup for it. I have added a web deployment project to the soultion.
And in file system view I try to add the Primary output from my web project. In the Web Application folder.
But in the "Add In Project OutPut Group" dialog box, there is only one entry to choose from, "Content Files". Where is the "Primary output"?
When I add the content files output, and do a Installation I only get the source files. Not a any compiled files like App.Code.DLL.
This is maybe a realy simple little thing, but i can't find the answer.
Jan 11, 2008 11:11 AM|berkx|LINK
I have the same problem too...
Any help will be appreciated..
Jan 18, 2008 12:41 AM|ravi.ambar|LINK
hi ........ i have also same problem........ [:'(]
web deployment projects
Jan 18, 2008 02:30 AM|alisonlu|LINK
If you are choosing the website Content Files to put into your web setup project, you will not get any precompiled binaries/dlls installed (as you are already seeing). What you will get are your code files copied out to your installaion location. However,
your installed website should still run.
To get your setup project to install compiled DLLs instead of exposing all your code files, you need to define the web setup project file's Project Output to be the WDP outputs (not the website "Content Files"). To do this, try the following:
1. Have your solution include website project + WDP + web setup project
2. Rt. click websetup project -> Add -> Project Output
3. Expand "Project" dropdown and select your WDP project
4. Choose "precompiled web outputs" and OK
You do not need to add your website's Content Files at all. Adding the WDP output will take care of it all. If you then build and install your setup project, you will see dlls in the bin folder instead of the source files.
Hope this helps!
Feb 17, 2008 08:41 AM|berkx|LINK
Thanks for this post in details. It's the one of a kind that I applied to my project...
.NET is BROTHERHOOD.
Aug 12, 2008 05:13 AM|ramesh.kumarv82|LINK
Thanks a ton fro your post . It helped me to deploy my application with out displaying the source code. Really v good article
Aug 27, 2008 12:15 AM|sabeel|LINK
this is becoz u had created a web site.
Do the following step for example:
1-choose a new ->project ->Web application.
2-then try to add web setup for this web application.
3-right click the web setup->add project output you may get the "primary output"
please choose web application instead of web site
Sep 19, 2008 02:07 AM|K.Arpitha|LINK
I cannot find 'Primary Output' Option..
Eventhough I did Process like Add-->New Project---->Web Setup
Web Setup is added to my solution explorer..When i Right Click on Web setup--->Add--->Project Output..I can see only one option 'Content Files'..
Even i try Rightclcik on Websetup--->View--->File system--->Web Aplication folder exists on my right side panel..I right click on that ..Add---> project Output--->
Same Only Content File is existing..
How to add my websetup files to Primary Output..Can any One have idea..
And another thing i cannot fing Asp.Net web applicatiion opetion in my templaets?
How to do setup file without source code files?
Can any one help me to these problems..
Sep 19, 2008 02:14 AM|K.Arpitha|LINK
I cannot Find Asp.Net WEB APPLICATION in my Templates..I have only Web Site..
Dec 11, 2008 05:35 AM|swati254|LINK
see the below link and you will get the .dll of ur project
Jun 17, 2009 10:13 PM|alisonlu|LINK
File -> New Website... is where you find all your asp.net website templates. If you want to create a new asp.net web application project, you will need to go to File Menu -> New Project... instead.