VS 2013 build issue - exited with code -1073741819 - visual-studio-2013

I am struck with very strange issue..
I am using Microsoft Visual Studio Community 2013 (trial version).
I am not able to build project successfully and always get the following error
'exited with code -1073741819'
Error 1 The command ""C:\HBS\repositry\HBS\HBS.TestSuite\.nuget\NuGet.exe"
install "C:\HBS\repositry\HBS\HBS.Common\packages.config" -source ""
-NonInteractive -RequireConsent -solutionDir
"C:\HBS\repositry\HBS\HBS.TestSuite\ "" exited with code -1073741819.
HBS.Common
What im missing here?

Related

VS19 + VS22 causes error - Visual Studio 2017 support for ARM64 is not installed

I have a local building agent for a Unity|HoloLens-Project. The whole time I had VS2019 on the agend installed and everything worked well. Today I had to install VS2022 on my agent because of a different .net 6 project (so it has nothing todo with my unity stuff!).
However, after installing VS2022, my Unity project can no longer be built with VS2019. I get the following output:
EXEC(0,0): Error : System.NotSupportedException: Visual Studio 2017 support for ARM64 is not installed.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(46,5): Error MSB3073: Der Befehl ""C:\agent\_work\1\b\UWP_Build\Il2CppOutputProject\\IL2CPP\build\deploy\netcoreapp3.1\il2cpp.exe" --libil2cpp-static --compile-cpp -architecture=ARM64 -configuration=Release -platform=winrt -outputpath="C:\agent\_work\1\b\UWP_Build\\build\bin\ARM64\Release\GameAssembly.dll" --data-folder="C:\agent\_work\1\b\UWP_Build\\build\bin\ARM64\Release\\" -cachedirectory="C:\agent\_work\1\b\UWP_Build\\build\obj\il2cppOutputProject\ARM64\Release\\" -generatedcppdir="C:\agent\_work\1\b\UWP_Build\Il2CppOutputProject\\Source" --incremental-g-c-time-slice=3 --baselib-directory="C:\agent\_work\1\b\UWP_Build\Players\UAP\il2cpp\ARM64\Release" --avoid-dynamic-library-copy --profiler-report --additional-defines=WINDOWS_UWP --additional-defines=UNITY_UWP --additional-defines=UNITY_WSA_10_0 --additional-defines=UNITY_WSA --additional-defines=UNITY_WINRT --additional-defines=PLATFORM_WINRT -dotnetprofile=unityaot -verbose --relative-data-path=Data/il2cpp_data --map-file-parser="C:\agent\_work\1\b\UWP_Build\Il2CppOutputProject\\IL2CPP\MapFileParser\MapFileParser.exe"" wurde mit dem Code -1 beendet.
Process 'msbuild.exe' exited with code '1'.
The whole thing makes no sense to me. If I have only VS19 installed everything runs. When I install VS22, I get this error message. I went back to the building agent myself and manually opened the project in VS19 and tried to creat/publish an APPX. There I got the already known errors displayed and one more:
System.NotSupportedException: Visual Studio 2017 support for ARM64 is not installed.
MSB3073 The command ""C:\agent\_work\1\b\UWP_Build\Il2CppOutputProject\\IL2CPP\build\deploy\netcoreapp3.1\il2cpp.exe" --libil2cpp-static --compile-cpp -architecture=ARM64 -configuration=Release -platform=winrt -outputpath="C:\agent\_work\1\b\UWP_Build\\build\bin\ARM64\Release\GameAssembly.dll" --data-folder="C:\agent\_work\1\b\UWP_Build\\build\bin\ARM64\Release\\" -cachedirectory="C:\agent\_work\1\b\UWP_Build\\build\obj\il2cppOutputProject\ARM64\Release\\" -generatedcppdir="C:\agent\_work\1\b\UWP_Build\Il2CppOutputProject\\Source" --incremental-g-c-time-slice=3 --baselib-directory="C:\agent\_work\1\b\UWP_Build\Players\UAP\il2cpp\ARM64\Release" --avoid-dynamic-library-copy --profiler-report --additional-defines=WINDOWS_UWP --additional-defines=UNITY_UWP --additional-defines=UNITY_WSA_10_0 --additional-defines=UNITY_WSA --additional-defines=UNITY_WINRT --additional-defines=PLATFORM_WINRT -dotnetprofile=unityaot -verbose --relative-data-path=Data/il2cpp_data --map-file-parser="C:\agent\_work\1\b\UWP_Build\Il2CppOutputProject\\IL2CPP\MapFileParser\MapFileParser.exe"" was terminated with the code -1.
MSB8020 The build tools for v143 (platform toolset = "v143") were not found. To build using the v143 build tools, install the v143 build tools. Alternatively, upgrade to the latest Visual Studio tools by selecting the Project menu or right-clicking the solution and selecting Reassign Solution.
Workload in my VSInstaller for VS19:
It doesn't make sense that VS17 with ARM64 is suddenly demanded. And it makes no sense that suddenly the build tools for version 143 are required. The project is opened with VS19(=v142) and not with VS22(=v143).

Dotfuscator command exited with code -1073741571

While trying to build the Android project, part of a Xamarin.Forms project, using Dotfuscator Community I get the following error: The command ""C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\PreEmptiveSolutions\DotfuscatorCE\dotfuscatorUI.exe" /p:InDir="obj\Release\120\DotfuscatorXamarin\dfin",OutDir="obj\Release\120\DotfuscatorXamarin\dfout",ReportDir="DotfuscatorReports\Release" "DotfuscatorConfig.xml"" exited with code -1073741571.
Note that I have changed dotfuscator.exe to dotfuscatorUI.exe in the <DotfuscatorXamarinCliPath> tag, based on this answer, because initially I was getting a code 1 error.
Any suggestions?

linphone-desktop on Windows 10 compile error

I'm trying to build linphone-desktop on Windows 10
https://github.com/BelledonneCommunications/linphone-desktop
But when I build the project using Visual Studio 2015, I get this error on building EP_vpx:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 258.
Any idea how to fix this problem? I couldn't find anything helpful in issues and stackoverflow.
Thanks.
Finally, I resolved the problem by:
Using QT 5.9.8 exactly.
Defining these in the System Environment Variables:
Qt5_DIR="C:\Qt\Qt5.9.8\5.9.8\msvc2015\lib\cmake"
PATH:"C:\Qt\Qt5.9.8\5.9.8\msvc2015\bin"
PATH:"C:\Qt\Qt5.9.8\5.9.8\mingw53_32\bin"
PATH:"C:\Qt\Qt5.9.8\Tools\mingw530_32\bin"
Passing the DCMAKE_SYSTEM_VERSION in the python command:
python prepare.py -G "Visual Studio 14 2015" -DENABLE_DOC=OFF -DCMAKE_SYSTEM_VERSION=8.1
For those who don't know, You should have installed Windows 8.1 SDK on your Windows, too.

(VisualStudio) The feature you are trying to use is on a network resource that is unavailable

Trying to simply install latest VS 2017 Community Edition in Windows 10 but get a popup error
Common error but have tried all suggested solutions including
1) Clean Boot
2) Running the "Microsoft Fix" Diagnostic tool
3) Running VS2017 Installer as administrator with Repair option
4) Uninstalling VS 2015 first
5) Installing VS 2015 first
6) Running vc_redist.x86.exe
7) Running vcredist_x64.exe
8) Tried uninstalling EVERYTHING related to visual studio using Revo Uninstaller and then reinstalled VS 2017
But I STILL get the popup error. Actually the same error on #'s 3,5,6,7,8 above!! Can anyone help?
Geesh, installing software shouldn't take 3 days googling...
The VS error log shows the following
Package 'Microsoft.VisualCpp.Redist.14,version=14.11.25325,chip=x86'
failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.Redist.14;PackageAction=Install;ReturnCode=1603
Details
Command executed: "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.11.25325,chip=x86\VC_redist.x86.exe"
/q /norestart /log
"C:\Users\art3mis\AppData\Local\Temp\dd_setup_20170815135802_001_Microsoft.VisualCpp.Redist.14.log"
Return code: 1603
Return code details: Fatal error during installation.
Log
C:\Users\foo\AppData\Local\Temp\dd_setup_20170815135802_001_Microsoft.VisualCpp.Redist.14.log
Impacted workloads
Game development...

CL.exe error code

Has any of you got this error?
error MSB6006: "CL.exe" exited with code -1073741515.
I'm not able to find the meaning of the error code anywhere. I get it when building a C++ project in VS2013 Pro.
The project compiled fine in VS2010. I made no additional changes to it after updating VS.
Fixed. I changed the Platform Toolset from Widnows SDK 7.1 to Visual Studio 2013 (v120).

Resources