# Migration: Visual Studio 2015 to Water

**URL:** https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272
**Category:** Oxygene
**Tags:** visual-studio, oxygene, water
**Created:** [February 25, 2021, 8:28pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272 "2021-02-25T20:28:12Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Anderson\_Gregorio](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Anderson\_Gregorio](https://talk.remobjects.com/u/Anderson_Gregorio)
#### Post date: [February 25, 2021, 8:28pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/1 "2021-02-25T20:28:13Z")

</div>

Hi,

Good Afternoon.

Well, we’ve been trying migrate a legacy project from Visual Studio 2015 to IDE Water, but, we are facing some difficulties to compile the code made in Oxygene (VS 2015) to the new IDE Water.

1. First of all, we need to know if the new versions of Elements Oxygene is exclusively made for IDE Water, or we could still compile using Visual Studio (we downloaded the lasts releases (Elements and Data Abstract (Water, Visual Studio and Delphi ).

2. Some of our services (that were made using Oxygene) are Soap Services, made in VS 2015. We are trying to compile in Water, but fail the compilation process, it returns these kinds of messages:

W: Unknown or unsupported Generator ‘WCF Proxy Generator’ for file ‘Service References\BoticarioSiscobraServicos\Reference.svcmap’.

These errors are references in \*.oxygene file generated by VS 2015.

It`s possible migrate Soap legacy codes to compile in Water?

1. There is a tool or procedure to generate a Soap Service reference inside IDE Water like VS? It`s necessary generate all Service References again?

Usefull informations:  
**Actual Version that we are using in production:** RemObjects Elements with Visual Studio 2015 - 9.3.103.2211.exe.  
**Trying update to:** RemObjects Elements with Water - 10.0.0.2605.exe

Congrats.

Sry for my English.

Thx

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [February 25, 2021, 8:52pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/2 "2021-02-25T20:52:25Z")

</div>

Anderson.

> [@Anderson\_Gregorio](#):
>
> First of all, we need to know if the new versions of Elements Oxygene is exclusively made for IDE Water, or we could still compile using Visual Studio (we downloaded the lasts releases (Elements and Data Abstract (Water, Visual Studio and Delphi ).

Yes, Oxygene continues to support Visual Studio 2017 and 2019, in addition to Water.

> [@Anderson\_Gregorio](#):
>
> 1. Some of our services (that were made using Oxygene) are Soap Services, made in VS 2015. We are trying to compile in Water, but fail the compilation process, it returns these kinds of messages:
> 
> W: Unknown or unsupported Generator ‘WCF Proxy Generator’ for file ‘Service References\BoticarioSiscobraServicos\Reference.svcmap’.

Curious., this was a know issue but should have been fixed a few weeks ago, but it looks iike there might have been a typo. I have just now fixed this for tomorrow’s build.

> [@Anderson\_Gregorio](#):
>
> There is a tool or procedure to generate a Soap Service reference inside IDE Water like VS? It`s necessary generate all Service References again?

not currently, no. You will need to open your projects in Visual Studio for that, even if you work in Water the rest of the time.

yours,  
maerc

---

<div class="post-metadata">

### Author: ![Anderson\_Gregorio](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Anderson\_Gregorio](https://talk.remobjects.com/u/Anderson_Gregorio)
#### Post date: [March 3, 2021, 1:36pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/3 "2021-03-03T13:36:41Z")

</div>

Hello,

Acctually I fixed the problems that I mentioned in this topic. I had to reimport each folder again to be effectivelly readed by the compilers. In addition it was possible run in Water or Visual Studio 2019.

- But now, I`m in doubt about Server_Access file. The compiler is often asking to generate this file, so I`ve openned the Edit Library and did it. Follow an snippet of the file:

constructor ServerAccess;  
begin  
self.\_serverUrl := ‘[http://yourserver.example.com:8099/bin](http://yourserver.example.com:8099/bin)’;  
self.\_clientChannel := ClientChannel.ChannelMatchingTargetUri(self.\_serverUrl);  
self.\_message := Message.MessageMatchingTargetUri(self.\_serverUrl);  
end;

method ServerAccess.get\_\_LoginService: not nullable ILoginService;  
begin  
exit CoLoginService.Create(self.\_message) clientChannel(self.\_clientChannel) as not nullable;  
end;

However it returns the error while compiling:

|Erro||(E600) Parameter labels do not match. Parameter 2 is labeled clientChannel but should be unlabeled in call to class method Create(message: IMessage; clientChannel: IClientChannel): CSLog.dxserver.ILoginService\_Async|dxserver|D:\siscob\_trunk\net\dxserver\dxserver\_ServerAccess.pas|634||

What I must to configure to be generated correctly?

- Another problem Its with the URL asked at Edit Box

‘[http://yourserver.example.com:8099/bin](http://yourserver.example.com:8099/bin)’;

I got an warning like:

(W46) Potential null value is implicitly cast to not nullable IMessage|dxserver|D:\siscob\_trunk\net\dxserver\dxserver\_ServerAccess.pas|624||

What could be?

Thank you.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [March 3, 2021, 1:49pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/5 "2021-03-03T13:49:19Z")

</div>

Let me loop in my colleague Anton here, here’s more familiar with the Remoting SDK side of things.

---

<div class="post-metadata">

### Author: ![antonk](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/a5b964/32.png) [@antonk](https://talk.remobjects.com/u/antonk)
#### Post date: [March 3, 2021, 2:17pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/6 "2021-03-03T14:17:22Z")

</div>

Hello

> [@Anderson\_Gregorio](#):
>
> But now, I`m in doubt about Server_Access file. The compiler is often asking to generate this file, so I`ve openned the Edit Library and did it. Follow an snippet of the file:

Compiler itself should not care about this file at all. If you don’t use it then you can safely remove it.  
The code in `..._ServerAccess` file is intended to be used as a starting point in your server infrastructure.

> [@Anderson\_Gregorio](#):
>
> method ServerAccess.get\_\_LoginService: not nullable ILoginService;  
> begin  
> exit CoLoginService.Create(self.\_message) clientChannel(self.\_clientChannel) as not nullable;  
> end;

This is a bug obviously. The code line should look like

> [@Anderson\_Gregorio](#):
>
> I got an warning like:
> 
> (W46) Potential null value is implicitly cast to not nullable IMessage|dxserver|D:\siscob\_trunk\net\dxserver\dxserver\_ServerAccess.pas|624||
> 
> What could be?

```auto
exit CoLoginService.Create(self._message, self._clientChannel) as not nullable;

```

> [@Anderson\_Gregorio](#):
>
> I got an warning like:
> 
> (W46) Potential null value is implicitly cast to not nullable IMessage|dxserver|D:\siscob\_trunk\net\dxserver\dxserver\_ServerAccess.pas|624||
> 
> What could be?

Could you show the code around this line?

Regards

---

<div class="post-metadata">

### Author: ![Anderson\_Gregorio](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Anderson\_Gregorio](https://talk.remobjects.com/u/Anderson_Gregorio)
#### Post date: [March 3, 2021, 5:08pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/7 "2021-03-03T17:08:48Z")

</div>

Hi,

Compiler itself should not care about this file at all. If you don’t use it then you can safely remove it.  
The code in `..._ServerAccess` file is intended to be used as a starting point in your server infrastructure.

Understood, but while compiling it asks for this file.

Could you show the code around this line?

It is shown at constructor lines, self.\_clientChannel and self.\_message. Have we configure this entry point at local machine and in the server?

> constructor ServerAccess;  
> begin  
> self.\_serverUrl := ‘[http://yourserver.example.com:8099/bin](http://yourserver.example.com:8099/bin)’;  
> self.\_clientChannel := ClientChannel.ChannelMatchingTargetUri(self.\_serverUrl);  
> self.\_message := Message.MessageMatchingTargetUri(self.\_serverUrl);  
> end;

---

<div class="post-metadata">

### Author: ![antonk](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/a5b964/32.png) [@antonk](https://talk.remobjects.com/u/antonk)
#### Post date: [March 4, 2021, 10:52am UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/8 "2021-03-04T10:52:59Z")

</div>

> [@Anderson\_Gregorio](#):
>
> Compiler itself should not care about this file at all. If you don’t use it then you can safely remove it.  
> The code in `..._ServerAccess` file is intended to be used as a starting point in your server infrastructure.
> 
> Understood, but while compiling it asks for this file.

Could you provide exact compiler message?

> [@Anderson\_Gregorio](#):
>
> It is shown at constructor lines, self.\_clientChannel and self.\_message. Have we configure this entry point at local machine and in the server?

It should point to your server Url, otherwise client won’t be able to connect to it.

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [March 4, 2021, 2:39pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/9 "2021-03-04T14:39:16Z")

</div>

Thanks, logged as [bugs://85681](https://www.remobjects.com/portal/bugs/?id=85681)

---

<div class="post-metadata">

### Author: ![Anderson\_Gregorio](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Anderson\_Gregorio](https://talk.remobjects.com/u/Anderson_Gregorio)
#### Post date: [March 5, 2021, 1:31pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/10 "2021-03-05T13:31:08Z")

</div>

Hello.  
We were capable of generating the build correctly for many of files of our project.

However at moment we are trying compile an specific Web Reference. But still getting the problem.

**3\>Software\Elements\RemObjects.Elements.Echoes.targets(53,3): warning : Unknown or unsupported Generator ‘WCF Proxy Generator’ for file ‘Service References\SantanderBoletoTicket\Reference.svcmap’.**

And the error.

**method CSLog\_dxserver\_SantanderBoletoTicket\_TicketEndpoint\_create(request: CSLog.dxserver.SantanderBoletoTicket.createRequest): CSLog.dxserver.SantanderBoletoTicket.createResponse; implements CSLog.dxserver.SantanderBoletoTicket.TicketEndpoint.create;**  
**error E168: interface member name expected**

We did a new Service Reference and it seems correct.

Is this a new version that will be released?

Version in use: RemObjects Elements with Water - 10.0.0.2605.exe

Thank you!

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [March 5, 2021, 1:34pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/11 "2021-03-05T13:34:37Z")

</div>

> [@Anderson\_Gregorio](#):
>
> 3\>Software\Elements\RemObjects.Elements.Echoes.targets(53,3): warning : Unknown or unsupported Generator ‘WCF Proxy Generator’ for file ‘Service References\SantanderBoletoTicket\Reference.svcmap’.

I believe that is fixed in last week’s build (2607)…

> [@Anderson\_Gregorio](#):
>
> **method CSLog\_dxserver\_SantanderBoletoTicket\_TicketEndpoint\_create(request: CSLog.dxserver.SantanderBoletoTicket.createRequest): CSLog.dxserver.SantanderBoletoTicket.createResponse; implements CSLog.dxserver.SantanderBoletoTicket.TicketEndpoint.create;**  
> **error E168: interface member name expected**

this one i can not comment on without seeing more of the code. can you reproduce this error in a smaller test case you can send us? i assume `CSLog.dxserver.SantanderBoletoTicket.TicketEndpoint` _is_ an interface, and has a matching method called `create`?

---

<div class="post-metadata">

### Author: ![Anderson\_Gregorio](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Anderson\_Gregorio](https://talk.remobjects.com/u/Anderson_Gregorio)
#### Post date: [March 5, 2021, 1:54pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/12 "2021-03-05T13:54:42Z")

</div>

I believe that is fixed in last week’s build (2607)…

How can I download this new version?

this one i can not comment on without seeing more of the code. can you reproduce this error in a smaller test case you can send us? i assume `CSLog.dxserver.SantanderBoletoTicket.TicketEndpoint` _is_ an interface, and has a matching method called `create` ?

It`s matching because in others projects are ok this is the file References, generated by the Services References.

I`ll try reproduce.

Thank you!

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [March 5, 2021, 1:57pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/13 "2021-03-05T13:57:20Z")

</div>

> [@Anderson\_Gregorio](#):
>
> How can I download this new version?

[https://www.remobjects.com/portal/downloads/](https://www.remobjects.com/portal/downloads/)

> [@Anderson\_Gregorio](#):
>
> It`s matching because in others projects are ok this is the file References, generated by the Services References.
> 
> I`ll try reproduce.

thanx!

---

<div class="post-metadata">

### Author: ![Anderson\_Gregorio](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Anderson\_Gregorio](https://talk.remobjects.com/u/Anderson_Gregorio)
#### Post date: [March 5, 2021, 2:01pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/14 "2021-03-05T14:01:50Z")

</div>

> **[Login | Portal | RemObjects Software](https://www.remobjects.com/portal/login.aspx?backto=%2fportal%2fdownloads%2fdefault.aspx)**

I`ve just found the version 2605.

 ![RemObject Downloads](https://talk.remobjects.com/uploads/default/original/2X/7/7c24aaf8a4dd03b8a561736482a65ee143288f56.png)

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [March 5, 2021, 2:03pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/15 "2021-03-05T14:03:17Z")

</div>

If you had cropped that screenshot a bit larger, you’d see 2607 below 😂.

 ![image](https://talk.remobjects.com/uploads/default/original/2X/9/936126c69dc219d2197aa99c33c030181614a03a.jpeg)

---

<div class="post-metadata">

### Author: ![Anderson\_Gregorio](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Anderson\_Gregorio](https://talk.remobjects.com/u/Anderson_Gregorio)
#### Post date: [March 5, 2021, 2:07pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/16 "2021-03-05T14:07:16Z")

</div>

It’s disabled.

 ![RemObjects Preview](https://talk.remobjects.com/uploads/default/original/2X/9/9bc0c8fef884c9f609f139c1ae02501f40a8305b.png)

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [March 5, 2021, 2:19pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/17 "2021-03-05T14:19:06Z")

</div>

Hm, that’s strange. What user are you logged in as? The license I see on your account is still active, but doesn’t match the date shown in your screenshot… it looks as iff the website is confused about your license status, but I cant imagine how that would happen, right now.

---

<div class="post-metadata">

### Author: ![Anderson\_Gregorio](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Anderson\_Gregorio](https://talk.remobjects.com/u/Anderson_Gregorio)
#### Post date: [March 5, 2021, 2:43pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/18 "2021-03-05T14:43:58Z")

</div>

Hi

Even trying by the main account of the company. It`s disabled.

The licence is active.

Thx

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [March 5, 2021, 2:47pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/19 "2021-03-05T14:47:05Z")

</div>

Reproduced with your account. I’ll have a look and see whats going on here, and get that fixed ASAP.

---

<div class="post-metadata">

### Author: ![Anderson\_Gregorio](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@Anderson\_Gregorio](https://talk.remobjects.com/u/Anderson_Gregorio)
#### Post date: [March 5, 2021, 3:00pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/20 "2021-03-05T15:00:48Z")

</div>

Hi

Ok, I’ll Wait

About the example, I created an RemObject SDK Server Test using my enviroment configurations.

Adding the server reference and trying to build using Visual Studio 2019.

I got the same error.

Follow an example attached.

Thank you.[RemObjectsServerTest.zip](https://talk.remobjects.com/uploads/short-url/nESA543F1K9Iyedb43Q1utAcudn.zip) (77.4 KB)

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [March 5, 2021, 3:02pm UTC](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272/21 "2021-03-05T15:02:31Z")

</div>

> [@mh](#):
>
> Reproduced with your account. I’ll have a look and see whats going on here, and get that fixed ASAP.

Fixed; my sincerest apologies for this!

[Next page](https://talk.remobjects.com/t/migration-visual-studio-2015-to-water/24272.md?page=2)
