Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to explain Build Web Site

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces you how to explain the Build Web Site, the content is very detailed, interested friends can refer to it, I hope it can help you.

I used a lot of Build Web Site demos. And I use VS2005, when I use these samples, basically most of the ASP.NET projects based on VS2005 cannot load the project because a few files cannot be converted. For this reason, I have been troubled for a long time, and finally let me find a solution.

Open the Build Web Site file and turn off batch compilation. This can be done by setting the batch=false attribute in the compilation tag to the following form: Turning off batch compilation reduces the likelihood of masking compilation errors that may exist in your application but are not reported.

View reported warnings and errors by opening the conversionreport.txt file in the Build Web Site project root folder. The text file includes sections titled Errors, Warnings, and Comments during migration. Look at the Errors section and the Warnings section and try to resolve the problem using the following methods (the Comments section is mostly informative, no action required): If you see any warnings about previously converted "excluded" files in the conversion files, it is recommended that you delete these files first, as they cause many compilation errors that interfere with identifying and fixing other errors in the application.

To complete the remainder of the other errors and warnings reported in the conversionreport.txt file, see Common ASP.Net 2.0 Conversion Issues and Solutions for specific guidance on how to resolve each warning and error that may be reported.

After resolving all errors in the conversionreport.txt file, generate a Web project to resolve any other compilation errors that may exist. To do this, select the root node of the Build Web Site project you are using and select Build Web Site on the Build menu. See Common ASP.Net 2.0 Conversion Issues and Solutions again for any specific compilation errors that may be reported and for guidance on how to correct them. After resolving the reported issue and the Web project compiles successfully, there are two recommended steps:

Many *.resx files that appear in Web projects may no longer be needed. These files can be easily identified by the same prefix name as aspx files or ascx files (for example, default.aspx.resx). Visual Studio. Net 2003 creates resource files for each page, whether needed or not. In most cases, these files are empty (or contain resources not used by the application) and can be deleted.

Rename conversionreport.txt to conversionreport.Webinfo. Because conversionreport.txt can be viewed through the Build Web Site browser and may display sensitive information about your site, this is recommended. By renaming the file conversionreport.Webinfo, it is not accessible through a Web browser by default.

About how to explain the Build Web Site to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report