2010-04-12 4 views
1

웹 양식을 만들려고합니다. 나는 웹 양식에 버튼 컨트롤을 추가하지만 난 디자인 모드로 전환 할 때 나는 오류가 발생했습니다 : 웹 프로젝트 항목 E를 만들 수 없습니다 Button1을 을 만드는 오류 : \ MyProjects \ C# \ WebApplication1을웹 프로젝트 항목을 찾을 수 없습니다.

누군가가 솔루션을 제안 할 수

답변

2

이 문자는 책갈피를 나타 내기 때문에 # 문자를 제거해야합니다. 그것은 예약 된 "특수 문자"입니다. 및 /는 예약되어 있습니다 (이러한 문자는 폴더 이름에도 허용되지 않지만). 여기

<img src="http://localhost/MyApplication/C#/Image1.png" /> 

...은 다음과 같이 위치가 처리이 소스 일례이다.

This part is treated as the location 
http://localhost/MyApplication/C 

This section denotes a bookmark (just as ? denotes a querystring) 
# 

This section is the anchor name for the bookmark 
/Image1.png 

그래서 이미지는 시도라고 (당신이 ... 어떻게 작동하는지 볼 테스트 html 파일이 팝 할 수 있습니다 "http://localhost/MyApplication/C는"여기

행동에서 실제 북마크의 예입니다로드 "test.html").

<p><a href="test.html#bookmark">Down A Bit</a></p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p>Put some really long content in here...</p> 
<p><a name="bookmark"></a>When you click on "Down a Bit", 
the page will jump to this location without re-loading the page.</p> 
+0

그레이트 !!!!!!! 이 대답은 문제를 분명히합니다. –

0

누군가가 폴더 이름에서 #을 삭제하도록 제안했습니다. 그것은 일을 시작합니다. 하지만 지금은 문제가 # 인 오류가 무엇입니까?

0

경로에 # 문자가있는 프로젝트 경로의 경우 해결책은 # 문자를 제거하는 것입니다. 그러나 프로젝트 경로에 # char이 없으면 프로젝트 언로드를 수행하고 기존 솔루션에서 다시로드하십시오. 현재 웹 사이트를 열 때 수정됩니다.

관련 문제