How to switch a project built on Visual studio 2010 from dynamic to static?
I have recently started using Visual studio 2010 ,so I'm unaware of its various options. I have created a project 开发者_如何学JAVAand in the application wizard at the beginning,I had checked the box that said Dynamic Libraries.
Now I need to Statically link the same project to make it portable.Please help me out.
Thank you.
- In the solution explorer, find the project in question, right click it and select Properties.
- The default selection in the left sidebar should be Configuration Property -> General; if it's not, select that.
- In the main section, under Project Defaults, set the Configuration Type dropdown to Static Library (.lib).
精彩评论