Debugging Shared Assemblies (ex. Custom Controls)

Hi Gurus ..

I would really appreciate some insights for the problem that bugs me for
quite some time. I keep my custom controls in their own shared
(private/public key signed) assembly. I need to have it shared. Usually I
work with a Web application project that has a reference to my shared,
custom controls assembly. Web project is a "Startup Project". I need to be
able to set a breakpoint in my Custom Controls (shared) project. VS.NET
solution can hold more then one project - that's the most convenient way to
go. There is no problem to stop debugger at that breakpoint having all
assemblies kept as private. Annoyance begins with shared assemblies and its
projects not being set as a startup project. The reference "Copy Local =
false" always locks them up producing errors :

"The file xxx cannot be copied to the run directory. The process cannot
access the file because it is being used by another process".

"Copy Local = true" helps to eliminate the error since the reference is no
longer kept by public key in my Web application's manifest BUT even though
they should be treated at this point as private assemblies I can't seem to
get them to debug at all.  I keep my shared assemblies in GAC so the
reference with "Copy Local = False" at the run time concerns this location.
Sometimes I succeed and can debug inside my shared assembly from other
startup project but in so indeterministic way. No matter what - locking up
shared  assembly at the compilation time undermines efficient way of working
with multiproject VS.NET solution. Can somebody share any guildlines,
experiences ?

Best Regards


6/25/2003, 5:44:24 PM

0 replies


Hello, I have a new biztalk project where I am forced to reference an assembly that is strong named and the assembly itself is referencing other assemblies that are not strong named. When I build the BizTalk project I get an error and cannot compile the BizTalk project. Does this mean that the other assemblies that are being referenced by the strong name assembly must be strong named also or is there a work around to this? Hopefully someone can help me with this. Thanks in advance, your help is greatly appreciated? -- mj

Running Assembly from Network Drive
0 replies , 11/6/2007, 4:29:02 PM
I have an assembly (VS 2005) which I need to run from a network drive. When run from mycomputer the assembly works fine, but it fails to load from the network. I tried to increase the trust level using the framework configuration, but it reports "Hash for the assembly cannot be generated". Could someone tell my what this means? In addition, Is there a better way to allow an assembly to run from the network without going adjusting the security level on every machine on the network? Thaks in advance.

I've created an Add-In for the CruiseControl.Net project using the remoting services exposed by the server. I've grabbed an actual copy of the shared remoting library running on the server, so I'm positive the client and server have the same shared types. Regardless, upon invoking a remote method (Connect does work) i receive the following exception: Cannot find the assembly ThoughtWorks.CruiseControl.Remote, Version=1.0.1612.11868, Culture=neutral, PublicKeyToken=null.. Below is the debug output where you'll notice it has actually loaded that same assembly! What's going on here? 'DefaultDomain': Loaded 'c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded. 'DefaultDomain': Loaded 'c:\projects\ccnet\project\ccnetaddin\bin\debug\thoughtworks.cruisecontrol.remote.dll', Symbols loaded. 'DefaultDomain': Loaded 'c:\winnt\assembly\gac\system.runtime.remoting\1.0.5000.0__b77a5c561934e089\system.runtime.remoting.dll', No symbols loaded. 'DefaultDomain': Loaded 'c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll', No symbols loaded. Cannot find the assembly ThoughtWorks.CruiseControl.Remote, Version=1.0.1612.11868, Culture=neutral, PublicKeyToken=null.

Customization Assemblies
0 replies , 6/14/2011, 4:08:31 PM
Hello I have a assembly customization that is not loading within Excel 2007. Unfortunately I don't know where on the server these assemblies are stored. Is there any way from this can be found from this error message? Or can you point me in a direction on how to identify it's location? any help will be gratefully received. Thank you Lewis Failed to update customization from the specified deployment manifest. ************** Exception Text ************** Microsoft.VisualStudio.Tools.Applications.Runtime.UpdateFailedException: Failed to update customization from the specified deployment manifest. ---> System.Net.WebException: The network path was not found. ---> System.Net.WebException: The network path was not found. ---> System.IO.IOException: The network path was not found. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async) at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint) --- End of inner exception stack trace --- at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint) at System.Net.FileWebRequest.GetResponseCallback(Object state) --- End of inner exception stack trace --- at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadData(Uri address) at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.DownloadManifest(WebClient webClient, Uri uri, Boolean fallBackToCache) at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.LoadAndUpdateApplicationManifest(IAppInfo appInfo, Uri documentDirectoryUri, Uri& newAppManifestPath, Boolean& appManifestDirty) --- End of inner exception stack trace --- at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.LoadAndUpdateApplicationManifest(IAppInfo appInfo, Uri documentDirectoryUri, Uri& newAppManifestPath, Boolean& appManifestDirty) at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.CreateCustomizationDomainInternal(Uri uriFullDocumentDirectory, Uri uriFullDocFilePath, String documentName, IHostServiceProvider hostCallback, IAddinSecurityManager secman, AppManifest& applicationManifest, Boolean& manifestDirty, IAppInfo& appInfo) at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.CreateCustomizationDomain(String applicationDomainPath, String documentName, IHostServiceProvider hostCallback, IExecuteCustomization& executor) at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManager.CreateCustomizationDomain(String applicationDomainPath, String documentName, IHostServiceProvider hostCallback, IExecuteCustomization& executor) ************** Loaded Assemblies ************** mscorlib Assembly Version: Win32 Version: 2.0.50727.3615 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- Microsoft.VisualStudio.Tools.Applications.Runtime Assembly Version: Win32 Version: 8.0.50727.816 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime/ ---------------------------------------- System Assembly Version: Win32 Version: 2.0.50727.3614 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/ ---------------------------------------- Microsoft.Office.Tools.Common Assembly Version: Win32 Version: 8.0.50727.816 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Tools.Common/ ---------------------------------------- System.Xml Assembly Version: Win32 Version: 2.0.50727.3082 (QFE.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/ ---------------------------------------- System.Configuration Assembly Version: Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/ ----------------------------------------

source code custody trail in assembly
6 replies , 4/3/2006, 4:34:59 PM
In delivering a financial application to someone who does not have VS05 (and thus only wants the exe), I need to include the source files in the assembly in some way such that it can be verified that the .exe was generated from those source files. Is there a way to do this? (the customer will probably never look at the source files, but by at least providing a custody trail we can all feel better about it). Thanks! Regards, Raj

Raj Wall
Project References or Assembly References?
3 replies , 12/15/2005, 3:03:23 PM
On my current project we work on basically 1 big intranet site that is made up of about 20 or so projects. There are some differing opinions as to if we should have 1 large solution with each project referencing each other, or if we should be compiling the projects into assemblies and referencing those. The benefit of compiling the projects and doing references by DLL is that you can work on a single project w/o having to load up and build every project in the entire solution. The downside is you have to rework the references if you want to debug stuff (if you need to debug across projects you can't have DLL references, you need project references) and also we have run into some issues where 2 assembiles are expecting different versions of the same common assembly and it takes some work trial and error to find the problematic DLL. On the other side, if you use project references you have to load up every project in your application just to make a small change, and rebuilding will take much longer. Is there any guidance out there on this issue?

I am receiving a compiler error on simple remoting test code from a book when attempting to use the System.Remoting.Channels.Tcp. I am using Visual Studio ..Net 2003 Ent. Architect Edition and re-installed the application with no success. Additionally the assembly does not autofill or show in the IDE. Trying to run code using the assembly (as expected) produces the following compiler error: codefilename.cs: The type or namespace name 'Tcp' does not exist in the class or namespace 'System.Runtime.Remoting.Channels' (are you missing an assembly reference?) Does anyone know how to remedy this?

Cannot add reference to valid .net assembly
0 replies , 7/23/2005, 7:03:01 PM
Hi I am having a strange problem. Suddenly from today, the "add refrence" dialog box is not listing any .net components. Before this, it was running OK. Also If I browse and point to any valid .net assembly to add reference, error is popping as "not valid .net component". What is the problem? Can u please help.

I have a .NET app (which uses WPF) that uses some 3rd party assemblies. When I compile, I select the .NET 3.5 setting. However, at deployment (which I do via ClickOnce), it says that my app is dependent on .NET 3.5 SP1. There's nothing about the code I'm writing that is dependent on .NET 3.5 SP1, so I assume that it's one of the libraries that I'm using. Is there a way to identify what a library is dependent on? (Of course I could remove libraries one at a time but I wanted a way to actually see which version of ..NET a given assembly requires) -- Michael

Adding Assemblies To The GAC
2 replies , 1/21/2004, 8:55:35 AM
Hey, I need a C# (Or VB.NET) Code to add existing Assemblies to the Global Assebly Cache. ThanX ahead!!! N_N_J_A

getting third party assemblies
1 replies , 6/27/2007, 3:35:33 PM
I have to build several applications that all depend on another set of toolkit assemblies - also in active development. The toolkit releases on a regular schedule, and I'd like to be able to have the product solutions go out to the release location in source control and grab whichever release they want for that product version. I've been looking for a way to automate this - I've tried scripts and build events, but I'm not finding a process that is low maintenance and usable across the various work environments of all the developers. I want to: 1) Release the toolkit ONCE to a single place 2) have products that need to the toolkit have a single variable or file or something to determine what version of the toolkit to use 3) Have the solution automatically determine at build time if new files are required, and retrieve those files if necessary. Basically, product developers should never have to do anything to use the current, correct version of the toolkit assemblies. I can't believe I'm the only person who has to deal with this. What tools systems are available to automate these processes? Am I thinking about this all wrong? I come from a command line build environment (Solaris) where makefiles and similar systems made this trivial. Somehow I'm not seeing the VS way. Thanks, Ben

BizTalk assembly
1 replies , 10/4/2005, 9:49:02 PM
Hi All, I experience a problem to start an orchestration on production server after I deployed my BizTalk project. I am getting an error of file not found, it looks it cannot find the file referenced in project. I do not have any custom code or files added to orchestration, I checked the References under my BizTalk project, and found certain Microsoft DLLs listed, the same DLLs I found under C:\Windows\assembly\Download folder. On my machine this folder contain name and location (not physical files) to BizTalk dlls (Microsoft.BizTalk.DefaultPipelines.dll, Microsoft.BizTalk.GlobalPropertySchemas.dll, etc.) on production server under C:\Windows\assembly\Download folder I don’t see those files, but there is another Download folder, and this another Download folder has one more Download folder and I don’t know how many folders embedded, I could not get to the end. I think orchestration can’t find location to those files. As far as I understand this Download folder gets created when BizTalk server starts, I was trying to restart the server – did not help. Will appreciate any help.

How to debug, step-into, or use (execute) a .net project when the assembly is registered in the GAC (Global Assembly Cache)? Here's the situation: Visual Studio .NET 2003 1 Solution w/ 2 projects - 1 WinForm .exe and 1 class library .dll. The class libary assembly is strong-named and registered in the GAC. If debugging, the WinForm .exe finds and calls the class library in the GAC instead of the one in the solution. It won't even step into the class library project, hit a breakpoint, pick up changes, etc. I understand that at runtime, the GAC is the 1st/default place to look for assemblies, but in DEBUG mode?!?! We have tried re-referencing the assembly by file (instead of GAC) and that didn't work. We tried re-referencing the assembly by pointing to the project and that didn't work. We tried creating a config file (app.config) for the WinForm project and adding this: ---------- <?xml version="1.0" encoding="utf-8" ?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="ClassLibraryNameHere" publicKeyToken="e24af57d9eaee4b5" culture="neutral" /> <codeBase version="" href="..\..\DLL\ClassLibraryAssemblyHere.dll"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration> ---------- to override the lookup in the GAC, but that didn't work either. I've searched the newsgroups, but couldn't find anything specific to this. What are we missing (I'm assuming someone's run into this...)? Do we have to unregister the assembly from the GAC? That does not seem very user/developer friendly. Thanks for any/all help. -Ed

Problem with referenced assemblies in VS 2003
0 replies , 4/29/2005, 12:27:01 PM
I have a win.forms solution with 25 projects, and just recently it has started to get confused about assembly references and/or compilation. After editing code (e.g. in UcPrim.vb), I hit the Debug:Start, it runs through the usual compilation and starts the executable. I then get:- An unhandled exception of type 'System.IO.FileLoadException' occurred in Unknown Module. Additional information: The located assembly's manifest definition with name 'UcPrim' does not match the assembly reference. If I look in the bin directory for the primary assembly I find that UcPrim.dll is the only assembly that's been updated - all the others are the version prior to the edit. Doing a Rebuild Solution fixes the problem, but with upward of 200,000 lines of code this takes a while, and is not a good solution for interactive debugging. All the assemblies have strong names (this is a no-touch deployment project), and all are project references. Originally I had this problem with file references too, but I switched everything to project references to try to solve it. Anyone seen anything like this?

Cannot unregister assembly
1 replies , 1/20/2006, 2:00:48 AM
Hi, Using Microsoft Visual Studio 2003, I have created an assembly that was registered as COM component. On the project's options the "Register for COM interop" option was checked. The assembly was compiling and working without problems, until I switched to VS 2005. Now when I try to compile my project I get the message: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(845,9): error MSB3395: Cannot unregister assembly "C:\PathToProject\MyProject.dll". Exception has been thrown by the target of an invocation. Done building project "MyProject.csproj" -- FAILED. How can I unregister the assembly so that I can compile the project with VS 2005 ? Please help. Thanks Emmanuel

Could not load file or assembly
0 replies , 7/23/2007, 6:24:02 AM
Could not load file or assembly 'CustomControls.vb' or one of its dependencies. The system cannot find the file specified. <%@ Register TagPrefix="mytextbox" Namespace="CustomControls.vb" Assembly="CustomControls.vb" %> the control works fine in visual studio 2005 while in design mode when when i try to browse the page on the web(off the same site i am editing from) It cannot find the class file. The file is in App_Code/VBCode with the approiate web.config code <codeSubDirectories> <add directoryName="VBCode"/><!--File is in this directory--> <add directoryName="CSCode"/> </codeSubDirectories> I tried to put the URL in the Register tag that did not work also, what do i need to do ? Tdar

Assembly Trust
0 replies , 3/23/2006, 8:52:30 AM
When deploying an office solution how can I automate the process of granting full trust to the assembly or the actual file. what if the file is moved? what happened to the granted rights? thank you...

version of an assembly
6 replies , 8/21/2009, 4:50:01 PM
Hi all, I add a couple of classes to a web project and rebuilded *.dll on Aug. 20th. I saw that the timestamp of the dll file is changed, but when I checked property of the dll. it still uses the same assembly version created on Aug. 5, 2009. I don't know if this causes this issue here: when I call assembly.GetType("classnamespace."+mynewclass), the F is null. It seems that it cannot find this type in the assembly, what step did I miss? so when it gets to 101, it throws an exception. 100 Type F = assembly.GetType("UsiTisFunctions." + className); 101 MemberInfo[] mi = F.GetMember("Execute"); Please shed a light on me. Thanks, -- Betty

I have created a simple assembly using VB.NET Express (or VB.NET 2005) with COM Interop and want to instantiate the assembly from VBA using code that looks like this: Dim MyPanelObj As MyDebugPanel.MyToolForm Sub StartMyTool() If MyPanelObj Is Nothing Then Set MyPanelObj = New MyDebugPanel.MyToolForm MyPanelObj.startup End Sub Using Excel 2003, this works fine. Using Excel 2002, it fails on the line that creates the object (the New) with the error "Automation Error". Is there any way that this can be made to work from Excel 2002? Does anyone know why this *doesn't* work? I have been unable to discover what is wrong. Any help or advice much appreciated...

Using a .NET assembly through COM
0 replies , 11/1/2005, 5:26:14 PM
I'm having trouble creating a class that can be used through COM with .NET 2.0. I have done a bunch of these with .NET 1.1 but I guess I am missing some subtle difference with 2.0. ComTest contains one file ComClass1.vb: Public Interface IComClass1 Sub Clear() End Interface <ComClass(ComClass1.ClassId, ComClass1.InterfaceId, ComClass1.EventsId)> _ Public Class ComClass1 Implements IComClass1 #Region "COM GUIDs" ' These GUIDs provide the COM identity for this class ' and its COM interfaces. If you change them, existing ' clients will no longer be able to access the class. Public Const ClassId As String = "96e7dc8a-8864-4fce-aec5-6633d8435c2e" Public Const InterfaceId As String = "05904a59-4604-450e-b5f4-ecf2417fcc41" Public Const EventsId As String = "3f679de3-13f8-4ca8-8842-4c79f80be5d7" #End Region ' A creatable COM class must have a Public Sub New() ' with no parameters, otherwise, the class will not be ' registered in the COM registry and cannot be created ' via CreateObject. Public Sub New() MyBase.New() End Sub Public Sub Clear() Implements IComClass1.Clear Throw New Exception("Clear sub Called") End Sub End Class With .NET 1.1 I would compile the class, then use regasm with the /tlb option. When I do this and add a reference to the tlb file, ComTest.tlb in this case, and attempt to create an instance of ComClass1 I get the following error: File or assembly name ComTest, or one of its dependencies, was not found. In .NET 1.1 I would generally use the class attribut <System.Runtime.InteropServices.ClassInterface(Runtime.InteropServices.ClassInterfaceType.None)> _ which I have also tried with the same results. Any help would be greatly appreciated.

Hi all, I have made my ochestration (OrchestrationTest) and I have been able to deploy it. Inside the orchestration I have a reference to another my dll (Included.dll), where I have defined a data structure. I have added this dll to the orchestration and it is also physically available in the same directory, where is the dll produced by the building of my orchestration. When I launch the Web Services Publishing wizard I have an error during the publishing phase: "Unable to load assembly: C:\MyOrchestrations\OrchestrationTest.dll [System.IO.FileNotFoundException] Impossible to find the file or assembly 'Included.dll' or one of its dependencies" The Included.dll is simple and it has the classical reference of a basic c# class library: System System.Data System.XML To deploy the orchestration I have due to recompile the 'Included.dll' with a key file, because BizTalk didn't recognize it as secure source. I think that the orchestration published as web service needs together dll, but during the publishing wizard I'm not able to choose more one. How can I solve the problem? Is there some workaround? Thanks, Aniello.

Assembly Version
0 replies , 10/28/2004, 1:49:08 PM
Should be trivial - I want to detect the program version so that I can take steps to update things to the current version. Pretty simple - just use Application.ProductVersion So I install the app on a file server. Various workstations then load the app and run it. Some workstations are Win98, some are XP. To enable users to access the program, I share the folder on the server. When my customers share a folder, the folder name on the server may be "Server Folder Name". The default is to give the shared folder the same name, you then give the workstation users the necessary permissions. When you load the exe from an XP workstation, Application.ProductVersion returns the correct version and so does Windows Explorer when you browse to the server folder and do a File, Properties on the exe. On a Win98 workstation, Application.ProductVersion returns version 1 regardless of what version the exe really is. So you then use Windows Explorer on the 98 computer, browse to the exe on the server, do a File, Properties on the exe, and there is NO version tab - Unbelievable. Then just change the share name from "Server Folder Name" to say "SFolder". Then when you do a File, Properties on the exe from a Win98 computer, there is now a Version tab, and Application.ProductVersion returns the correct value. Why would the share name of a folder totally kill the ability of Windows explorer to display a Version tab and make Application.ProductVersion return an incorrect value. This can't possibly be by design (I hope). Anybody else run into this or have any suggestions on how to make Application.ProductVersion work reliably on a Win98 computer. Thanks Russ Stevens

Merge module project for side-by-side assembly
0 replies , 3/28/2007, 3:25:47 PM
Doea anyone know of any documentation for how to create a Visual Studio 2005 Merge Module Project which deploys a side by side assembly to the WinSxS folder? I found various articles, such as which implied that this was the way to do it, but none which gave enough detail for me to implement the process! I tried creating a suitable manifest file and adding it to the MSM project, but that just seems to treat it as an ordinary file to be deployed. Thanks in advance for any pointers. -- Cheers, John

John Aldridge
code signing an assembly
0 replies , 1/29/2008, 7:49:45 PM
I need some help walking through the process of code-signing a .net assembly. I have a code-signing certificate from a valid signing authority. Its both installed on my system as well as on my file system in the form of a .spc and .pvk (private key) file. It appears that VS.Net wants either a .pfx or ..snk file but I'm not sure how to take my signing cert and convert it into the proper format to sign my assembly? Thanks Darren

Darren Mar-Elia
security of assemblies
1 replies , 6/25/2006, 12:19:35 PM
hi all, i have write an app with VB.NET 2005 but when i launch it from the network i get an error for security raison. i know i can modify local security for this assembly, but i don't want to do this on all workstation. can i set by gpo the framework security rule ? (don't find where) or can i set an proof or something similar to tel framework my app and location are secure/thrusted ?? in fact, how to automate this ? i need too to install framework 2.0 on all computer, is there an exe i can put in login script to check if it's already installed or not and if not, intall it ? thank a lot ..

Eric bouxirot
Visual Studio locks assemblies for ASP.NET project.
0 replies , 11/21/2003, 3:29:47 PM
I am working in an environment with 4 developers. 2 groups of 2 people working on the same server on the same web project with no version control management on the web server. Programmers A & B servername/project1 Programmers C & D servername/project2 All programmers have solutions that have their respective web projects, accessed over file share. Programmers A & B so far are fine. Programmers C & D have a problem. We have about a half dozen Component Libraries developed for use with the 2 web projects, but NOT stored in the GAC. Each reference to these component libraries in the project is set to Copy Local = True. When Programmer C opens his solution, it seems Visual Studio pushes the local copies of the assemblies out to the webserver via the file share, but keeps 2 or 3 of them opened and locked on the webserver. When Programmer D opens her solution, while Programmer C still has his instance of Visual Studio open, Visual Studio tries to do the same thing, only since they are locked by programmer C they fail to be overwritten. And the following error is produced. Cannot copy assembly 'AssemblyName' to file '\\servername\wwwroot$\Project2\bin\AssemblyName'. The process cannot access the file because it is being used by another process. As a result Programmer D's instance of Visual Studio does not load the assemblies into IntelliSense. Her visual studio doesn't recognize any of the same references that Programmer C's does. It prevents her from compiling and various other things. I have tried resetting IIS, removing Indexing from the Temporary ASP.NET Files folders on both Programmer C & D's machines as well as the webserver, using TaskManager to kill the aspnet_wp.exe process on all three machines, deleting the VSWebCache for both programmers' machines. I have tried running aspnet_regiis -i. I have tried recalculating the web. The only workarounds I've figured out are to either have Programmer C close Visual Studio, which releases the locks, then have Programmer D try to Build, which then HER VS locks the assemblies and now Programmer C can't build, or Whoever can't build because the other one has the locks, change the Copy Local property of that reference to False for every reference to an assembly that is locked just prior to Building, then change them back to True after building, in which case IntelliSense still fails to load because when setting them to True, it tries to push the assemblies back out to the webserver and fails, thus repeating the cycle of hatred. Either is unacceptable. I recall reading from Microsoft that assemblies of 64K with Copy Local set to False have this happen. Only one of the 6 assemblies is over 64K and all are set to True. I also recall the virtual directories that have a trailing backslash (\), or having another web project configured beneath a virtual directory have this happen. Negative on both counts. I read that Visual Studio might still keep something open because the assembly didn't close a stream or a file, or visual studio needs to keep some piece of that assembly in memory. I went through my code. 2 of the assemblies did any kind of I/O, but not file I/O. These 2 are ones that lock. They read ManifestResourceStreams from their own assemblies. I made sure that they closed their streams, but I cant imagine that Visual Studio keeps them open because only 1 of the 2 reads the ManifestResourceStream at design time. The locks are instant, as soon as Programmer C opens the project, before any of these calls are even made. I have also read that it is IntelliSense that is locking these files, but when I heard that, it was only for the ones over 64K, which is only one of them. Can ANYBODY tell me how to stop this madness? Any and all help is greatly appreciated,

Rob Mayo
Filter Assembler Level
0 replies , 2/15/2006, 9:56:17 PM
Employee Name Rate Assembler level Dianne Lee 0.8 1 Erika Tucker 0.5 1 Erin Johnson 0.8 1 Jack Anderson 0.9 1 Jessie Simpson 0.5 1 Joey Strickland 0.7 1 John Smith 0.8 1 Josh Smalls 0.4 1 Nick McClanahan 0.6 1 Sara Timberlake 0.4 1 Steve Adams 0.7 1 Sue Jones 0.6 1 Tom Hansen 0.6 1 Tonya Roberts 0.3 1 Chris Watson 0.6 2 Jane Doe 1 2 Joe Olson 0.9 2 Megan Miller 0.8 2 Ashley Smythe 1 2 Tyler Vossberg 0.9 3 This is my table on sheet 1. I would like to generate a table like this: Assembler 1 Assembler 2 Assembler 3 Assembler 4 Dianne Lee Chris Watson Tyler Vossberg Erika Tucker Jane Doe Erin Johnson Joe Olson Jack Anderson Megan Miller Jessie Simpson Ashley Smythe Joey Strickland John Smith Josh Smalls Nick McClanahan Sara Timberlake Steve Adams Sue Jones Tom Hansen Tonya Roberts Any help would be appreciated.

Primary Interop Assemblies
1 replies , 5/2/2009, 6:54:00 PM
Every time I start up my computer the Primary Interop Assemblies file screen opens up. I then have to close it each time. I don't even know what this is for and do not want to see it. HELP Please! Many Thanks. MWoodard m*************

Assembling Pictures together
1 replies , 10/4/2004, 4:13:01 AM
How do I assemble 2 pictures together into one ?

The assembly could not be loaded problem
0 replies , 2/8/2007, 10:27:03 AM
I was using binary serialization and deserialization in an office addin. I had a strange problem when deserializating. I got a an assembly not found exception, although the data serialized was from the same domain where deserialization was called, so the assembly was already loaded. I found a workaround for this on a forum creating a handler for AppDomain.AssemblyResolve Event that searches for the required assembly in the loaded ones and returns it if found. this solved my problem but I find this problem very strange, have any of you had the same problem? Can anyone explain why is this happening? Thanks in advance, I hope that this will save someone's day.

Custom Paper "Assembly"
3 replies , 1/2/2008, 7:52:32 PM
Having created a document on custom paper (24 wide x 18 high) I am hoping that Word can scale the document across standard paper, either letter or legal. In other words, I'd like to print sections of the document among several sheets to be assembled with old-fashioned tape, a sort of poor man's wide-carriage printer, if you will. Is there a technique for this? I don't see the issue addressed in the help documentation. Mark Office 2004

Mark Aalyson
Symptoms: 1. Create a class library: LIB project in directory c:\LIB 2. Create a WINAPP project in directory c:\WINAPP 3. Include LIB's .dll in WINAPP as a reference. 4. Build WINAPP. works great. 5. Build LIB. works great. 6. Make changes to LIB. 7. Debug WINAPP with breakpoints. 8. Finish debugging WINAPP. 9. Make changes to LIB. 10. Build lib. 11. Try to make changes to WINAPP. and build it. Error message comes up: Cannot copy assembly 'LIB' to file 'c:\WINAPP\bin\EBX.dll'. The process cannot access the file because it is being used by another process. 12. Close WINAPP solution. Keep LIB solution open. Re-open WINAPP. build WINAPP. it works!!! My question is, which file is being used by another process??? which one? c:\LIB\BIN\lib.dll or c:\WINAPP\bin\EBX.dll. why when i close the solution and I open the WINAPP solution again, LIB still unchanged, it works? how can it be blocking itself from accessing the file??? I would understand if it is LIB that is blocking it... but i think it blocks itself...

Document assembly options?
7 replies , 8/20/2006, 3:55:59 AM
Hi; I am putting together PPT presentations to be used in training. Does PPT, or maybe an unknown (to me) related product provide the capability to set up a presentation based on 'component' presentations? Say I have a 3 chapter Introductory class. I would like to be able to create 3 PPT presentations, one for each chapter. Then I'd like to specify that the intro class uses files presentation01.ppt, presentation02.ppt and presentation03.ppt. This would allow me to then create another class where I could reuse some of the existing presentations by reference, instead of copying the slides and then having to try to keep the shared portions in sync manually. Something like the intermediate class uses files: presentation01.ppt and presentation02.ppt (shared with the intro) along with presentation04.ppt and presentation05.ppt (unique to this class). I tried searching for "document assembly", "shared presentation" and "reused presentation" without any luck. Any suggestions or where to look in Help would be great. Thank you, Jack

Problem with Assembly Binder.
1 replies , 10/3/2008, 3:21:01 PM
Hello! (Office Word 2003, Visual Studio 2005, VSTO 2005 SE) I have a problem with a vsto word add-in. Until last week, everything worked fine, the setup was installing everything ok. Now I modified the name of one of my dlls, updated custom actions on setup properties. Registry keys are ok. Symptoms: I run setup on client machine, everything seems to install correct. But I don't see any add-in on COM Add-Ins, or under Disabled Items on Help. In registry everything it's ok, I can tell you that this is not the first time when I make a setup, so in the past worked fine. All the files are installed in the TARGET directory, I put the Register property of the Primary Output from my project to "vsdrpCOM", I tried also with "vsdrpCOMRelativePath" si "vsdrpCOMSelfReg". In registry, load behavior is set to 3, the CLSID is ok, Full Trust is set due to SetSecurity and checked also with .NET Framework Console. Everything it's ok, no error. I set up also VSTOSUPRESS... to 0. Nothing. A few hours ago, I found a solution to check the misterious behaviour by using FUSLOGVW.exe. Run it, and it seems I get on one of the entries: *** Assembly Binder Log Entry (10/3/2008 @ 6:07:28 PM) *** The operation was successful. Bind result: hr = 0x0. The operation completed successfully. Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll Running under executable C:\WINDOWS\system32\MsiExec.exe --- A detailed error log follows. LOG: IJW explicit bind. File path:C:\Program Files\TRP\Magnon Word Add-In\MagnonWord2003.dll. LOG: IJW assembly bind returned file not found. The dll is there, is strong named. I used on my development machine to set strong name, the sn.exe -k path\nameofdllhere.dll so I wrote the pair to it. What can I do else? I need help please cause I can't figure out what is happening. Very very strange. Thanks in advance. Regards, Nicu

Automating document assembly
0 replies , 2/9/2005, 12:13:35 PM
Hi, I am looking for a product that would help in document assembly, like from templates, while at the same time propagate template changes to the derived documents. All this should be done while maintaining the track changes and other meta-data, linking (cross-references) in the derived documents. I have looked at some tools such as DataPrompter, which is excellent for the assembly part of it, but this does not cover the entire range of requirements I need, as in track changes and the linking part. Have anybody used such a tool or can suggest something on these lines?? Thanks and Regards, Laks