building

Prevent ASP.NET Website project from building certain directories by using Web.config?

爷,独闯天下 提交于 2019-12-05 22:43:00
问题 While programming, the longest part is a build on my ASP.NET Website project is the "Building directory" process seen below. (Note: I don't have the liberty to turn this into a Web Application with a .csproj build file. Wish I did.) The contents of the directories seen below are not changing although there might be some dependencies in the App_Code/ subfolders that do change. Is there any way for me to stop some directories from building using Web.config , to shorten a compile of my dev copy?

Developing an iOS 3.1 application with iOS 4.0 SDK and device?

风格不统一 提交于 2019-12-05 21:12:24
I've developed an iPhone application for an iOS Deployment Target 3.2. But my client changed his mind and would like the app to be available for iOS 3.1. Thus, i've set iOS Deployment Target 3.1 and left base SDK to 4.0 but everything compiles fine whereas I'm sure I use methods and classes introduced in iOS 3.2 only. How can I identify my code that won't run on a 3.1 device ? (and may cause an application crash) My problem is that I have a single iPhone device (with 4.0.2 installed) and that SDK 3.1.x are not provided by Xcode anymore. Henry, this might help you: install the old xcode & sdk

WebRTC not building for Windows

此生再无相见时 提交于 2019-12-05 17:58:38
Whenever I try build WebRTC for Windows, I get this error when running gclient runhooks: ________ running 'C:\path\to\depot_tools\python276_bin\python.exe src/build /landmines.py' in 'C:\path\to\webrtc\src\chromium' Please follow the instructions at http://www.chromium.org/developers/how-tos/bui ld-instructions-windows Traceback (most recent call last): File "src/build/landmines.py", line 215, in <module> sys.exit(main()) File "src/build/landmines.py", line 202, in main gyp_environment.SetEnvironment() File "C:\path\to\webrtc\src\chromium\src\build\gyp_environment.py", line 33, in

Post-build powershell script

不问归期 提交于 2019-12-05 11:21:56
I have the following post-build event: powershell Set-ExecutionPolicy Unrestricted powershell -file "$(SolutionDir)Obfuscation\_obfuscate.ps1" "$(SolutionDir)" "$(ProjectDir)" powershell Set-ExecutionPolicy Restricted and PS script beginning with: param ( [string]$slnDir, [string]$projectDir ) when MSBuild trys to run it, my first parameter "$(SolutionDir)" is splitted in two parameters because the solution path contains a space character: D:\Projects\Dion2 Mercurial\repo\Dion2Web\ . So my script receives D:\Projects\Dion2 as the first parameter and Mercurial\repo\Dion2Web\ as the second one.

Android APK path is not specified for module

心不动则不痛 提交于 2019-12-03 05:10:52
问题 I have a problem. When i try to launch my project i've got error : "ERROR: APK path is not specified for module" I follow to this answer APK path is not specified for module "Example-Example" but that no give me result. Any more ideas? 回答1: Finally I founded a solution. Open Project structure Click on Modules tab Expand your project and click on Android On right side click on Packaging tab ( Compiler on older versions of Android Studio) Looking for "APK path" field Click on ... and choose

Recursively remove preprocessor macros

六月ゝ 毕业季﹏ 提交于 2019-12-02 19:01:26
问题 I have a source tree for a program I am working on which is written in mixed C/C++ code. For debugging purposes, I would like to be able to run a command line tool like unifdef on the entire tree (recursively) to remove a certain set of #ifdef/#endif macros from all source files. I was wondering if there was any specific way I could go about doing this in an efficient way. Any help would be appriciated, thank you. 回答1: I've solved this issue by using the following command: find . -name '*.c'

Android APK path is not specified for module

随声附和 提交于 2019-12-02 18:26:53
I have a problem. When i try to launch my project i've got error : "ERROR: APK path is not specified for module" I follow to this answer APK path is not specified for module "Example-Example" but that no give me result. Any more ideas? Sergey Shustikov Finally I founded a solution. Open Project structure Click on Modules tab Expand your project and click on Android On right side click on Packaging tab ( Compiler on older versions of Android Studio) Looking for "APK path" field Click on ... and choose your project root folder(that contains bin/,gen/,res/ folders Copy path into your clipboard

boost lib naming are missing

时间秒杀一切 提交于 2019-12-02 02:28:01
I've downloaded boost and built it, and not for the first time, but then things started to seem weird. At first I got these errors while compiling my project (which uses boost): /usr/local/include/boost/system/error_code.hpp:221: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:222: undefined reference to `boost::system::generic_category()' /usr/local/include/boost/system/error_code.hpp:223: undefined reference to `boost::system::system_category()' /usr/local/include/boost/system/error_code.hpp:221: undefined reference to `boost::system:

Assembly error building app - Encountered multiple versions of assembly

五迷三道 提交于 2019-12-01 10:58:38
I was working today as I do everyday, when I tried to build my project and I got this error: Encountered multiple versions of the assembly with GUID '00020430-0000-0000-c000-000000000046'. Try pre-importing one of these assemblies. It says the problem is in the file TlbImp that's in the root directory of my application. The only problem is that I don't have such file in my project and as far as I remember never had. I am working with a Web Application with Visual Studio 2010 (not sure if this information helps but well, whatever). There is a Microsoft connect Bug filled for that It said that

Assembly error building app - Encountered multiple versions of assembly

时光毁灭记忆、已成空白 提交于 2019-12-01 08:04:43
问题 I was working today as I do everyday, when I tried to build my project and I got this error: Encountered multiple versions of the assembly with GUID '00020430-0000-0000-c000-000000000046'. Try pre-importing one of these assemblies. It says the problem is in the file TlbImp that's in the root directory of my application. The only problem is that I don't have such file in my project and as far as I remember never had. I am working with a Web Application with Visual Studio 2010 (not sure if this