error MSB3073 on VS2010 post build step. exited with code -1073741512 - visual-studio-2010

i have a post build action to run an executable after a VS2010 build (a simple c++ project) is complete.. its building foo.exe and then running foo.exe as the post build step. When it runs, however, it displays this error:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code -1073741512.
i looked everywhere and i haven't found anything describing what this error code means.
Can anybody help me?

Related

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?

I want to verify that Rust compiler can call Visual Studio C++ Build tool properly with some simple code example

New question: Could some one please give me some trivial code example to verify that Rust compiler can call Visual Studio C++ Build tool properly?
Original question:
I followed the instruction on the page of Rust site:
You may need to install the Visual Studio C++ Build tools
After finishing installation of the C build tools, though I failed to build a crate(Nannou) with the following error message:
VS code:
> cargo run --release --example draw
...
...
Compiling examples v0.1.0 (O:\OneDrive\Git\IT\download\Rust\nannou-master\examples)
Finished release [optimized] target(s) in 7m 00s
Running `target\release\examples\draw.exe`
thread 'main' panicked at 'could not build default app window: NoAvailableAdapter', O:\OneDrive\Git\IT\download\Rust\nannou-master\nannou\src\app.rs:457:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\release\examples\draw.exe` (exit code: 101)
I found that the path environment variable has not added for the installed C build tools. And I can't find where the C build tools are installed on my windows.
Please help me to setup the c build tools for Rust properly.
Nannou crate

How to get Visual Studio to display the real Vue.js error? "The command npm run build exited with code 1.”

I’m working in my first ever vue.js project, and I’m using Visual Studio 2017 as my IDE. Sometimes, when I try to run the site in debug mode, I get a very unhelpful error:
Severity Code Description Project File Line Suppression State
Error The command "
npm run build
" exited with code 1. EIOBoardVueApp D:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 5147
I finally figured out that this isn’t the actual error. But, I’m not sure how to force Visual Studio to tell me what the actual error is. Has anyone every seen this before and figured out how to sniff out the real error?
(I've seen other threads on this error, but nothing that has lead me to a solution.)
Found it. Visual Studio -> Tools -> Options -> Projects and Solutions -> Build and Run -> MSBuild project build output verbosity. Change this to Detailed.
Then, when you try to debug the project, VS will still give you the useless error in the ErrorList window, but if you look in the Output window, the real error will be there:

error MSB6006: "cmd.exe" exited with code 2

I had been compiling on my Visual Studio making small changes from the morning and it was running fine. I made a small change and I started getting this error,
error MSB6006: "cmd.exe" exited with code 2
I removed that small change I had done. The last change I had made was adding a line to a help text.
I have absolutely no clue what this means. Can somebody please help?
TIA

mstest failing to start

The run.mstest command is inititated but the following error message displays. No logs are generated nor are any tests run, but the build is reported as successful.
[exec] 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe' failed to start.
What does this mean?
You'll need to find more information. Can you open up a Visual Studio Command Prompt and run your 'mstest' against your test assembly to see what output you get?

Resources