By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,688 Members | 1,845 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,688 IT Pros & Developers. It's quick & easy.

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

100+
P: 145
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"

Share this Question
Share on Google+
1 Reply


Frinavale
Expert Mod 5K+
P: 9,731
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.