shadow-copy

Would it make sense to use version control if I'm the only developer?

For example, if I was doing a project at home, does it make sense to use version control in the event that I want to revert or whatever, or does the shadow copy feature of Vista (we'll assume I'm using Vista) accomplish the same thing? ...

Shadow Copying, and mixed C# and C++ DLLs loading from arbitrary folders

I have a VS 2005 C# project that uses a special Plugin folder to load extra DLLs (for use as nodes in an asset conversion process). I have a mixture of C# and C++ DLLs in this folder. The issue I have is that when Shadow Copying is enabled, the C++ DLLs refuse to load using Assembly.LoadFrom. I have attempted to create a custom app dom...

Opening a file's Shadow Copy if the current copy is in use

I'm trying to backup files on a server, but some of them are in use and cannot be opened. Instead, I'd like to open their shadow copy if the current copy is in use. How can I do this? For reference, I'm using C# .net 3.5. ...

Volume Shadow Copy (VSS)

Can anyone clarify an issue? I'm using the VSS API (C++ using VSS2008 and the latest SDK running on XP SP3) in a home-brew backup utility*. THe VSS snapshot operations work fine for folder that have no subfolders - i.e. my email and SQL server volumes. However when I take a snapshot of a folder that does contain subfolders, the nested ...

Converting a C++ .exe project to a dll

Microsoft provides the source code of vshadow to manipulate VSS (Volume Shadow Service [shadow copy]), and I've modified it a bit but I want to make it into a dll so I can use it in my C# projects. I don't know exactly how to go about doing that, the source code is fairly simple, and it shouldn't be too hard, but I don't really know wher...

Best method for implementing Self-Updating Software

We have a minimal 'updater' exe that checks a remote URL for updates, downloads them and replaces files on disk prior to launching the real application. However if we want to replace the updater EXE then AFAIK we have two options: 1) Shadow Copying Assemblies whereby .Net will create a shadow copy of the EXE (and any referenced assembli...

Can you shadow copy MAF Addins in ASP.NET

Is it possible to configure MAF in an ASP.NET such a way that it loads shadow copies of an addin assembly? I'd like the ability to update an addin without manually restarting the web server. ...

Strange, possible “shadow copy” issue where two editors show different contents

I have some code that is reading a config file, but when I open the file in TextPad, I see different values than my application does. I checked it with Notepad. Notepad agrees with my application, TextPad shows something else. This is on Vista x64 Business. Any idea what could be causing this? I've looked in the Context Menu->Proper...

Getting a changed portion of the file from Shadow Copy snapshot?

I would like to be able to get a changed portion of the file from VSS snapshot? How it is possible? ...

Anyone able to work with shadow copy from a .Net app running on Vista?

The background information, libraries and sample code on the Joe Lynds site is really helpful and works fine with XP. There are also other code samples around to help with XP shadow copy. Advice on using shadow copying from a .NET app running on Vista / Win7 is thinner on the ground. Joe Lynds site offers a wrapper which claims to work ...

volume shadow copy vs data protection manager

trying to implement a VSS backup solution similar to what is described here: http://stackoverflow.com/questions/692848/volume-shadow-copy-vss there is a new offering called data protection manager: http://www.microsoft.com/systemcenter/dataprotectionmanager/en/us/overview.aspx how different is this from VSS based solution? does it sol...

How do I turn off shadow copy in a Visual Studio 2010 test project?

When using NUnit, I can turn off shadow copy so that my test assemblies are run from the output directory. I need this because my tests in this case aren't unit tests, but are integration tests which need to be able to access some of the assemblies that are copied into the output directory by the build. However, I can't find a way of t...

What does ShadowCopyFiles property in appdomain does?

I know when you set to true ,it will shadow copy the files.But what does shadow copy mean and why we need to shadow copy files? ...

Windows Volume shadow copy error: 2155348129

Developing a VSS writer app: see this error during backup, initiated by windows backup tool, is there defined error codes for 2155348129 from Microsoft? "The backup operation that started at '‎2010‎-‎07‎-‎20T02:54:19.354000000Z' has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being back...

Assembly locking rules and when is shadow copy useful ?

Hello, from what I've understood so far, by reading this doc for instance : http://msdn.microsoft.com/en-us/library/ms404279.aspx, Shadow copy is a feature that allows the use of an assembly while currently loaded by an application. From the above doc : The common language runtime locks an assembly file when the assembly is loaded,...

Add directories to ASP.NET shadow copy

In my ASP.NET app, I'm attempting to add another directory to be have the DLLs in it shadow copied. The only method I found that will allow m to do this is AppDomain.CurrentDomain.SetShadowCopyPath. However, this method is marked as Obsolete. MSDN has this to say about it SetShadowCopyPath(String path) Message: AppDomain.Se...