I have developed an Office 2007 C# add-in. It uses clickonce for deployment. On systems with Office 2010 all is ok but on a machine with XP SP3, NET 3.5sp1 and Office 2007, I get a strange assembly loading error.
My add-in does not directly reference Microsoft.Office.Interop.SmartTag.dll. This gets referenced by Microsoft.Office.Tools.C...
I have an API DLL that several third party applications reference.
Some of these applications want things two ways in terms of updates.
1) I want the latest stuff
2) Don't update my direct binaries that often
There has been the thought of moving the DLL into the GAC and writing another DLL that is simply the wrapper for the DLL in th...
I have about 70 sites on a server that all use the same dlls. I thought it would be better to register them in the GAC and remove them from the site's bin folder so they're all looking at one place. My understanding is that if a dll that the site requires isn't found in the bin directory that asp then looks for it in the GAC. I've str...
I want to redirect consumers of dll v1 to dll v2.
I will add a publisher policy in GAC for that.
Must the policy be in GAC?
Does this mean dll v2 itself must also reside in GAC?
...
I have to implement .net assembly that would be put into GAC. It relies on RDBMS connection string and some additional params - what is the best place I should put it? Machine.config, registry or something more appropriate?
Such information should be placed into application configuration file (app.config/web.config) that uses component ...
Right clicking on project and clicking "Add Reference..." does not provide a way to do this. The .Net tab doesn't look in the GAC and if you browse to C:\windows\assembly you are presented with the actual directory structure of the GAC.
Thanks!
...
I am using a nUnit to, well, unit test an assembly.
The assembly is in my project output dir (\bin\debug) and is loaded into nUnit (Assemblies > Add Assembly) from this location.
However an older version is also in the GAC and nUnit is picking this one up instead.
I can of course remove the old version and re-install to the GAC upon b...
I've got a hybrid installer which drops binaries on the target machine (WIX) as well as installs templates into Visual Studo (VSIX). The VSIX is stored as a binary in the installer and is installed via a custom action when the installation is finalized.
It works, but there are a few issues. I could get around those issues if I could s...
Hi all,
I'm having this problem using msdeploy to sync GAC assembly to many Application Servers.
When I run this command
msdeploy -verb:sync -source:gacAssembly="'MyAssembly'" -dest:gacAssembly,computername=DESTINATIONSERVER
I obtain this error:
*Microsoft.Web.Deployment.DeploymentException:
(28/09/2010 16.46.37) An error occurred...
I'm trying to build a project library that needs to be in the GAC, so I added the following line as a post build event:
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\gacutil.exe" -if "$(TargetPath)"
For every even (second build, forth build, etc...) build execution I get this:
------ Build started: Project: Test.BusinessLog...
I am using Umbraco (.Net CMS) and it has a reference to a specific version of a dll (see 1 Umbraco Reference below). This is fine until I try to hook into the .Net MailChimp API which references a different vesion of the same DLL (see 2 PerceptiveMCAPI below).
I can think of a couple of options for resolving this
a. Get either the U...
We have a handful of sharepoint sites that uses various UserControls we have developed for custom stuff including authentication and authorization. On one of these sites when a new user is created by an admin it creates a password of this minumum length number of characters, saves the user info and sends an email to the users email addre...
My one ASP.NET web site uses two different business object class libraries. There is a common framework DLL (CSLA.dll) between these two libraries. The problem is that one library wants to upgrade to CSLA v.4.0.1 and the other wants to remain at v.2.1.4.
How do I solve this conflict at the web site? I think I need to install both versio...
I have a third-party .net DLL that I installed and registered, and appears in the GAC (c:\windows\assembly). I am able to successfully access the GAL in my development and my test environments, but not in production.
My web service is written in C#.Net, .Net 2.0 framework. I can only assume that the problem occurs during the line wher...
I have to call functions from a custom dll from biztalk orchestrations (similar to this solution http://www.codeproject.com/KB/biztalk/CallCustomDllBiztalk2006.aspx). The dll calls functions of a third party dll, which uses some other third party dlls (we are using to communicate with a legacy system).
The article http://msdn.microsoft....
I have a program which references a DLL. Code in this DLL gets the directory of the executing DLL and uses that to look for an XSD file to load (i.e. I expect the code to be executing from c:\foo\my.dll so it looks for c:\foo\validation.xsd).
On of the thousands of customer installations I have this works fine. However in one case the D...
I have an assembly installed to the GAC. We will always only have one version of this assembly. I have created a setup project to install this assembly to the gac. What I want to happen is for the old version to be removed from the gac before installing the new one. I have done the following:
Set the RemovePreviousVersion property o...
Hi,
In principle, can I create a class library to store my Extension methods for System namespace for example, and add it to the GAC to be usable from any project in my development machine and able to deployment on the GAC of other machines by the setup project ?
If yes, Do you think it useful?
Thanks in advance.
...
From times to time when PC restarts, some dll from the GAC are removed. I am sure it's not a manual operation. How can I find how and when the dll are removed ?
NB : after each restart, I manually add the dll by drag and dropping them to C:\WINNT\assembly
...
I almost have a NAnt script together that will build and deploy VS2010 database projects, but one error stands in my way:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.TSqlTasks.targets(56,5): error MSB4062: The "SqlBuildTask" task could not be loaded from the assembly Microsoft.Data.Schema.T...