project-properties

Multiple project output types: compiling as an EXE and a LIB

廉价感情. 提交于 2019-12-24 14:04:07
问题 I have a C++ project that builds as an EXE. However I also need to build the project as a static library (.LIB file). Right now in order to get a complete build, I need to build it in one format, then open the project properties and under General > Project Defaults > Configuration Type select the other format, accept, and recompile. It's a real hassle. Is there some way of specifying both types? I haven't seen anything on MSDN on this. I'm using Visual Studio 2012. 回答1: A common (and

Importing Android Listview refresh by pull, project-properties error

折月煮酒 提交于 2019-12-24 12:16:37
问题 I'm fairly new to Android, and using open source material for my needs during Android projects. Currently, for my internship assignment, I'm developing an Android application and want to apply a pull to refresh to the ListView. If found this implementation by Erik, a fellow user on SO. https://github.com/erikwt/PullToRefresh-ListView After trying to import the project, however, I get various errors stating that the project-properties haven't been set. Currently, I'm importing the project by

Loading specific test file for debugging MSProject Add-In

核能气质少年 提交于 2019-12-24 08:59:07
问题 I am developing a MSProject add-in with VSTO and I have a question about debugging. How do I use the Start Option->Command line arguments to load a specific MS Project file? I have tried using [drive:][path]filename.mpp but the file doesn't load. Otherwise everything is fine. I can load a file manually and debug properly. Thanks for any assistance. 回答1: You can use the following command line example to load MS Project with a specific MPP file: winproj "c:\projects\Annual Report Preparation

The “Build” tab missing from project properties in Visual Studio 2013

血红的双手。 提交于 2019-12-22 04:43:23
问题 When I open any C# Win-Forms or WPF project in Visual Studio 2013, the "Build" tab doesn't show up. It is visible if I open the project in VS2010. I haven't been able to find any information about this specific tab disappearing. I've have tried resetting the user settings in vs2013, running the setup repair, and even completely uninstalling and reinstalling vs2013. Any ideas on how to get it back? 回答1: The issue is now fixed with the Version 4.1.15, which you can download here. Changes in the

VS2010 will not display project properties (“underlying RCW”)?

烈酒焚心 提交于 2019-12-10 14:58:31
问题 Only sometimes (I haven't yet noticed a pattern), VS2010 shows the following error (where I'd expect the body of the property page to be) when I right-click on a project (various types of projects) and select "Properties": I can typically view the project pages after restarting VS2010. I'm using the RTM version. What can cause this error? 回答1: LepardUK. I had the same issue and finally found out what had gone wrong. It's misbehaving addin - TestDriven.NET. But things could be different for

Visual Studio: How to use platform toolset as preprocessor directive?

佐手、 提交于 2019-12-07 00:39:27
问题 I have two platform toolsets: v110 and v110_xp for my project, and depending on the chosen platform I want to include/exclude part of the code to be compiled. _MSC_FULL_VER and $(PlatformToolsetVersion) have exactly the same value for both of these platform toolsets. Alternatively, I tried to use $(PlatformToolset) as follows: _MSC_PLATFORM_TOOLSET=$(PlatformToolset) but the problem is that $(PlatformToolset) is non-numeric. Was wondering how can I use this non-numeric value as a preprocessor

The “Build” tab missing from project properties in Visual Studio 2013

孤街浪徒 提交于 2019-12-05 05:39:47
When I open any C# Win-Forms or WPF project in Visual Studio 2013, the "Build" tab doesn't show up. It is visible if I open the project in VS2010. I haven't been able to find any information about this specific tab disappearing. I've have tried resetting the user settings in vs2013, running the setup repair, and even completely uninstalling and reinstalling vs2013. Any ideas on how to get it back? The issue is now fixed with the Version 4.1.15, which you can download here . Changes in the 4.1 branch 4.1.15 2015-06-09 Bug 11560 VSiX: missing Build and Debug pages in project properties. I have

android: Project.Properties - do not edit, your changes will be erased?

∥☆過路亽.° 提交于 2019-12-04 04:28:36
问题 I seem to have an issue. I wanted to add some additional config info into project.properties in an android project but i notice when i open it there are comments telling me not to edit it Is it safe to edit Would it get regenerated at some point so i would lose my changes? Is there an alternative? EDIT Somebody suggested looking here https://developer.android.com/tools/projects/index.html which states project.properties This file contains project settings, such as the build target. This file