FancyFurret
FancyFurret
CC#
Created by FancyFurret on 4/26/2023 in #help
❔ Do I need Marshal.AddRef/Release here?
Im using this repo as a guide on how to make a credential provider in C#: https://github.com/phaetto/windows-credentials-provider/blob/dd3f5bbe86f1cf1f8f679ac109332975fbf3373c/WindowsCredentialProviderTest/TestWindowsCredentialProviderTile.cs#L56 Do you actually need the Marshal.AddRef/Release here? I dont have much experience with COM, but reading online it seems like usually you dont?
2 replies
CC#
Created by FancyFurret on 1/30/2023 in #help
❔ Can't use TorchSharp nuget package
I must be doing something dumb... but I can't seem to launch a program with torchsharp, i keep getting
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'TorchSharp, Version=0.99.2.0, Culture=neutral, PublicKeyToken=67b0e5e1da516a1c'. The system cannot find the file specified.
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'TorchSharp, Version=0.99.2.0, Culture=neutral, PublicKeyToken=67b0e5e1da516a1c'. The system cannot find the file specified.
I installed TorchSharp and TorchSharp-cpu v0.99.2 via nuget. My other nuget packages work fine so im really confused, anything I could look at to try and resolve this? There is even a TorchSharp.dll in my bin folder. Im using .net 7 on macos
3 replies
CC#
Created by FancyFurret on 1/29/2023 in #help
❔ Blazor server run in browser/client
Hi! I have some code that needs to run in the browser and not in the server. (Constantly updating images for animations). How can i ensure this? With blazor server is my only option using JS? Or can I still use wasm?
4 replies