microsoft / uwp-experiences

Universal Windows Platform (UWP) samples and showcases
MIT License
572 stars 213 forks source link

Project Rome not working ! #35

Open mixturify opened 7 years ago

mixturify commented 7 years ago

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.

nmetulev commented 7 years ago

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

mixturify commented 7 years ago

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

`

    </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 is duplicated in <uap:Capability...

nmetulev commented 7 years ago

@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?

mixturify commented 7 years ago

@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 ;)

nmetulev commented 7 years ago

Thanks for checking. I'll investigate

sphenry commented 7 years ago

@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.

mixturify commented 7 years ago

@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!