After migrating project from Visual Studio 2015 to Visual Studio 2015 I started to get the following error:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4358,5): error MSB3030: Could not copy the file "C:\p4client\ProAudio\dev_main_2018\ProAudio\XPlatform\AudioGrid\sdk\Project\Win\ag_sgring.pb.cc ag_sgring_pb2.py" because it was not found.
However, in no place in project copy step was not specified.
How can I find out what is asking this copy step and disable it?
Was there any change between VS 2015 and VS 20017 in copy tasks?
After installing VS2017 Community ver. 15.7.2 on Win 7 64-bit, following error was found when launching VS2017 with or without admin privilage:
Package management initialization failed.
You can get more information by examining the file:
C:\Users\NAME\Appdata\Roaming\Microsoft\VisualStudio\15.0_5024a39e\ActivityLog.xml
These are the errors found in ActivityLog.xml file:
Infos: Could not find ConfigurationChanged timestamp.
Error: merging configuration file C:\Users\\AppData\Local\Microsoft\VisualStudio\15.0_5024a39e\devenv.exe.config
Error: merging configuration file
C:\Users\NAME\AppData\Local\Temp\dev6FC4.tmp
Error: merging configuration file
C:\Users\NAME\AppData\Local\Temp\dev6FC5.tmp
Error: merging configuration file
C:\Users\NAME\AppData\Local\Temp\dev6FC6.tmp
Error: Configuration file merge failed.
Error: Failure calling FinishInitialize.
Tried to install VS2017 Enterprise as well as the VS2017 Community 15.6.7 and got the same errors.
There is a similar problem answered here but it doesn't work for me.
Any input is appreciated
I had the same problem, i solve that doing this
Uninstall Visual Studio 2017 and other Visual Studios
Delete C:\ProgramData\Microsoft\VisualStudio
Uninstall any Visual C++
Look for any Visual Studio Key on the Regedit and delete
Delete C:\Users\UserName\Documents\Visual Studio 2017 (Backup your projects)
Delete C:\Users\UserName\AppData\Local\Microsoft\Visual Studio\15.##
Update your Windows and restart your pc
Install Visual Studio 2017 again
Try to open, and one error apears
Copy the devenv.exe.config file locate in the root of the IdE to
C:\Users\UserName\AppData\Local\Microsoft\Visual Studio\15.##
Try to open again
Try to open in safe mode
Try devenv.exe /resetSettings
Try to repair Visual Studio Again
For me works :) !
I am attempting to use the Visual Studio 2015 Command Window to in order to diff two files, using the command devenv.exe /diff "C:\example.path" "C:\example.path". I received the following error:
Command "devenv.exe" is not valid.
devenv.exe was missing from my computer so I repaired both my installation of (both) Visual Studio 2015 and Visual Studio 2013 to get it back. However, I'm still getting the error when I attempt to run the /diff command.
What steps should I take in order to resolve this issue?
I installed Visual Studio 2015 and shortly after selecting a TFS server started to experience issues:
missing package errors
new project had no project types
Team explorer has an error tag (Page '312e8a59-2712-48a1-863e-0ef4e67961fc' not found.)
If I go to Team and click manage connections I get an error (Team Foundation Error Page '3185ed96-1cbcd-4381-a439-636973542e50' not found.)
If I try to re-open the solution I pulled down I get:
(The 'ErrorListPackage' package did not load correctly)
(The 'CSharpPackage' package did not load correctly)
(The 'FileIndicatorPackage' package did not load correctly) and fails to open
Then I get an 'object reference not set to an instance of an object) when I try to close VS.
I tried running the devenv.exe commands to rest everything to no avail:
devenv.exe /debug
devenv.exe /resetsettings
devenv.exe /instalvstemplates
devenv.exe /resetskippings
devenv.exe /resetuserdata
devenv.exe /setup
devenv.exe /safemode
I tried repair: still broken
I uninstalled and reinstalled: still broken
The Fix
Uninstall Visual Studio 2015 from Programs and Features
Reboot machine if prompted.
Rename or delete folders-
C:\Program Files (x86)\Microsoft Visual Studio 14.0
C:\Program Files\Microsoft Visual Studio 14.0
<user>\Documents\Visual Studio 2015
<user>\AppData\Roaming\Microsoft\VisualStudio\14.0
<user>\AppData\Local\Microsoft\VisualStudio\14.0
<user>\AppData\Local\Microsoft\VSCommon\14.0
Go to the registry editor (start >> run >> regedit) and remove/rename the following registries-
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0
HKEY_CURRENT_USER\Software\Microsoft\VSCommon\14.0
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Remote
Install Visual Studio 2015
Whenever I try to create a new project in VS 2010 I get the error:
New project/item dialog could not be initialized due to error:
Exception of type 'Microsoft.VisualStudio.Dialogs.DialogInitializationException' was thrown.
And when try to open existing project visual studio 2010 restarts.
I had the same problem on my computer. After a long time searching I solved it by the following steps:
Close all instances of Visual Studio
Go to "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE" (or whatever is your VS installation directory)
Run command devenv.exe /resetuserdata and wait until finished
Run Visual Studio
I can't find the former case. As you met an exception
Microsoft.VisualStudio.Dialogs.DialogInitializationException
I am suggesting you try the way below:
Run devenv /resetuserdata.
Delete the file:
%LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache
and restart Visual Studio.
Close all VS instances and try the solution mentioned here:
Launch Developer Command Prompt for VS 2017 as Administrator
Go to VS 2017 installation folder, for example: pushd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
gacutil -if Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.Shell.Interop.8.0.dll
Open your control panel
Change
Regional -> Formats tab -> Format: English(United States)
https://connect.microsoft.com/VisualStudio/feedback/details/727578/vs-do-not-work-with-finnish-number-format-on-w8-64-bit
It works for me :)
This problem can cause when you install an older version of Visual Studio nearby the current version. For example VS 2017 is installed on your system and you do force install of VS 2008.
I faced this problem many years ago by installing VS 2008 after VS 2010;
and today again I had this problem. Because I installed SolidWorks 2015 after VS 2017. SolidWorks had a Visual Studio 2008 inside its package that interferes my installation.
Just uninstalled VS 2008 and I'm done.
I found this to still be an issue in Visual Studio Community 2017, Microsoft released a work around that fixed my problem:
The work-around for this issue would be:
-Launch “Developer Command Prompt for VS 2017” as Administrator
-Go to VS 2017 installation folder, for example: pushd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
-gacutil -if Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.Shell.Interop.8.0.dll