windows form的话那个版本都应该没有问题啊
建议搂主把原来的framework删除,重新安装framework试试

解决方案 »

  1.   


    -------------------------------------------------D:\csharp\split\Calc.cs(17): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(23): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(61): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(62): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(63): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(64): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(65): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(66): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(67): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(68): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(69): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(70): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(71): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(72): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(73): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(74): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(75): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(76): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(77): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(78): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(79): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(80): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(81): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(82): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(83): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(84): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(85): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(86): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.cs(87): The type or namespace name 'WinForms' does not exist in the class or namespace 'System' (are you missing an assembly reference?)
    D:\csharp\split\Calc.resx Resource transformation for file 'Calc.resx' failed.  Exception has been thrown by the target of an invocation.