'전체'에 해당되는 글 164

  1. 2010/09/03 KKOMZI FileTracker : error FTK1011 (0)
  2. 2010/08/27 KKOMZI CopySourceAsHtml 에러 수정 (0)
  3. 2010/08/26 KKOMZI 멀티캐스트 대리자 샘플 (0)
  4. 2010/08/20 KKOMZI 중국어 간자체 변환 (0)
  5. 2010/08/16 KKOMZI 콩! 콩! (0)

FileTracker : error FTK1011

JOB BLOGer/Dot Net | 2010/09/03 18:36 | KKOMZI

VS 2010 코드 테스트중

 

갑자기 FileTracker : error FTK1011 에러가 뜬다

 

구글링 해보니.. 의외로 쉬운 해결책이 있따

 

1. 소스코드 경로에서 한글이 있는 경우 가끔 에러가 발생하니깐 영문으로 바꿔주라.

 

2. 프로젝트 파일(.csproj) 에 속성 추가

출처 : http://blogs.msdn.com/b/dsvc/archive/2010/05/28/the-quot-generateresource-quot-task-failed-unexpectedly-unable-to-load-filetracker-dll.aspx

 

<PropertyGroup>
    <TrackFileAccess>false</TrackFileAccess>
  </PropertyGroup>


이걸로 해결은 되나.. 근본적인 원인은???

 

http://msdn.microsoft.com/ko-kr/library/microsoft.build.utilities.filetracker.aspx 과 관계있나??

 

아무도, 근본적인 원인에 대한 설명은 하지 않는군.. 걍.. 버그 인건가?

 

보니깐 VS 2010 Beta 때부터 나온 현상인데 아직도 그대로 인가보네

 

참고로 현재개발 환경은 Visual Studio 2010 Ultimate Trial 한글판

 

왜... 왜.. 한글폴더명은 문제가 많은겨... ㅉㅉㅉ

 

이것때매 쓸데없은 삽질만 했네.. 에효...

트랙백 주소 :: http://blog.kkomzi.net/200/trackback/
옵션
댓글 달기

멀티캐스트 대리자 샘플 포스팅을 하던중...

 

소스코드를 블로그나 기타 웹에 올릴때 HTML 로 변환하는 툴이나 Addin 을 찾던 중

 

발견한 것중에 하나가 CopySourceAsHtml(http://copysourceashtml.codeplex.com/) 이다.

 

단독 프로그램으로 된 것도 있었던 것 같은데.. 아무튼 오픈소스에 C# 으로 만들어 졌길래...

 

다운로드 링크에 가서 바로 설치를 해보았으나... 에러가 쩝 ㅡㅡ;;

 

그래서, 소스(Chagne Set 63489)를 받아서 돌려보니(Addin 은 정말이지 디버깅하기 너무 귀찮타 ㅡㅡ;;)

 

Visual Studio 2005, 2008 공통으로 영문버전 기준으로 만들어져 있었다.

 

그래서 한글판에 쓸 수 있도록 조금 수정을 했다...

 

그리고, 무사히 소스를 이쁘게 올릴 수 있었다는...

 

느낀건.. 어떤 프로그램이나 툴을 찾을 때 오픈소스인 경우는 함 까보자..

 

나름 공부가 된다... 크크크...

 

( 아.. 오늘 날짜(2010/08/27) 기준 다운로드 링크에서 받으면
VS 2005 는 => 2.0 버전, VS 2008 은 => 3.0 버전을 설치하라고 되어있다.

영문판만 된다.. )

 

 

트랙백 주소 :: http://blog.kkomzi.net/199/trackback/
옵션
댓글 달기

   37     #region 멀티캐스트 대리자 사용 샘플

   38 

   39     delegate void Del(string s);

   40 

   41     class TestClass {

   42         static void Hello(string s) {

   43             Console.WriteLine("  Hello, {0}!", s);

   44         }

   45 

   46         static void Goodbye(string s) {

   47             Console.WriteLine("  Goodbye, {0}!", s);

   48         }

   49 

   50         public static void Test() {

   51             Del a, b, c, d;

   52 

   53             // Create the delegate object a that references

   54             // the method Hello:

   55             a = Hello;

   56 

   57             // Create the delegate object b that references

   58             // the method Goodbye:

   59             b = Goodbye;

   60 

   61             // The two delegates, a and b, are composed to form c:

   62             c = a + b;

   63 

   64             // Remove a from the composed delegate, leaving d,

   65             // which calls only the method Goodbye:

   66             d = c - a;

   67 

   68             Console.WriteLine("Invoking delegate a:");

   69             a("A");

   70 

   71             Console.WriteLine("Invoking delegate b:");

   72             b("B");

   73 

   74             // A, B 둘다 호출됨

   75             Console.WriteLine("Invoking delegate c:");

   76             c("C");

   77 

   78             // A, B 에서 A 가 빠진 B 만 호출됨

   79             Console.WriteLine("Invoking delegate d:");

   80             d("D");

   81         }

   82     }

   83     /* Output:

   84     Invoking delegate a:

   85       Hello, A!

   86     Invoking delegate b:

   87       Goodbye, B!

   88     Invoking delegate c:

   89       Hello, C!

   90       Goodbye, C!

   91     Invoking delegate d:

   92       Goodbye, D!

   93     */

   94 

   95     #endregion

트랙백 주소 :: http://blog.kkomzi.net/198/trackback/
옵션
댓글 달기

중국어 간자체 변환

JOB BLOGer/Dot Net | 2010/08/20 13:31 | KKOMZI

일단 문자열 변환만 가능...

 

Public Function ToSCUnicode(ByVal str As String) As String
  Dim arrByte_GBK As Byte()
  Dim arrByte_UTF16 As Byte()
  Dim strUTF16 As String

  ' 현재 시스템 인코딩
  Dim _defaultEncoding As Encoding = System.Text.Encoding.GetEncoding(0)
  ' Chinese Simplified (GB2312)
  Dim encGBK As System.Text.Encoding = System.Text.Encoding.GetEncoding(936)
  ' UTF - 16
  Dim encUTF16 As System.Text.Encoding = System.Text.Encoding.Unicode()

  ' 현재 시스템 인코딩에서 받은 문자열을 Chinese Simplified (GB2312) 로 바이트로 변경
  arrByte_GBK = _defaultEncoding.GetBytes(str)
  ' 다시 UTF-16 으로 변환
  arrByte_UTF16 = System.Text.Encoding.Convert(encGBK, encUTF16, arrByte_GBK)
  ' 문자열로 추출
  strUTF16 = encUTF16.GetString(arrByte_UTF16)
  Return strUTF16
 End Function

트랙백 주소 :: http://blog.kkomzi.net/197/trackback/
옵션
댓글 달기

콩! 콩!

PHOTO BLOGer/반려견(콩) | 2010/08/16 21:27 | KKOMZI
확대
트랙백 주소 :: http://blog.kkomzi.net/196/trackback/
옵션
댓글 달기
이전 1 2 3 4 5 ... 33 다음