asp.net| Compilation | command line | Project A lot of things you downloaded from the Internet source program, but suffer from the machine did not install the development environment and can not compile the view, the following I simply say the solution.
source program preferably have. csproj or. vbproj files, if not, take some time to debug
I'll take vb.net as an example to explain the following:
From Proj we can get the following useful information
There are many configuration options in the Settings section that correspond to some compiler options
The <References> section is a reference to the project, the 3rd party class library is best to use absolute path
The <Imports> section is some namespaces to import
<Files> all files in the project, select buildaction = "Compile" file
With the VBC test, it is easy to note the following:
RootNamespace
Reference
Target
Imports
Plus bugreport can output all the source file code and bug reports. Not bad
Give you one end compile example:
Vbc/r:system.dll/r:system.data.dll/r:system.drawing.dll/r:system.web.dll/r:system.xml.dll/r:bin\ Microsoft.applicationblocks.data.dll/r:bin\exporttechnologies.webcontrols.rte.dll/imports: Microsoft.visualbasic/imports:system/imports:system.collections/imports:system.configuration/imports: System.data/imports:system.drawing/imports:system.web/imports:system.web.ui/imports:system.web.ui.htmlcontrols /imports:system.web.ui.webcontrols/imports:mms/rootnamespace:mms/t:library/out:truly.mms.dll/bugreport:bug.log AssemblyInfo.vb Global.asax.vb HDAdd.aspx.vb HDticketLogAdd.aspx.vb Mis.vb Pagebase.vb
If you don't have a proj file, you can use
dir/b *.vb > Filelist.txt
Get
The use of CSC depends on your own thinking.
There are 1 differences between what we compile and vs., because many of our options are not configured, but after testing, we can basically work properly.
You can take a few minutes to write a application based on this theory and automatically use the CSC program to help you compile your project.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.