Failed to register project "project name" with SourceGear Vault Visual Studio Enhanced Client
The type initializer for 'SourceGearLLC.VaultVsipClient.RepositorySettings' threw an exception.
I get this error when I open my solution or project.
I wiped out source control and readded to vault. The projects work until I restart my machine. Then I get this error again on all the projects.
The type initializer for 'SourceGearLLC.VaultVsipClient.Repo
Moderator: SourceGear
Re: The type initializer for 'SourceGearLLC.VaultVsipClient.
What version of Vault are you using? What version of Visual Studio? Are you using the Enhanced or Classic Client for integration?
What operating system is Visual Studio/Vault on?
Is this a new problem? Were things working fine before?
What operating system is Visual Studio/Vault on?
Is this a new problem? Were things working fine before?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: The type initializer for 'SourceGearLLC.VaultVsipClient.
I am using version
5.0.3 (18802). Windows 7 vs2010
It was working before and then a couple days ago it stopped working. In fact I have yet to work on a project since we moved to vault that doesnt break, putting the source control into an unrepairable state. It seems to stem from opening the project from a server. Then everything breaks after I check the project back in. Even though I remove source control and readd - the projects are usually permanently broken in vault. Below is some more detail that shows up the output window after the build. For this particular issue I have found a workaround, - for today - usually when I reboot my machine it fails again - and it takes me an hour or so to repair (remove and readd source control), in that if I use visual studio to open the project from vault in vs2010 it errors with the same exception but does load the projects. If I open from the file system it wont load.
C:\Dev\Customer\Customer.UnitTests\Customer.UnitTests.csproj : error : The application for the project is not installed.
C:\Dev\Customer\Customer.CSErrorHandling.Service\Customer.CSErrorHandling.Service\Customer.CSErrorHandling.Service.csproj : error : The application for the project is not installed.
C:\Dev\Customer\Customer.CSErrorHandling.Service\Customer.CSErrorHandling.Service.Lib\Customer.CSErrorHandling.Service.Lib.csproj : error : The application for the project is not installed.
C:\Dev\Customer\Customer.BCSMonitor.Service\Customer.BCSMonitor.Service\Customer.BCSMonitor.Service.csproj : error : The application for the project is not installed.
C:\Dev\Customer\Customer.BCSMonitor.Service\Customer.BCSMonitor.Service.Lib\Customer.BCSMonitor.Service.Lib.csproj : error : The application for the project is not installed.
C:\Dev\Customer\Customer.CaptureServer.BatchLevelReporting\Customer.CaptureServer.BatchLevelReporting.csproj : error : The application for the project is not installed.
5.0.3 (18802). Windows 7 vs2010
It was working before and then a couple days ago it stopped working. In fact I have yet to work on a project since we moved to vault that doesnt break, putting the source control into an unrepairable state. It seems to stem from opening the project from a server. Then everything breaks after I check the project back in. Even though I remove source control and readd - the projects are usually permanently broken in vault. Below is some more detail that shows up the output window after the build. For this particular issue I have found a workaround, - for today - usually when I reboot my machine it fails again - and it takes me an hour or so to repair (remove and readd source control), in that if I use visual studio to open the project from vault in vs2010 it errors with the same exception but does load the projects. If I open from the file system it wont load.
C:\Dev\Customer\Customer.UnitTests\Customer.UnitTests.csproj : error : The application for the project is not installed.
C:\Dev\Customer\Customer.CSErrorHandling.Service\Customer.CSErrorHandling.Service\Customer.CSErrorHandling.Service.csproj : error : The application for the project is not installed.
C:\Dev\Customer\Customer.CSErrorHandling.Service\Customer.CSErrorHandling.Service.Lib\Customer.CSErrorHandling.Service.Lib.csproj : error : The application for the project is not installed.
C:\Dev\Customer\Customer.BCSMonitor.Service\Customer.BCSMonitor.Service\Customer.BCSMonitor.Service.csproj : error : The application for the project is not installed.
C:\Dev\Customer\Customer.BCSMonitor.Service\Customer.BCSMonitor.Service.Lib\Customer.BCSMonitor.Service.Lib.csproj : error : The application for the project is not installed.
C:\Dev\Customer\Customer.CaptureServer.BatchLevelReporting\Customer.CaptureServer.BatchLevelReporting.csproj : error : The application for the project is not installed.
Re: The type initializer for 'SourceGearLLC.VaultVsipClient.
This could be related to something else besides source control. I did some investigation of the error
It can happen if the product required to open the specified file was not found. It is common for this error to occur when attempting to open a project file that cannot be opened with the installed version of Visual Studio.
The first thing I would suggest is a reinstall or administrative repair of Visual Studio, making sure C# is installed.
The application for the project is not installed.
It can happen if the product required to open the specified file was not found. It is common for this error to occur when attempting to open a project file that cannot be opened with the installed version of Visual Studio.
The first thing I would suggest is a reinstall or administrative repair of Visual Studio, making sure C# is installed.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager