开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜