Visual Studio: can I copy a project's properties to use in another project?

前端 未结 4 2057
野的像风
野的像风 2020-12-01 01:05

I\'ve added several directories, libraries such as matlab, opencv, etc to compile my current C file in Visual Studio project.

All my upcoming projects will require t

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-01 01:55

    For MSVS 2017, the process @AaronMK mentioned doesn't work. Instead do the following:

    1. View -> Other Windows -> Property Manager
    2. Add New Property Sheet.
    3. Edit whatever options you want there.
    4. Give it an appropriate name so that you remember it.
    5. Right button on it and hit "Save {myPropertySheet}"
    6. It would be wise to place it alongside the default property sheets and that you can add it whenever you want (by Property Manager -> Add Existing Property Sheet -> Browse to its location). This directory is: C:\Users\{myUsername}\AppData\Local\Microsoft\MSBuild\v4.0

    Alternatively you can edit the default property sheets and use these by default. I wouldn't advice it though as they provide a fallback option in case you mess up. So make backups first if editing default files.

提交回复
热议问题