Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

FileStream could not find a part of the path

$
0
0

Using FileStream with Blazor results in Could not find a part of the path error while trying to load file. I tried using Path.Combine instead of direct path, but it didn't help

FileStream stream = new FileStream("Content/Testing/testfile.jpg", FileMode.Open, FileAccess.Read);

enter image description here

If it's relevant, I'm trying to integrate Spine Skeletal Animation C#/MonoGame runtime with KNI MonoGame extension. Everything works fine except one atlas file that is loaded via FileStream and it's hard for me to figure out where exactly lays the issue.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>