The type initializer for 'SourceGearLLC.VaultVsipClient.Repo

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
nswider
Posts: 2
Joined: Mon Apr 30, 2012 9:19 am

The type initializer for 'SourceGearLLC.VaultVsipClient.Repo

Post by nswider » Mon Apr 30, 2012 9:30 am

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.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: The type initializer for 'SourceGearLLC.VaultVsipClient.

Post by lbauer » Mon Apr 30, 2012 1:14 pm

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?
Linda Bauer
SourceGear
Technical Support Manager

nswider
Posts: 2
Joined: Mon Apr 30, 2012 9:19 am

Re: The type initializer for 'SourceGearLLC.VaultVsipClient.

Post by nswider » Mon Apr 30, 2012 2:27 pm

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.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: The type initializer for 'SourceGearLLC.VaultVsipClient.

Post by lbauer » Tue May 01, 2012 8:28 am

This could be related to something else besides source control. I did some investigation of the error
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

Post Reply