467,219 Members | 1,304 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,219 developers. It's quick & easy.

Build Deployment Package with Pre-Compiled (not the raw files)

100+
I created an MSI package and it works great. However, the source code aren't compiled. They show up row in the test web server. This is No No in our environment. Are there any steps that I am missing during the creation of MSI package. Both Web Site Project (meaning the web service i created is in the http:\\localhost\BannerWS) and setup project under one solution. (Right click on solution won't show Add a new WDP. I added the web setup project by going to file > new > project > othere project types > setup and deployment > web setup project. The properties page for the deployment project only shows configuration properties and build is listed. there should be 4/5 items in the main tree.)

I followed this article but my package is not based on the compiled version (still the raw files)

http://www.asp.net/learn/hosting/tutorial-15-cs.aspx

1. I right click on the web services project and clicked on "Publish Web Site".
2. I went to the file system and saw that it compiled.
3. Then I right click on the deployment project (in the same solution), Add > Project Output
4. In the project drop down I see the current project c:\...\webservicetest\ (not the pre-compiled one) and I can't change this
5. In the body it states "content Files" , I select that and click OK
6. then proceed with Build.
7. I take the MSI and install and then I see all the aspx.cs files, wsTEST.cs, etc. insead of the dll files. the bin folder is empty...

Any suggesion?
Dec 30 '09 #1

✓ answered by Frinavale

If you don't want your source code to be part of the published solution then you have to specify that when you are publishing the website.
  • Right click on your website project and pick "Publish..."
  • Under the "Copy" section in the "Publish Web" dialogue select the "Only files needed to run this application"
  • Click "Publish"

  • viewed: 2258
Share:
1 Reply
Frinavale
Expert Mod 8TB
If you don't want your source code to be part of the published solution then you have to specify that when you are publishing the website.
  • Right click on your website project and pick "Publish..."
  • Under the "Copy" section in the "Publish Web" dialogue select the "Only files needed to run this application"
  • Click "Publish"
Jan 4 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Martin | last post: by
1 post views Thread by rjack@elegancetech.com | last post: by
5 posts views Thread by Jibu George | last post: by
6 posts views Thread by Cecil Sheng | last post: by
3 posts views Thread by Ben Coats | last post: by
1 post views Thread by Owen Zhang | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.