Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Errors relating to Windows Form Designer/Visual Basic

$
0
0
Hi,
 
I have installed Sharpdevelop 4.4 on my Windows 8 64-bit laptop (heap of junk more like!)
 
I need to write an application demonstrating event-driven techniques; (I initially tried Python, can't get me head around that one. But I do recall some Visual Basic from college, so using that instead)
 
Sharpdevelop installed fine. But, whenever I create a new project/Windows Application for VB I see a mass of errors in the results window.
 
<code>
The primary reference "System.Data", which is a framework assembly, could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0,Profile=Client". To resolve this problem, either remove the reference "System.Data" or retarget your application to a framework version which contains "System.Data".
The primary reference "System.Windows.Forms", which is a framework assembly, could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0,Profile=Client". To resolve this problem, either remove the reference "System.Windows.Forms" or retarget your application to a framework version which contains "System.Windows.Forms".
Error loading code-completion information for System.Data from C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data\4.0.0.0__b77a5c561934e089\System.Data.dll:
Could not find assembly file.
Error loading code-completion information for System.Windows.Forms from C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll:
Could not find assembly file.
</code>
 
I have tried to add References to my project, but this does not work for me. I see that I require "System.Windows.Forms", for instance. But whenever I add them to the project, I receive yet more errors!!!!
 
<code>
Error loading code-completion information for System.Data from C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data\4.0.0.0__b77a5c561934e089\System.Data.dll:
Could not find assembly file.
Error loading code-completion information for System.Windows.Forms from C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll:
Could not find assembly file.
Error loading code-completion information for System.Windows.Forms from C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll:
Could not find assembly file.
Error loading code-completion information for System.Data from C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data\4.0.0.0__b77a5c561934e089\System.Data.dll:
Could not find assembly file.
</code>
 
I don't know what to do. I am doing an apprenticeship, and this is one of the units I have to study. This is becoming a problem, so much so I'm making enquires as to whether or not I can ditch this unit! (and the one after it, OOP.)
 
Has anyone else encountered this? Or gotten round this in some way? Could you help me? Thank you all in advance!

Viewing all articles
Browse latest Browse all 1764

Trending Articles