Hi counterkin,
Please follow the below steps to publish your application in Visual Studio 2022.
1. Click on the Build tab in your project and click on Publish Application as shown below.
![](https://imgur.com/pKoHWrd.png)
Then in the published window, select the Target to Folder option and click on Next.
![](https://imgur.com/KAXrwpz.png)
Then, chose the Folder Location using the Browse button and click on Finish.
![](https://imgur.com/F8RrAAb.png)
Then, the publish profile will be created and click on Close.
![](https://imgur.com/UbcOqfm.png)
Now your profile is Ready to publish. Now click on Publish button.
![](https://imgur.com/Jry8zi0.png)
After clicking on Publish, your application is published.
![](https://imgur.com/Kv1iVD7.png)
Next, click on Open folder. You will see the published files.
![](https://imgur.com/GoM5HXN.png)
Finally, open the bin folder and you will see the dll file with other referenced dll aswell.
![](https://imgur.com/spM38k1.png)
Thats it.
https://imgur.com/spM38k1