When you create the project put an Emplty Project.... then select Dnamic Library (.DLL) then click CTRL+SHIFT+A
and make a .cpp file....
Then when you got the code just Rlease it where it says Debiug click the button down and ssearch for Rlease and there you go, go to the folder Name>Rlease> Name .DLL
And done