© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
1 reply
Mek

✅ project can't find file that is in bin folder avalonia

Helpers.cs: https://pastebin.com/WSCLp8he
TermsOfServiceView.axaml: https://pastebin.com/xEgKRneg
TermsOfServiceViewModel.cs: https://pastebin.com/JkzbvzgX
MainWindowViewModel.cs: https://pastebin.com/LrnxxWsv

this is my helper class. When I build the screen to see style changes, it tells me
System.Xaml.XamlException: Could not find file 'C:\Users\Mekas\OneDrive\Desktop\Programming\Github\MakeMyProject\TermsOfService.txt'.
System.Xaml.XamlException: Could not find file 'C:\Users\Mekas\OneDrive\Desktop\Programming\Github\MakeMyProject\TermsOfService.txt'.
but yet it can obtain the file just fine enough to display it in the axaml preview in vs. What do I have messed up?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Azure GitHub can't find project file?
C#CC# / help
4y ago
❔ Program can't find folder
C#CC# / help
3y ago
Single-file executable can't find dependency DLL in its folder
C#CC# / help
5mo ago
✅ File Searcher in Avalonia
C#CC# / help
12mo ago