by

## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
Nikolai Damm
@niem94
Or maybe not, forgot i have breaking changes to fix first. I will report back tommorow ^^
jbanner
@jbanner
Hi Guys, trying to get LiveSharp working for an existing blazor project, but having some issues on the second installation step, running the command in terminal

C:\Program Files\dotnet\sdk\3.1.301\NuGet.targets(128,5): error : Failed to retrieve information about 'livesharp.server' from remote source https://nuget.telerik.com/nuget/FindPackagesById()?id='livesharp.server'&semVerLevel=2.0.0'. [C:\Users\Jacob\AppData\Local\Temp\y0iflkmm.lss\restore.csproj]
C:\Program Files\dotnet\sdk\3.1.301\NuGet.targets(128,5): error : Response status code does not indicate success: 401 (Logon failed.). [C:\Users\Jacob\AppData\Local\Temp\y0iflkmm.lss\restore.csproj]
The tool package could not be restored.
Tool 'livesharp.server' failed to install. This failure may have been caused by:

* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET Core tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool

jbanner
@jbanner
Hi guys, managed to get LiveSharp installed by using --add-source, but am now facing a consolde error.
POST https://localhost.livesharp.net:50539/livesharp/negotiate?negotiateVersion=1 net::ERR_NAME_NOT_RESOLVED

error: Connection exception: System.AggregateException: One or more errors occurred. (TypeError: Failed to fetch) ---> WebAssembly.JSException: TypeError: Failed to fetch
I smell
Lyndon Hughey
@lhughey
You have to tell it to ignore failed sources. It can't find the nuget on the Telerik nuget server
@jbanner Try this "dotnet tool install --global livesharp.server --ignore-failed-sources"
Peter Morris
@mrpmorris
I didn't know that one @lhughey
Odd new error though, it's going to localhost.livesharp.net:50539 - shouldn't that be localhost:50539` @ionoy ?
Lyndon Hughey
@lhughey
@mrpmorris I just learned it last week. lol
Peter Morris
@mrpmorris
@lhughey Are you using it with blazor?
Lyndon Hughey
@lhughey
I am not. I'm using it with Xamarin Forms
Peter Morris
@mrpmorris
Damn
Thanks :)
Lyndon Hughey
@lhughey
np. @mrpmorris
Mihhail Maslakov
@ionoy
@mrpmorris the first url is correct. This is needed for an SSL certificate. Otherwise LiveSharp couldn't connect.
What's the error?
There is a DNS record localhost.livesharp.net -> 127.0.0.1 btw
Peter Morris
@mrpmorris
It's @jbanner having the problem
jbanner
@jbanner
Howdy
Peter Morris
@mrpmorris
jbanner
@jbanner
Just want to add that the LiveSharp Dashboard doesn't come up when i run the app too
Peter Morris
@mrpmorris
@ionoy are you still there?
Mihhail Maslakov
@ionoy
Sorry, I'm on the phone right now
I feel like your DNS can't resolve localhost.livesharp.net
Can you check that somehow
It works if I check with dnschecker.org for example
Peter Morris
@mrpmorris
It works for me, but livesharp works for me. @jbanner what about you?
Nikolai Damm
@niem94
@ionoy Actually i have the same problem as @jbanner. I found out that updating to a new version after the one it installed initially (after a clean OS installation), it cant connect to the server due to the above problem. If i reroll back to 1.6.5 it works fine. I’ve just done that for now, but i wanted to mention it :-)
Atif Rehman
@rehmanab
Just FYI, something amazing happened that I wasn’t expecting, Deployed a Xamarin.Forms app to my real iPhone, was playing around with the code later on in the day, I opened my app on the phone and the LiveSharp server webpage loaded up in my browser on my computer, I thought how the hell did that happen, I changed the code and pressed save, guess what, the actual DEPLOYED app on my REAL phone changed!!!!!
So obviously the deployed app is still connecting with my LS server on my machine that will allow HotReloading directly to the deployed app on the real device… Nice surprise..
Peter Morris
@mrpmorris
That's brilliant :)
You obviously forgot to disable LiveSharp in your release build. I think it's a compiler DEFINE or something
Atif Rehman
@rehmanab
Yeh, will do that when I go live
just learing at the moment.. Im a Xamarin NOOB
Peter Morris
@mrpmorris
I've never used it
Atif Rehman
@rehmanab
its cool, buid apps in no time
Just a steep learing curve to get up to scratch with the framework… but that like anything else we do
Peter Morris
@mrpmorris
I'm here for Blazor :)
Xamarin any good for simple 2D games?
Atif Rehman
@rehmanab
Nice, Im doing that as well, love how you can just have a static website deployed to Azure storage
Yes, You can do that in Xamarin, you have the 3 project types, iOS, Android and then Xamarin.Forms which will allow you to have the same functionality accross both systems..
FOrms is more for a nice normal app.. as the name suggests
Peter Morris
@mrpmorris
You should consider using Fluxor :)
Atif Rehman
@rehmanab
cool, will take a look
Peter Morris
@mrpmorris
I'll have to learn Xamarin at some point to make a Fluxor.Xamarin library I think
Atif Rehman
@rehmanab
Yeh, just jump in and go for it