473,289 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

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

145 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"

1 2502
Frinavale
9,735 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

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

Similar topics

6
by: Martin | last post by:
I am currently using VB6 Package and Deployment Wizard to create my setup.exe's but this sometimes fails on some users windows platforms. My question is do developers use a more up to date...
1
by: RK | last post by:
Hi I am having this problem with my deployment project. 'Another version of this product is already installed. Installtion of this version cannot continue. Configure or remove existing version...
1
by: rjack | last post by:
I migrated a VS 2003 add-in to VS 2005. The VS 2003 add-in is a COM interface which must continue to be deployed as a COM server. I have added the project output to the deployment package and I set...
5
by: Jibu George | last post by:
Hi I'm developing a deployment package using Visual Studio.Net. I have a custom user interface with a text box. How can I load the text box with some data at run time. Thanks & Regards, JIB
6
by: Cecil Sheng | last post by:
Hello, I've searched this newsgroup, but i can't find the answer. We have some programs written in VB 6, and we've upgraded to VB.NET recently.But I can't find a way to build native win32...
5
by: Geri Reshef | last post by:
In the VB6 I used the "Package & Deployment Wizard" to create an installation package. I didn't find the VB.Net equivalent. Does anybody knows where or what is it?
3
by: Ben Coats | last post by:
Hello, My question is regarding writing installation "wrappers" for .Net projects. I am considering making demos for a software package and handing them out at a conference. Therefore, I won't...
0
by: superstar123 | last post by:
I'm working visual basic 6.0.Using vb 6 i create few projects.in that projects i used some activex control name("sstab and visual menuex") control.and its worked. but after installing vb 2005 (.net...
0
by: Andy B | last post by:
I installed the guidance package projects (smart devices, web client and service model projects). I tried them out and found they aren't for me. When I removed all the traces of them from my...
1
by: Owen Zhang | last post by:
I am trying to build lxml package in SunOS 5.10. I got the following errors. Does anybody know why? $ python setup.py build Building lxml version 2.1. NOTE: Trying to build without Cython,...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.