05.05.2021 LiveSharp 2.0.9 update
- Fixes “InvalidProgramException” bug
- Fixes “IlCompilationException” with “EventCallback” bug
- Fixes “Method not found” bug
- Fixes few other issues related to generic methods
livesharpcommand, not on every application start
NB! Make sure you update LiveSharp.Server (`dotnet tool update LiveSharp.Server –global`) along with the NuGet package.
This fixes a weird issue where project compilation hangs without any diagnostic messages.
NB! You will need to restart Visual Studio and do a full solution rebuild after the NuGet package update. Otherwise, you might encounter weird startup crashes.
This is a big update that contains huge rewrites, that’s why I’m releasing it as a beta first. Feedback would be really appreciated!
This server update is required for the next NuGet package release to support the latest C# features.
NB! Please make sure that you have .net 5.0 installed before upgrading to LiveSharp.Server 1.7.0
Use the “BF20” coupon code to save 40% on all yearly subscriptions!
loadAssemblywarnings. You can still see them is you run
refparameter not working properly bug
[LiveSharpExclude]attribute if you want to exclude certain types of methods from injection
livesharp.configfile is discontinued
LiveSharp.dashboard.csadded to your project. This file contains configuration for LiveSharp as well as easy access to the LiveSharp Runtime.
LiveSharp.dashboard.cseven if you are not in debugging mode. Make sure to use
LIVESHARP_DISABLEcompilation symbol to remove LiveSharp from deployment builds.
Buildmethod to your user controls and pages it will automatically be called on every update.
livesharp.configruntime section. Set this option to
trueto disable CSS hot reload in Blazor
ReflectionTypeLoadException.Typesare loaded if the exception occurs during initialization
Trace.WriteLineoutput without attaching to the process
tryin async methods bug
??bug that occurred in certain cases
livesharp.configMore info here: https://www.livesharp.net/help/
ICommandproperties to the VM in runtime
baseconstructor call issue
Invalid ILissue for generic methods
forloop is now properly displayed in the debugger (https://www.youtube.com/watch?v=xwpRqD8DThw)
Server application has a proper debugger interface now. It can be found under the Inspector tab. Add the method you want to debug and see full execution flow when the method is invoked.
NuGet package fixes CustomRenderer support that was broken on Xamarin iOS and Xamarin UWP (possibly on some other platforms as well).
Live debugging is finally here for LiveSharp! Make sure to update both the LiveSharp Server Application and the NuGet package. Then, after connecting to the app, head to Inspector tab, and add a method you want to debug. You will see a list of invocations with parameter values. Clicking on an invocation will show you the whole execution flow with all the values.
Please head to https://gitter.im/LiveSharp/Lobby and tell me what works and what needs to be improved. I really appreciate your feedback!