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 understand and analyze VS2005 software

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

Share

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

How to carry out the understanding and analysis of VS2005 software, I believe that many inexperienced people are at a loss about this. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

It seems that WebDeployment itself has a certain bug, the author guesses that it may be caused by coding problems, WebDeployment,ILMerge is all in English, maybe it is an error caused by the difference between men and English letters when calculating the length of a string, this is just my guess, for reference only.

Recently, I have encountered a lot of trouble when I used vs2005 to write asp.net programs. I feel that there are many differences with VS2003. I used to complain that Boland's Delphi 2005 is difficult to use. I praise VS2005 software all the time, but now I think VS2005 also has many unsatisfactory aspects.

If I had known that I had chosen dotnet1.1, I would have spent a lot of effort when I used VS2005+dotnet2.0 to release it. Let's listen to it one by one.

First of all, at first I thought that VS2005 software could not be the same as VS2003 software, but no matter how I clicked on the generated website, I could not find the generated dll. Later, I knew that I had to use the publishing website.

But for a web application release, VS2005 software generated a number of random characters named dll files, it looks very uncomfortable, and its management and maintenance is very inconvenient, more unacceptable is in the release of webservice, for each webservice website application VS2005 generated a file named App_Code.dll, can not find a place to modify the name of the generated file.

In helplessness, I had to look for information on the Internet. Later learned that WebDeployment (click here to go to the WebDeployment download page) this small plug-in can solve the above problem, so download to take a look. It's in e-language, it's not very convenient to use, but it can solve the problem.

But I found many new problems in the process of using WebDeployment. It is very unstable to use, and there will be inexplicable errors. Sometimes the same code can be compiled and sometimes it cannot. The error prompt is very vague and general, always prompting:

Error 1 "aspnet_merge.exe" exited with code 1.

And this code is normal when not using WebDeployment, and can be compiled and passed.

I believe that many friends have encountered this kind of problem, which is really confusing, so the author uses the command action to execute aspnet_merge.exe to manage the merger of dll. Get the following information for vs2005

Utility to merge precompiled ASP.NET assemblies.

Copyright (c) Microsoft Corporation. All rights reserved.

An error occurred when merging assemblies:

The index exceeds the bounds of the array.

VS2005 software sometimes goes wrong and sometimes it doesn't.

After reading the above, have you mastered how to understand and analyze the VS2005 software? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

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