build

Building System.Data.SQLite from Source, Builds with Target Framework 4.0

拈花ヽ惹草 提交于 2021-02-19 08:26:48
问题 I'm trying to build System.Data.SQLite in Visual Studio using the source code downloaded from http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki I was able to build the solution, but when I tried to reference the System.Data.SQLite.dll from a project with TargetFramework=3.5, I received the following message: "System.Data.SQLite.dll or one of its dependencies, requires a later version of the .NET Framework than the one specified in the project." I noticed that their managed

Possible reasons for symbol multiply defined other than 'extern'

自古美人都是妖i 提交于 2021-02-19 08:05:54
问题 Is there any reasons for 'symbol multiply defined' other than not having the declaration in .h, having it as 'extern', and have the implementation in .cpp? I'm pretty sure that all my files follow the rule, but I'm getting an error message like this: ld: lto: could not merge in /Users/zlw/Library/Developer/Xcode/DerivedData/Wireless - amjmgyrircjezdhegioctszbcypz/Build/Intermediates/Wireless.build/Debug/Wireless.build/Objects normal/x86_64/qam.o because 'Linking globals named '

CAKE build and NUNIT3 generating empty results file

人走茶凉 提交于 2021-02-18 22:27:08
问题 I'm using cake build and trying to upload the cake unit test results to AppVeyor, but Cake/Nunit3 are generating empty results when I run locally and I assume that is what is causing my errors on AppVeyor. In the below block, NUnitResults.xml is generated but always empty. Task("UnitTest") .IsDependentOn("Build") .IsDependentOn("Setup") .Does(() => { var resultsFile = artifactsDirectory + "/NUnitResults.xml"; NUnit3("./StatusPageIo/StatusPageIo.UnitTests/bin/Release/StatusPageIo.UnitTests.dll

Angular - Unhandled Navigation Error after building

前提是你 提交于 2021-02-18 22:08:47
问题 I have built a simple angular app with 2 routes through the following command: ng build --aot --prod --base-href ./ Then i open the index.html file located in the dist folder and the app runs but the the routes don't work and i get the following warning on console: Hope to have explained my question well. Thanks in advance. 回答1: Using Angular routing engine will force you to host your app in some server (e.g. IIS, NodeJS etc.) A simple angular app without routes can run without hosting it on

Android Studio: No build variant found error

不羁的心 提交于 2021-02-18 20:17:55
问题 i am new to android development, i started developing from scratch on a project i bought online, following the documentation, i encountered a error saying No variants found for 'app'. Check build files to ensure at least one variant exists. Here is the build.gradle code apply plugin: 'com.android.application' android { compileSdkVersion 29 buildToolsVersion "29.0.1" defaultConfig { applicationId "com.app-10.app" minSdkVersion 23 targetSdkVersion 29 versionCode 1 versionName "1.0"

Android Studio: No build variant found error

天大地大妈咪最大 提交于 2021-02-18 20:17:14
问题 i am new to android development, i started developing from scratch on a project i bought online, following the documentation, i encountered a error saying No variants found for 'app'. Check build files to ensure at least one variant exists. Here is the build.gradle code apply plugin: 'com.android.application' android { compileSdkVersion 29 buildToolsVersion "29.0.1" defaultConfig { applicationId "com.app-10.app" minSdkVersion 23 targetSdkVersion 29 versionCode 1 versionName "1.0"

Android Studio: No build variant found error

99封情书 提交于 2021-02-18 20:16:23
问题 i am new to android development, i started developing from scratch on a project i bought online, following the documentation, i encountered a error saying No variants found for 'app'. Check build files to ensure at least one variant exists. Here is the build.gradle code apply plugin: 'com.android.application' android { compileSdkVersion 29 buildToolsVersion "29.0.1" defaultConfig { applicationId "com.app-10.app" minSdkVersion 23 targetSdkVersion 29 versionCode 1 versionName "1.0"

Clean Project vs Rebuild Project vs Run Project in Android Studio

本小妞迷上赌 提交于 2021-02-18 12:33:05
问题 Does anyone have or know of a detailed answer to how these three functions in android studio work (I think Eclipse, and probably IntelliJ also, have the same or similar functions). I have seen and been told answers that give a brief outline of how they work and from what I understand a rebuild will also clean the project and running the project runs the last built version of the available code. Ultimately, I am just looking for an in depth explanation of how these three functions work with

Cross-platform build under Windows targeting Linux using CMake

淺唱寂寞╮ 提交于 2021-02-18 10:50:29
问题 I am developing a software in C++ on windows 32-bit (using MSVC++), but since I want to be able to use my software on every platform, I have decided to use CMake as my build generator. Therefore, I am still just a beginner in CMake. From the CMake tutorials, I understand that in order to cross compile codes, first a toolchain simulating the target platform should be installed on the host platform. Then using the appropriate target-platform C and C++ compilers provided by this toolchain, CMake

Website takes a long time to start after solution build

谁说我不能喝 提交于 2021-02-18 06:55:46
问题 In development, our Asp.Net 4 website takes a fairly lengthy time to start after the project libraries are built We do a fair amount of population of statics etc, but not enough to justify the length of time it takes the app to come up (probably 3-4 minutes) We aren't building the website, just the libraries, and batch != true in the compilation element in the .config file. I will try log some diagnostics, but any other pointers would be useful 回答1: You can also try the optimizeCompilations=