BlazorLiveReload icon indicating copy to clipboard operation
BlazorLiveReload copied to clipboard

BlazorLiveReload

Results 18 BlazorLiveReload issues
Sort by recently updated
recently updated
newest added

When starting Blazor Server-based project got following error with stacktrace: ``` at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException[T](T key) at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) at RazorComponentsPreview.TestRazorProjectFileSystem.Add(RazorProjectItem item) at...

![image](https://user-images.githubusercontent.com/13206430/98688402-912a8600-2349-11eb-93ec-c4a6e62b03ab.png) im creating a project with this configs!

I am looking a way to compile in runtime a razor markup that I have in a string and convert it into an assembly. Could I do it with this...

In blazor-server System.InvalidOperationException HResult=0x80131509 Message=Sequence contains more than one matching element Source=System.Linq StackTrace: at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException() at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at RazorComponentsPreview.RuntimeComponentsGenerator.ReadAllFiles(List`1 razorFiles) at RazorComponentsPreview.RuntimeComponentsGenerator..ctor(IServiceCollection serviceCollection) at RazorComponentsPreview.RazorRuntimeCompilationExtensions.UseRazorComponentsRuntimeCompilation(IApplicationBuilder app) at...

When I navigate to /preview, I get this message: Field not found: 'Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame.ComponentId'.

Fixes NRE when App.Razor file is not found. Not quiet sure why it is not found or why there is a hard dependency on it in the code. From the...

i followed the instruction , but nothing seems to take effect , i still have to stop and relbuild the app to see my changes .\

I've created default templated and added Blazorise, so my `_Host.cshtml` consist of following: ```html ``` generated `preview.html` looks like this: ```html ``` which causes problem that it tries to download...

https://github.com/martasp/BlazorLiveReload/blob/aab433f962187c78eb77c1f675be5b0efc7dc7f4/src/RazorComponentsPreview/Razor/TestRazorProjectFileSystem.cs#L29 Fix should be. if (!_lookup.ContainsKey(item.CombinedPath)) { _lookup.Add(item.FilePath, item); }