I am trying to upload my compiled web application to the Internet. I was told that all I need is the dll file which is supposed to go into the bin folder? Is this true or do I need to upload both the dll file and the bin folder?
Also, is there a better way to build so that I don't have to intermix my image, css, and so on into my project folder? Maybe a way to copy the dll file to a bin folder and all my aspx pages?
I got it to work but it seems like I keep duplicating a bunch of files and I know eventually some problem will arise.
The easiest way is you use the Visual Studio menu Build -> Publish. Then you either export directly via FTP to your target server or to a local directory from where you copy the files to the web directory.
Only the required files are published.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With