uwp-experiences icon indicating copy to clipboard operation
uwp-experiences copied to clipboard

Project Rome not working !

Open mixturify opened this issue 8 years ago • 7 comments
trafficstars

Hi, first of all, thank you to bring us this interesting samples !

So, for the app Adventure Works, it's look like remote app service not working on Creators Update !

I have tried on same device with an windows phone emulator: not working.

I know that because before Creators Update, when I was playing with this sample, devices were listed and when you selected one, you can remotely use slideshow or all stuff made with this app.

I am trying to guess what is the problem, maybe this sample work good only on Anniversary Update ! Because if I take the sample RemoteSystems from "Windows-universal-samples" github, it's work without problems.

Bye.

mixturify avatar May 04 '17 18:05 mixturify

Thanks for reporting this @cgiu, I'll take a look and get back to you

nmetulev avatar May 04 '17 18:05 nmetulev

I think the problem is when you compile the app before packaging, this extension line is removed in the appxmanifest:

<uap:Extension Category="windows.appService"> <uap3:AppService Name="com.myapp" SupportsRemoteSystems="true"/> </uap:Extension>

So without this line, the network cannot lookup at your app.

I think VS2017 compiler is kind of buggy with this manifest and with this uap3 extensions because sometime even <uap3:Capability Name="remoteSystem" /> is duplicated in <uap:Capability...

mixturify avatar May 13 '17 08:05 mixturify

@cgiu , does this issue happen when you package the app only, or does it happen on compile time? If it's only on packaging, is the app working when deployed through visual studio?

nmetulev avatar May 15 '17 01:05 nmetulev

@nmetulev It's look like, this happen when I start the procedure for packaging the app for the store.

Well not a big deal at end. The code is fine ;)

mixturify avatar May 21 '17 20:05 mixturify

Thanks for checking. I'll investigate

nmetulev avatar May 24 '17 01:05 nmetulev

@cgiu What version of VS2017 are you using? Are you up to date using the Visual Studio Updater?

FWIW, you can work around the issue by un-checking 'Automatically increment' the version number.

sphenry avatar May 24 '17 05:05 sphenry

@sphenry I've recently update with the installer to the latest VS2017 update, the bug still here!

I also discovered that the line also disappears if I open the manifest in the visual editor and modify something.

Anyway thank you for the trick, it will avoid me to compile 2 times!

mixturify avatar May 29 '17 08:05 mixturify