Aperture
Aperture

Reputation: 2427

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.

Upvotes: 0

Views: 547

Answers (1)

Barry Kaye
Barry Kaye

Reputation: 7759

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

Upvotes: 1

Related Questions