In this short post find out fix of issue where after building your ASP.NET Core 1.0 project, you find empty bin folder. (BTW in ASP.NET Core 1.0, “bin” folder is now moved in “Artifacts” folder). You don’t find your compiled binaries anywhere in the system.
The reason is, ASP.NET core 1.0 projects are built in-memory by the run-time hence no artifacts are persisted to disk. Thanks to Roslyn. But this can be changed easily. Right-click on the project and select the properties menu item. In the Build tab check “Produce outputs on build”. And now build the project. This option is by default unchecked.
So now, you can find your compiled binaries in bin folder. Note, this doesn’t affect Roslyn. Even after enabling this, you no longer have to compile your application every time you make a change.
Bonus Tip: If you want to take advantage of compile on the fly, then make sure you are not starting the application with debugging. You must start your app without debugging. You can easily do that via right click on the file -> select “View in browser”.
That’s all folks. Keep visiting this blog and share this in your network. Please put your thoughts and feedback in comments section.