New SDK Project / New SDK Item

I’ve got the latest Oxygene and RO-SDK for .NET installed in VS 2013 and sometimes run into problems building a server. I’m using just a simple Windows Forms server for my local testing and learning.

A couple of days ago, I added a new RO-SDK service item just fine, but now it’s not in the list–only RO-SDK Test. I’ve created a new Windows Form project and reinstalled RO-SDK thinking maybe the the “new item” had been removed or hidden somehow, but it didn’t bring it back. I can’t think of anything I did in the meantime to delete it.

So I tried the new Windows Forms Server project under RO SDK and walked through the steps to create a server and client (by the way, I can’t uncheck “also create matching client” but have to manually remove it later since I’m implementing a client differently). The server project had invalid entries for the references (which caused errors in the form designer). Checking the project file, I saw the problem:

<Reference Include="$(Framework)\mscorlib.dll">
  <Name>mscorlib</Name>
</Reference>

instead of

<Reference Include="mscorlib" />

Changing the references fixed the project and I can now pull up the form designer and run the project. This might be a problem only on my machine–perhaps I need to define “Framework” in VS (not familiar enough to know how to do that).

Thanks,
David.

Hello

Seems there is some kind of bug with deployment of the ‘New Item’ template. We’ll log and fix this immediately. As a workaround just create a new server project, remove everything from its RODL and store this RODL somewhere. Then later you’ll be able to add this file to your projects.

The ‘$(Framework)’ issue is a bug and was already fixed (unfortunately a bit too late to get into the latest release). Seems manually fixing the generated project file is the only option here.

Sorry for the inconvenience.

Thanks for the tip. I was thinking about copying the RODL file but hadn’t tried a new project yet.

This is a minor inconvenience–I appreciate the hard work you guys put into these products!

David.

That said, Oxygene will get a new SDK server template similar to one described in the http://blogs.remobjects.com/blogs/antonk/2014/12/18/p7008 blogpost.

Sweet!