Sentinel.v3.5Client and Windows 7



When trying to install applications created and deployed with .NET ClickOnce on Windows 7 you may get the following error:

"Unable to install or run the application. The application requires that
assembly Sentinel.v3.5Client Version 3.5.0.0 be installed in the Global
Assembly Cache (GAC) first."
This is an issue with build 7057 (and maybe 7000) and the way that the .NET Framework was installed. Asking around the internet will generally give the impression that you need to install .Net Framework 3.5 SP, or that your copy is damaged. It's not.

The issue is exactly what the error message says, that the Sentinel.v3.5Client assembly is not installed into the Global Assembly Cache (GAC). It's a simple fix with a few steps.

Step 1: You need to locate the Sentinel.v3.5Client.dll file on your system to make sure you have it. I located mine in %systemroot%\Microsoft.NET\Framework\v3.5

Step 2: You will need the gacutil.exe utility. This file can exist one of more places on your system, or it may not exist at all. Check Dave Cox's post for a list of possible places, but if you can't find it you will need to install the Windows SDK for Windows Server 2008 and .NET Framework 3.5. Provided that you installed the SDK, you can now locate the file in %ProgramFiles%\Microsoft SDKs\Windows\v6.1\Bin\Microsoft SDKs\Windows\v6.1\Bin

Step 3: Now comes the fun part. Assuming your files exist in the locations I listed, open a command prompt and run the following command:

%ProgramFiles%\Microsoft SDKs\Windows\v6.1\Bin\Microsoft SDKs\Windows\v6.1\Bin\gacutil.exe /i %WindowsRoot%\Microsoft.NET\Framework\v3.5\Sentinel.v3.5Client.dll
The /i switch tells gacutil to Install the Sentinel.v3.5Client assembly from the file into the Global Assembly Cache (GAC).

That's it! Your .NET Framework ClickOnce programs win now install correctly now with no errors. Hope this helped.

Comments

Anonymous said…
Ok, but what is Sentinel v3.5 Client for?
Joseph said…
It's part of the .NET Framework ClickOnce deployment system http://msdn.microsoft.com/en-us/library/ee517334.aspx
Willie D. said…
Wouldn't it have been weird if they named it ClickOnceDeploymentComponentX.dll?

Thanks for sharing!

Popular posts from this blog

Installing Bugzilla under Hostgator Cpanel

Reinstalling libgcc on openwrt