VSTS build failing with error "Process 'msbuild.exe' exited with code '1'." - msbuild

Getting that build failed error because I have 4 warnings that read the same.
##[warning]C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Python Tools\Microsoft.PythonTools.Django.targets(120,5): Warning : Errors while resolving environments: Some project interpreters failed to load:
Interpreter d:\a\1\s\"name of project"\env\ has invalid value for 'Id': env
Interpreter reference has invalid path: Global|PythonCore|3.4
I am using Python 3.4.4 64-bit if that makes a difference.
The build is failing during the Build solution **\*.sln section of the build.
Thank you in advance for any help.

Edit pyproj file to change 10.0 to 15.0
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>

Related

Folly compiler error making build fail. Is there a workaround?

Error message:
Building Solution: C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\XamlCompiler\Microsoft.Windows.UI.X...
× Build failed with message C:\Users\Larkuo\Documents\Work\El-Parah\Code\storeWindows\store\node_modules.folly\folly-2021.06.28.00\folly\lang\Assume.cpp(26,3):
error C2131: expression did not evaluate to a constant [C:\Users\Larkuo\Documents\Work\El-Parah\Code\storeWindows\store\node_modules\react-native-windows\Folly\Folly.vcxproj].
Check your build configuration.
react-native run-windows fails to build
Original build on windows 11 works fine but on windows 10 it returns this error
Run with visual studio code

Adding sub module to project causing gradle build failures in Android studio 3.0 with gradle version 4.1

I added sub module library vertical-stepper-form version 0.9.8, while I set dependency of this library on my app module. I was able to do it successfully.
I am using Android Studio 3.0 with gradle version 4.1, few of the classes in project are in kotlin and others in java
When I started gradle sync it gave me this error. The gradle is not building and showing below issues :
/*********************************/
Information:Gradle tasks [:vertical-stepper-form:generateDebugSources,
:vertical-stepper-form:generateDebugAndroidTestSources,
:vertical-stepper-form:mockableAndroidJar,
:app:generateInstallDebugSources,
:app:generateInstallDebugAndroidTestSources, :app:mockableAndroidJar]
D:\Devavrata\project/package/src/main/res/abc.xml Error:error:
attribute 'com.spireon.install:src' not found.
D:\Devavrata\AbcProject\abc-Android\app\build\intermediates\incremental\mergeInstallDebugResources\stripped.dir\layout\activity_main.xml
Error:attribute 'com.spireon.install:src' not found. Error:failed
linking file resources. Error:java.util.concurrent.ExecutionException:
java.util.concurrent.ExecutionException:
com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for
details Error:java.util.concurrent.ExecutionException:
com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for
details Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error:
check logs for details Error:Execution failed for task
':app:processInstallDebugResources'.
Failed to execute aapt Information:BUILD FAILED in 24s Information:7 errors Information:0 warnings Information:See complete output in
console
/********************************/
What I have already tried :
I tried with changing import lines in xml also changing the android:src and srcCompat properties. Along with build/project cleaning and invalidating the cache.
Changing this line in gradle.properties
android.enableAapt2=false
Let me know if anyone has faced this issue

Version mismatch in xcactivitylog after upgrading to XCode 4.2

I upgraded to XCode 4.2 and am getting the warning below while running command line builds
2011-10-22 20:16:39.327 xcodebuild[71845:1903] [MT] IDELogStore: Failed to open Build log store: Error Domain=IDEFoundationErrorDomain Code=1 "deserialization of log failed because of a version number mismatch" UserInfo=0x4011105e0
The build continues to succeed.
Also, there's no such warning while running from XCode.
How do I fix it?
I had this problem too and was able to resolve it by cleaning my project, removing ~/Library/Developer/Xcode/DerivedData/MYAPP and then rebuilding.

Building libopenmetaverse on CentOS 5

I'm trying to build libopenmetaverse on CentOS however I get the following error. I'm not this kind of developer and am installing this for someone else to use. This is just the part of the build that fails. Any ideas?
[nant] /opt/libomv/Programs/WinGridProxy/WinGridProxy.exe.build build
Buildfile: file:///opt/libomv/Programs/WinGridProxy/WinGridProxy.exe.build
Target framework: Mono 2.0 Profile
Target(s) specified: build
build:
[echo] Build Directory is /opt/libomv/bin
[csc] Compiling 15 files to '/opt/libomv/bin/WinGridProxy.exe'.
[resgen] Error: Invalid ResX input.
[resgen] Position: Line 2700, Column 5.
[resgen] Inner exception: An exception was thrown by the type initializer for System.Drawing.GDIPlus
BUILD FAILED
External Program Failed: /tmp/tmp5a71a509.tmp/resgen.exe (return code was 1)
Total time: 0.4 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 47 seconds.
Build Exit Code: 1
You might need to install libgdiplus, or ensure that your system can find it.
Ok, dont know why, but installing libgdiplus-devel seemed to fix it.

Mono - missing file gnome-sharp at the momment to compile the gnome sample application

Latter of to create a new sample solution in monodevelop.
Mono -> New Solution -> C# -> Examples -> Gnome 2.0 Project
I found the next errors at the momment to compile the gnome sample application.
Building: test (Debug)
Construyendo solución test
Building: test (Debug)
Realizando compilación principal...
Compilation failed: 2 error(s), 0 warnings
/Projects/test/test/MyProgram.cs(8,7): error CS0246: The type or namespace name `Gnome' could not be found. Are you missing a using directive or an assembly reference?
Construcción finalizada -- 2 errores, 0 advertencias
The gnome-sharp file, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f was not found or is invalid.
Construcción: 2 errors, 0 warnings
Anyone know how to fix this issue?
My environment is: Monodevelop 2.0 (Alpha 1), Linux Fedora 10
[root#internet sandovaledwin]# rpm -qa mono*
monodoc-2.2-2.fc10.i386
monodevelop-1.9-8.fc10.i386
mono-core-2.2-2.fc10.i386
mono-winforms-2.2-2.fc10.i386
mono-addins-0.3.1-3.fc10.3.i386
mono-data-2.2-2.fc10.i386
mono-web-2.2-2.fc10.i386
mono-nunit22-2.2.10-7.fc10.i386
mono-extras-2.2-2.fc10.i386
mono-basic-2.2-1.fc10.i386
mono-data-sqlite-2.2-2.fc10.i386
you need to install the gnome-sharp package