C
C#2y ago
Mastalt

❔ Visual Studio Build doesn't run on other computer

So I made a Visual Studio program for a client that has a bunch of dll when built, however, when i sent it to the client, they get an error saying "System.AggregateException: One or more errors occurred. (Response status code does not indicate success: 422 ().)" x30 times. From what I can see it's because the program sill uses my local files Ex:"C:/Users/aruest/..." even on their computer when they're connected on another user. Any fixes?
2 Replies
Angius
Angius2y ago
No such thing as a "visual studio program" And, yeah, absolute paths will cause issues Obviously whoever you sent the files to doesn't have the exact same files in the exact same locations you do Which is why we use relative paths, or special path constants like %APPDATA% etc
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server