Announcement

Collapse
No announcement yet.

[Help] Lỗi khi Debug trong VS 2010 !!! C#

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [C#] [Help] Lỗi khi Debug trong VS 2010 !!! C#

    Khi viết chương trình xong , F5 thì nó bị lỗi như sau :

    Compile complete -- 1 errors, 0 warnings
    Build started 2/29/2012 12:39:04 AM.
    ResolveAssemblyReferences:
    A TargetFramework profile exclusion list will be generated.
    GenerateTargetFrameworkMonikerAttribute:
    Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
    CoreCompile:
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc. exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreportrompt /warn:4 /defineEBUG;TRACE /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ Profile\Client\Microsoft.CSharp.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ Profile\Client\mscorlib.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ Profile\Client\System.Core.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ Profile\Client\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ Profile\Client\System.Data.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ Profile\Client\System.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ Profile\Client\System.Xml.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\ Profile\Client\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /outbj\x86\Debug\test222.exe /target:exe Program.cs Properties\AssemblyInfo.cs "C:\Users\Mr.DK\AppData\Local\Temp\.NETFramework,V ersion=v4.0,Profile=Client.AssemblyAttributes.cs"

    Build FAILED.

    Time Elapsed 00:00:00.11
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    Ai gặp lỗi này rồi giúp mình với !
    Cái này do code hay do VS vậy?
    Thanks !

  • #2
    view tab "Error List" ra bạn ơi, cái này là tab "Output" thì phải, thường dựa vào "Error list" mới biết nó bị gì, chứ cái "Output" này chẳng khác nào là tổng kết, nchả có thông tin gì cụ thể

    Comment


    • #3
      Bạn kiểm tra phần assembly có thiếu không (ở phần reference ấy), bạn up cái source lên đây hoặc nguyên cái solution cũng được chứ cái trên thì chịu.
      Hãy là chính mình!

      Comment


      • #4
        Originally posted by 10520555 View Post
        ...
        Ai gặp lỗi này rồi giúp mình với !
        Cái này do code hay do VS vậy?
        Thanks !
        Khi tạo Pj bạn chọn .NETFramwork 3.5 hay 4 ?

        Comment


        • #5
          Originally posted by 10520541 View Post
          Khi tạo Pj bạn chọn .NETFramwork 3.5 hay 4 ?
          liên quan đến .Net à ta! VS 2010 thì chọn cái nào chả được nhỉ!
          -----------------------------
          Mai Văn Khải
          Software Engineering, University Information of Technology
          a07d26eb5cbc98f77b36a461eb629456

          Comment


          • #6
            Thanks mọi người. Sửa dc rồi. Là do code dính 1 lỗi và cài lại .Net4
            Topic Closed nha !
            Last edited by 10520555; 29-02-2012, 13:57.

            Comment

            LHQC

            Collapse
            Working...
            X