How do I compile an ASP.NET Web Application project to a website?

Posted on 2008-02-06
Medium Priority
Last Modified: 2013-12-17
I have an ASP.NET Web Application Project that I'm publishing to a specified location. The problem is that it's publishing all of my .cs files and I don't want it to. I need it to publish just the DLLs and have it run successfully without the .cs files on the site. How can I do this?
Question by:Russ Suter
1 Comment

Accepted Solution

svcoder earned 2000 total points
ID: 20836981
If you're using VS to publish the site, choose the option "Upload only the files needed to run the site". It should only publish the .dlls and aspx files.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question