`test.xml` 파일 내 `` 태그 개수 확인
파일을 읽거나 파싱하는 중 오류가 발생했습니다:
Task-returning Page methods are unsupported in the current application configuration. To enable this, set the following configuration switch in Web.config:
<system.web>
<httpRuntime targetFramework="4.5" />
</system.web>
For more information, see http://go.microsoft.com/fwlink/?LinkId=252465.
경로: F:\home\koreaninfo2\www\test.xml
네임스페이스 (`xmlns`) 확인 필요!
디버깅 팁:
- 이 페이지가 제대로 동작하지 않으면, Visual Studio의 **'출력(Output)' 창**(`Ctrl` + `Alt` + `O`)을 확인하여 자세한 오류 메시지를 파악할 수 있습니다.
- `test.xml` 파일이 웹사이트 **루트 폴더**에 있는지, 그리고 이름이 정확히 **`test.xml`**인지 확인해 주세요.
- 만약 `test.xml` 파일의 `xmlns` 네임스페이스가 코드와 다르다면, 코드 비하인드 파일에서 `XNamespace testNs` 값을 해당 값으로 변경해야 합니다.