This project has moved and is read-only. For the latest updates, please go here.

C# Version compatibility

Feb 8, 2015 at 6:26 PM
I was unable to load the library SharpKML.Core using VS C# Express. The other libraries load correctly, Thinking this was a version problem, I tried both 2012 and 2013 "desktop" versions of Express. The error message is non-informative: "ProjectTypeDeprecated". Any advice on how to bring this into an existing desktop project in 2012? Alternatively, this could be a dependence on the Windows Store components? After tricking out the .csproj file to get the base library to load, I get reference errors for UriComponents in file UriExtension.cs

SharpKml\SharpKml.Core.csproj: The application which this project type is based on was not found. Please try this link for further information:
Feb 9, 2015 at 7:51 PM
The library targets the Portable Class Libraries (PCL), which I don't think are supported on the express editions unfortunately (you can reference the generated DLLs, but you will be unable to load the projects in Visual Studio).

Maybe you could try Visual Studio Community 2013, which I believe is the replacment of Visual Studio Express 2013? Failing that, I think you can edit the project file in a text editor to convert it into a regular C# project that you can open with your installed versions, though the generated DLL will no longer be portable (i.e. it will require the full version of the .NEt framework).

Hope that helps and thanks for trying the library,
Feb 9, 2015 at 10:03 PM


Daniel Zimmerle

[email removed]