Tanay Parikh

Results 169 comments of Tanay Parikh

@Taiizor what version of VS are you running? I believe it's fine in 17.4. 17.5 appears to have the regression.

> But Hot Reload for app.css doesn't work. Are you essentially seeing this? https://user-images.githubusercontent.com/14852843/200971046-aaf9cbcd-1e25-4ec3-9297-a25e62fa678e.mov

Okay thanks, yes I'm seeing the same.

For `MainLayout.razor.css` (aka scoped CSS) we aren't getting any content in the [`MetadataUpdateHandler`](https://github.com/dotnet/maui/blob/98c6a47a68c47bf744f2b05e46edcccd9a20ee8d/src/BlazorWebView/src/SharedSource/StaticContentHotReloadManager.cs#L40) (cc/ @BillHiebert): For app.css we aren't getting any content in the [`MetadataUpdateHandler`](https://github.com/dotnet/maui/blob/98c6a47a68c47bf744f2b05e46edcccd9a20ee8d/src/BlazorWebView/src/SharedSource/StaticContentHotReloadManager.cs#L40) (cc/ @mcumming):

Reported to Apple: https://feedbackassistant.apple.com/feedback/9972022

Issue has been acknowledged by Apple, however the workaround proposed requires debugging with XCode, which isn't feasible with MAUI (as far as I know).

> Add entitlement `com.apple.security.get-task-allow = YES`, see [#7706 (comment)](https://github.com/dotnet/maui/issues/7706#issuecomment-1210106684) Thanks @zengxs, fix has been confirmed. We'll discuss how we want to surface this for users.

Confirmed the bug. It's the running winforms app which is holding onto the lock: ~~Filing bug with VS (just need to update to latest first, the above was on 17.2...

On second thought though, why is the running app using the `wwwroot/app.css`. Shouldn't it be making a copy in the `bin` folder? Thoughts @javiercn?

I believe this is likely a bug in Visual Studio, specifically related to how it handles file sharing for write (save) operations. On the Blazor Hybrid WebView end, we request...