Solution for vs2008 project to only generate DLL and not generate lib

Source: Internet
Author: User

Http://topic.csdn.net/u/20081216/22/b12d1450-7585-4c9f-867a-7c181737c328.html

Problem:
In vs2008, I don't know why I only generate DLL files, but not lib files.

Solution:

Right-click the project and choose "add"> "new item"> select "module definition file (. Def)". Enter a name and click "add ".
Now the. Lib file can be generated after compilation, and then the added file is deleted. It will be okay in the future.
If the above operation is to add existing items, the (. Lib) problem still exists.

 

This problem also exists in vs2013

Solution for vs2008 project to only generate DLL and not generate lib

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.