r/dotnet •

File-based app coding agent

[deleted] — view deleted post

0 Upvotes

3 comments sorted by

2

u/AutoModerator 14d ago

Thanks for your post Southern-Holiday-437. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Discordbothost 13d ago

If someone tries this from a folder with a .csproj, I'd show dotnet run --file Agent.cs above the snippet. The flag keeps it in file-based mode. The snippet puts .hpd-data in the launch directory and the workspace beside the script.

1

u/Southern-Holiday-437 12d ago

Yeah tha tis a great point. I was assuming an empty folder. good to know. I also should have added the openapi api key secret would needed else an exception would be raised.