What is the proper way to share the UWP project for a job interview without revealing the code? The easiest solution might be putting the application on windows10 store, but I would like not to do that. Are there any other ways?
(As an interviewer): Your interviewer is probably more interested in the code than in the product. Test tasks usually are useless in production anyway.
To answer your question:
Create a sideloadable appx package.
Right click on the project -> Store -> Create App Packages -> Don't publish to store.
Follow the wizard and it will build and create the app package folder inside your project folder. It will contain .appx package, your custom certificate, powershell script and dependencies folder.
Send this entire folder to the interviewer. Interviewer will need to run ps script to install your application.