fatal error LNK1104: cannot open file '[...]\ReMod3D.exe' - visual-studio-2010

When I was using the Visual Studio 2010 and run my simulator, I got this error:
fatal error LNK1104: cannot open file 'C:\Users[...]\ReMod3D\AIProject1World\ReMod3D.exe
The weird thing is that this error will disappear if I try to run it again after putting the VS2010 aside for a few minutes. I have checked the task manager and found no program like ReMod3D.exe is running in the background when I got this error. Anyone know what is happening?

I find the solution! That is because my explorer is always locking the .exe file......the vs2010 cannot rebuild the .exe file because it's locked! The reason that the file is locked is that I somehow disable my application experience service. I started it again and everything is fine now.

Related

Installing AzerothCore Build Errors: ace.vcxproj, authserver.vcxproj, worldserver.vcxproj; Builds Skipped: clean_cotire, INSTALL

I am trying to install azerothcore for the first time, but I am getting stuck building the solution in Visual Studio 2019. As far as I can tell, everything else is working fine. I can post CMake logs if necessary, but that step seems to go smoothly.
When I try to build the solution, 5 things go wrong: 3 projects fail to build, and two skip.
Failures:
ace.vcxproj
Output:
3>C:\Users\myname\azerothcore\deps\acelite\ace\Process_Manager.cpp(142,1): fatal error C1001: Internal compiler error.
3>(compiler file 'msc1.cpp', line 1532)
3> To work around this problem, try simplifying or changing the program near the locations listed above.
3>If possible please provide a repro here: https://developercommunity.visualstudio.com
3>Please choose the Technical Support command on the Visual C++
3> Help menu, or open the Technical Support help file for more information
3>INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\HostX64\x64\CL.exe'
3> Please choose the Technical Support command on the Visual C++
3> Help menu, or open the Technical Support help file for more information
authserver.vcxproj
Output:
15>LINK : fatal error LNK1104: cannot open file '..\..\..\deps\acelite\ace\Debug\ace.lib'
Notably, in this case, it cannot open the file because there is no file to open. If I navigate to that location, there is no ace.lib. The same error occcurs in
worldserver.vcxproj
Output:
16>LINK : fatal error LNK1104: cannot open file '..\..\..\deps\acelite\ace\Debug\ace.lib'
Finally, there are the two skips. I am not sure what is going on here (really, I am not sure about what is going on anywhere).
clean_cotire
As regards this error, it just says that it was not selected to build. Is this a problem from CMake?
INSTALL
Again, it says that it was not selected to build for this configuration.
So that is where I am. I tried finding similar errors on this board, but to no avail. Is there anything I can do about these errors?
You encountered a bug in the latest Visual Studio 2019 release. This has been reported to Microsoft, see this ACE issue for the link. Please install an older release, see https://learn.microsoft.com/en-us/visualstudio/releases/2019/history for the download links.
On May 18th 2020 a fix for this ICE has been merged into ACE.

VisualStudio crash on startup - Error:"streamjsonrps.remoteinvocationException: could not load file or Assembly System.Linq"

I'm getting error message when start Visual Studio 2017 Community version.
At crash with below error message:
Could not start visual studio due to an error.StreamJsonRpc.RemotelnvocationException
Could not load file or assembly System.Linq, Version=4.O,O.O,
Culture= neutral, PublicKeyToken= bO3f5f7f1 1 d5Oa3a or one
of its dependencies. The module was expected to contain an
assembly manifest.
I re-install visual studio, but still getting same error message.
Any help will be appreciate.
I had a similar issue workaround. try this command in the in run window "devenv /ResetSettings"
Please follow the following
1- Stope any antivirus
2- Open Developer Command Prompt for VS 2017
2- run "devenv /nosplash"
I hope this can fix the issue

Can't Open VB6 Project - actbar.ocx and dll error

When i tried to open my existing vb6 project in win7, it show actbar.ocx error. Then i register actbar.ocx in SysWOW64 folder and try to open again, it show "could not open all dll" error.
Anybody who ever encountered this error before?
Thanks

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: Failed to make the following project runnable: This process cannot access the file ~/MyProject.exe' because it is being used by another process

When I am trying to compile and run my ASP.Net Core 1.0 project on Visual Studio 2015, I am getting the following error:
Failed to make the following project runnable: MyProject (.NETFramework,Version=v4.6) reason: The process cannot access the file '~\MyProject.exe' because it is being used by another process.
File: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets
I have no clue why this error is coming. Any solution?
Here is a silly solution to this problem that actually worked! I stopped debugging and closed Visual Studio. Then I restarted the computer. Upon opening Visual Studio again after restarting the computer, I was able to run the application without any error.
It seems the process was still running in the background even though the application had been stopped from Visual Studio.
Source: Basic troubleshooting

Resources