I tried to create empty project and put Smartfox2X.dll into it, switch platform to WP8, got the following errors:
Error building Player: Exception: Error: type `System.Timers.Timer` doesn't exist in target framework.
Error: type `System.Timers.Timer` doesn't exist in target framework.
Error: type `System.Timers.Timer` doesn't exist in target framework.
Error: type `System.Net.Dns` doesn't exist in target framework.
Error: type `System.Net.IPHostEntry` doesn't exist in target framework.
Error: type `System.Net.IPHostEntry` doesn't exist in target framework.
Error: type `System.Timers.Timer` doesn't exist in target framework.
any help is appreciated...
Has anyone tried to build a WindowsPhone version?
-
iso2000555
- Posts: 3
- Joined: 09 Sep 2013, 11:16
Re: Has anyone tried to build a WindowsPhone version?
Hi,
this is relatively new and we have never tried.
The current API build uses regular network classes found in the .Net/Mono framework and supported by the Unity Editor.
I think the problem here is that Windows Phone uses different .Net packages. But I also find this kind of strange. Isn't Unity supposed to allow you write your code once and then "export it" to whatever native platform? Eg. Android, iOS, Flash etc...
I have done a quick Google search and have found very little documentation on how this is supposed to work. Do you have any resources we can look at?
If Windows 8 Phone requires completely different classes to be supported it would defeat the purpose of writing once and deploying everywhere.
In any case, the next C# API update will also contain native API for both Win8 RT and Win8 Phone.
Hope it helps
this is relatively new and we have never tried.
The current API build uses regular network classes found in the .Net/Mono framework and supported by the Unity Editor.
I think the problem here is that Windows Phone uses different .Net packages. But I also find this kind of strange. Isn't Unity supposed to allow you write your code once and then "export it" to whatever native platform? Eg. Android, iOS, Flash etc...
I have done a quick Google search and have found very little documentation on how this is supposed to work. Do you have any resources we can look at?
If Windows 8 Phone requires completely different classes to be supported it would defeat the purpose of writing once and deploying everywhere.
In any case, the next C# API update will also contain native API for both Win8 RT and Win8 Phone.
Hope it helps
Re: Has anyone tried to build a WindowsPhone version?
Hi again,
I have finally found what I was looking for on the Unity website.
This page:
http://unity3d.com/unity/system-requirements
which clarifies how the requirements for Windows 8 Phone development.
They are:
We're releasing the native Windows 8 and Windows 8 Phone API during the week, so keep an eye on our website download page for the update.
Thanks
I have finally found what I was looking for on the Unity website.
This page:
http://unity3d.com/unity/system-requirements
which clarifies how the requirements for Windows 8 Phone development.
They are:
This means that you will also need the W8P specific API, not the generic Unity API you would use for the WebPlayer or desktop, I suppose.System Requirements for Windows Store/Windows Phone development
In addition to the general system requirements:
-> Windows Phone SDK 8.0 requires 64-bit Windows 8 Pro or higher. You can't develop Windows Phone 8 apps on Windows 7, on Windows Server 2008, or on Windows Server 2012.
-> Microsoft Visual Studio 2012
We're releasing the native Windows 8 and Windows 8 Phone API during the week, so keep an eye on our website download page for the update.
Thanks
Re: Has anyone tried to build a WindowsPhone version?
UPDATE:
we have release the Windows 8 and Windows 8 Phone DLLs which can also be used with Unity 4.
Download from here:
http://www.smartfoxserver.com/download/sfs2x#p=client
API Setup Documentation here:
http://docs2x.smartfoxserver.com/Gettin ... api-csharp
Cheers
we have release the Windows 8 and Windows 8 Phone DLLs which can also be used with Unity 4.
Download from here:
http://www.smartfoxserver.com/download/sfs2x#p=client
API Setup Documentation here:
http://docs2x.smartfoxserver.com/Gettin ... api-csharp
Cheers
-
gs_vamseemohan
- Posts: 14
- Joined: 07 Aug 2013, 07:50
Re: Has anyone tried to build a WindowsPhone version?
Hi,
I just downloaded the unity examples pack from your site. And im trying to make a WP8 build. and i get this error
Error building Player: Exception: Error: type `System.Timers.Timer` doesn't exist in target framework.
Error: type `System.Timers.Timer` doesn't exist in target framework.
Error: type `System.Timers.Timer` doesn't exist in target framework.
Error: type `System.Net.Dns` doesn't exist in target framework.
Error: type `System.Net.IPHostEntry` doesn't exist in target framework.
Error: type `System.Net.IPHostEntry` doesn't exist in target framework.
Error: type `System.Timers.Timer` doesn't exist in target framework.
.....
The same for any other platform worked so far, but not for WP8, am i missing something here?
I just downloaded the unity examples pack from your site. And im trying to make a WP8 build. and i get this error
Error building Player: Exception: Error: type `System.Timers.Timer` doesn't exist in target framework.
Error: type `System.Timers.Timer` doesn't exist in target framework.
Error: type `System.Timers.Timer` doesn't exist in target framework.
Error: type `System.Net.Dns` doesn't exist in target framework.
Error: type `System.Net.IPHostEntry` doesn't exist in target framework.
Error: type `System.Net.IPHostEntry` doesn't exist in target framework.
Error: type `System.Timers.Timer` doesn't exist in target framework.
.....
The same for any other platform worked so far, but not for WP8, am i missing something here?
Re: Has anyone tried to build a WindowsPhone version?
The Unity examples don't work in Windows 8 / Windows Phone 8 out of the box.
Please follow the instructions provided here: http://docs2x.smartfoxserver.com/Gettin ... api-csharp
(read the Unity paragraph and follow the link to the Unity website).
Please follow the instructions provided here: http://docs2x.smartfoxserver.com/Gettin ... api-csharp
(read the Unity paragraph and follow the link to the Unity website).
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team