You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have <TreatWarningsAsErrors>true</TreatWarningsAsErrors> set. There are not any warnings/errors shown in the error list in VS. However, when I go to build, I receive a failed build with:
error IDISP007: Don't dispose injected on _map.Dispose();
Why shouldn't I dispose here?
Why doesn't VS report an issue? I only see this issue after building.
The text was updated successfully, but these errors were encountered:
Thanks for this great tool! I have a Blazor application (using .NET 7.0.304) with a code-behind C# file that implements
IDisposable
GoogleMap looks like the following
I have
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
set. There are not any warnings/errors shown in the error list in VS. However, when I go to build, I receive a failed build with:error IDISP007: Don't dispose injected
on_map.Dispose();
The text was updated successfully, but these errors were encountered: