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

Sample Analysis of Visual Studio 2010F# Code

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

Today, I will talk to you about the example analysis of Visual Studio 2010F# code, many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.

Visual Studio 2010F# is an efficient. Net programming language. It is a mixture of functional language and object-oriented programming language, and is suitable for programming, algorithm, technology and exploratory development, so you can feel interesting and attractive in the process of using it.

View the source code of the Visual Studio 2010F# file:

@ echo off if "% 1" = "" goto x86 if not "% 2" = "" goto usage if / I% 1 = = x86 goto x86 if / I% 1 = = amd64 goto amd64 if / I% 1 = = x64 goto amd64 if / I% 1 = = ia64 goto ia64 if / I% 1 = = x86_amd64 goto x86_amd64 if / I% 1 = = x86_ia64 goto x86_ia64 goto usage: x86 if not exist "% ~ dp0binvcvars32.bat" goto missing call "% ~ dp0binvcvars32. Bat "goto: eof: amd64 if not exist"% ~ dp0binamd64vcvarsamd64.bat "goto missing call"% ~ dp0binamd64vcvarsamd64.bat "goto: eof: ia64 if not exist"% ~ dp0binia64vcvarsia64.bat "goto missing call"% ~ dp0binia64vcvarsia64.bat "goto: eof: x86_amd64 if not exist"% ~ dp0bin trees _ amd64vcvarsx86_amd64.bat "goto missing call"% ~ dp0bin trees _ amd64vcvarsx86_amd64.bat "goto: eof: x86_ia64 if not exist"% ~ dp0bin customers _ ia64vcvarsx86_ia64.bat "goto missing call"% ~ dp0bin certificates _ Ia64vcvarsx86_ia64.bat "goto: eof: usage echo Error in script usage. The correct usage is: echo% 0 [option] echo where [option] is: x86 ^ | ia64 ^ | amd64 ^ | x86_amd64 ^ | x86_ia64 echo: echo For example: echo% 0 x86_ia64 goto: eof: missing echo The specified configuration type is missing. The tools for the echo configuration might not be installed. Goto: eof

It is not difficult to find that the actual running code is:

: x86 if not exist "% ~ dp0bin\ vcvars32.bat" goto missing call "% ~ dp0bin\ vcvars32.bat" goto: eof

That is, run the vcvars32.bat file in the bin directory under the current directory. The content of this file is very simple, as follows: take the value d:\ Microsoft Visual Studio 8\ Common7\ Tools\ on my machine.

So find the directory and view the Visual Studio 2010Falls under it, as follows:

Call "% VS80COMNTOOLS%vsvars32.bat" gacutil / I YejunWorkshop.IDUControlLibrary.Design.dll the batch file is run directly to add the YejunWorkshop.IDUControlLibrary.Design.dll assembly to GAC. After reading the above, do you have any further understanding of the sample analysis of Visual Studio 2010F# code? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

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