开发者

Where do ASP.NET "website prejects" store default reference/assembly settings for VB/C#?

开发者 https://www.devze.com 2023-01-08 02:57 出处:网络
MY understanding is like this, for the \"website type\" of projects: for VB, the default setting for the namespaces and the default setting for references are both stored in C:\\Windows\\Microsoft.Ne

MY understanding is like this, for the "website type" of projects:

for VB, the default setting for the namespaces and the default setting for references are both stored in C:\Windows\Microsoft.Net\Framework\V4.0.30319\Config\Web.config.

but C# does not seem to use this global web.config file to store its default namespaces and references settings. One evidence is that you see a lot of开发者_运维技巧 "using ..." statements at the top of all C# files whereas you don't see many "imports ..." statements at the top of all VB files. So C# stores the namespace settings in individual .cs files, but where does C# store the reference settings then? Or the C# compiler knows all the reference without having to store it somewhere?

It seems to me VB is way more naturally compatible with the whole .NET setup. (I'm quite new to .NET). Thanks.


Search for WebForm.zip in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE

0

精彩评论

暂无评论...
验证码 换一张
取 消