Posted on: 11/27/2012 1:01:07 AM | Views : 447

Hi. I am brand new to asp.net and c#. I'd be grateful if you could help me resolve this: I have an error in a config file:

Error    1          A namespace cannot directly contain members such as fields or methods            c:\users\lau\documents\visual studio 2010\Projects\PetProject\PetProject\Web.Release.config        1          1            PetProject
 
Here is code for the file:
<?xml version="1.0"?>
 
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
 
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
& ...

Go to the complete details ...