LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-09-2008, 08:17 AM   #1
ussr_1991
LQ Newbie
 
Registered: Jan 2007
Location: Singapore
Distribution: Windows 7 / 8.1, Fedora 21, OSX 10.10
Posts: 26

Rep: Reputation: 15
Unable to compile in Visual Studio Alternative - SharpDevelop 2.2


Hi, I am a student who take a course on Mobile Device. I need to use Visual Studio 2005 so as to create some PDA program. Now, as I am trying to keep a backup copy
of my work on to my Desktop, I find that I need a Visual Studio in my desktop too (Otherwise it cannot be open, I know that).
I hate to use trial version (Not a long term solution) from Microsoft and therefore I googled for Visual Studio Alternative. I got Sharp Develop.
Problem is, for some reason, it will never compile.
Click on the "Play" (A triangle button that resembles to play in any media player),which is the run or compile button in actual, it will give me some error.


This is the error:
Code:
The Microsoft.CompactFramework.Build.Tasks.AddHighDPIResource
task could not be loaded from the assemblies 
Microsoft.CompactFramework.Build.Tasks, Version= 8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. The file or assembly 
Microsoft.CompactFramework.Build.Tasks, Version= 8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a or a 
dependence on it was not found. The system cannot find the indicated file. 
Make sure that - declaration is correct and that those are to assembly 
and everything their dependence at the disposal.(MSB4062) - 
C:\WINDOWS\Microsoft.NET\Framework\v2.0,50727 \ Microsoft.CompactFramework.Common.targets: 110,9

I know this is not a Linux application but in a Windows XP SP3 and may not be relevant, but if I cannot solve this, I would not dare to try install Visual Studio Alternative for Linux (This desktop is a dual-boot system, also as well as Mac for another backup laptop).

Additional notes, the code I specified above is a translation from chinese.
But based on error code MSB4062, what does it say?
I had no problems with my official laptop in school,which sadly, uses Vista.
I want my XP, Linux and Mac to get working so that I can no need to depend on Vista & Visual Studio (I stated that I uses Sharp Develop 2.2 earlier for my XP, and dunno what for Linux and Mac---Any suggestions, but I want only GUI-IDE because I am a new beginner in this programming stuff, I do not want to confuse myself yet.??)


I do not want to install Visual Studio Cracked version because my system may not be compatible & wish to try & support Open Source software with quality ones.

Is there any workaround? (Intially there had even some files like Microsoft.CompactFramework.Common.targets ,Microsoft.CompactFramework.CSharp.v1.targets, Microsoft.CompactFramework.VisualBasic.targets& Microsoft.CompactFramework.VisualBasic.v1.targetsare missing which I then copied them from my Vista laptop using thumb drive. Now no more file missing error.)

Last edited by ussr_1991; 08-09-2008 at 08:24 AM.
 
Old 08-09-2008, 10:50 AM   #2
yousifnet
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
Are you sure you have the Compact Framework Redist and the .NET SDK installed?

do you have the latest version of sharpdevelop?

did you start a new project using sharpdevelop or did you import a visual studio solution?

after adding the missing files, what error do you get?
 
Old 08-10-2008, 09:25 PM   #3
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
That error message sure does look like a version problem.
 
Old 08-10-2008, 11:12 PM   #4
ussr_1991
LQ Newbie
 
Registered: Jan 2007
Location: Singapore
Distribution: Windows 7 / 8.1, Fedora 21, OSX 10.10
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jiml8 View Post
That error message sure does look like a version problem.
Then what should I do?? Please help? Does reinstalling helps??
 
Old 08-12-2008, 09:18 AM   #5
ussr_1991
LQ Newbie
 
Registered: Jan 2007
Location: Singapore
Distribution: Windows 7 / 8.1, Fedora 21, OSX 10.10
Posts: 26

Original Poster
Rep: Reputation: 15
Update on Linux

Hi, again, I tried on Linux, after installed Mono, GTK# and finally MonoDevelop (I mistook that GTK# was an IDE, but it was not. It is a GUI developing software without GUI IDE.)


This is the error on MonoDevelop using Ubuntu 8.04 LTS with all patches. (Even the kernel is also compiled custom by some guides. Therefore it is 2.6.26 Version -- Ok not the latest kernel patch, though)
Code:
Could not load project: /media/hdb2/samuel/My Modules/Semester 1 (Level 1.1)/Introduction to Mobile Applications (IMA)/IMA Practical
/BookingForFlights/BookingForFlights/BookingForFlights.vbproj. Unsupported Project type, guid :
{68B1623D-7FB9-47D8-8664-7ECEA3297D4F}.
Details
Code:
Exception occurred: Unsupported Project type, guid : {68B1623D-7FB9-47D8-8664-7ECEA3297D4F}

System.Exception: Unsupported Project type, guid : {68B1623D-7FB9-47D8-8664-7ECEA3297D4F}
  at MonoDevelop.Prj2Make.MSBuildFileFormat.GetExtensionChainFromTypeGuid (System.String& type_guids, 
System.String& type_guid, System.String lang, System.String fname) [0x00000] 
  at MonoDevelop.Prj2Make.MSBuildFileFormat.LoadProject (System.String fname, IProgressMonitor monitor) [0x00000] 
  at MonoDevelop.Prj2Make.MSBuildFileFormat.ReadFile (System.String fileName, IProgressMonitor monitor) [0x00000]

What has happened?? Note: Both of these are a PDA application. May I know is it my installation problem or currently Mono does not support Visual Basic in PDA programming classes, assembly etc.

Last edited by ussr_1991; 08-12-2008 at 09:22 AM. Reason: To make the post not that long rectangle shaped. -----------------------
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stupid Question: Microsoft Visual Studio 6.0 (A.K.A. Visual Basic 6) Will it run? S0RD3N Linux - Software 8 05-07-2008 08:42 PM
visual studio.net M O L8ingN2dust Linux - Software 3 11-17-2005 10:10 PM
VB6 on Visual Studio? mohbana Programming 1 11-23-2004 01:40 PM
visual studio on wine supermatt Linux - Software 5 03-03-2004 04:16 PM
Weaning myself from Visual Studio kleptophobiac Programming 2 01-25-2004 10:44 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration