specify project file of a solution using msbuild

msbuild test.sln /t:project /p:Configuration=”Release” /p:Platform=”x86″ /p:BuildProjectReferences=false Notice that what is assigned to /t is the project name in the solution, it can be different from the project file name. Also, as stated in How to: Build specific targets in solutions by using MSBuild.exe: If the project name contains any of the characters %, $, @, … Read more

Error “Metadata file ‘…\Release\project.dll’ could not be found in Visual Studio”

Everyone is correct…try everything…(in order of a little to a lot of time wasted) Do you have bad code? Fix that first. Clean Solution & Restart Visual Studio Remove / Add References Check your build order w/ larger projects and verify Manually rebuild sub-projects Manually copy dlls between projects into associated bin folders Go get … Read more

Debug vs. Release performance

Partially true. In debug mode, the compiler emits debug symbols for all variables and compiles the code as is. In release mode, some optimizations are included: unused variables do not get compiled at all some loop variables are taken out of the loop by the compiler if they are proven to be invariants code written … Read more

Flutter: upgrade the version code for play store

Update version:A.B.C+X in pubspec.yaml. For Android: A.B.C represents the versionName such as 1.0.0. X (the number after the +) represents the versionCode such as 1, 2, 3, etc. Do not forget to execute flutter build apk or flutter run after this step, because: When you run flutter build apk or flutter run after updating this … Read more

How to determine whether code is running in DEBUG / RELEASE build?

Check your project’s build settings under ‘Apple LLVM – Preprocessing’, ‘Preprocessor Macros’ for debug to ensure that DEBUG is being set – do this by selecting the project and clicking on the build settings tab. Search for DEBUG and look to see if indeed DEBUG is being set. Pay attention though. You may see DEBUG … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)