By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,239 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,239 IT Pros & Developers. It's quick & easy.

AppDomainSetup: ShadowCopyFiles, ShadowCopyDirectories

P: n/a
Rob
Hello,

I have upgraded my application from 1.1 to 2.0 framework. Now my
application is giving me two warnings on methods that have been
depreciated, SetShadowCopyFiles() and SetShadowCopyPath(). In the help
it tells me to use AppDomain.SetupInformation for these settings but I
can't get them to stick at runtime.

I don't want to create a new application domain. I would like to
configure the current application domain at startup. Does anybody know
if there is an app config file setting or alternative?

Thanks,
Rob Panosh
Advanced Software Designs

Apr 4 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
You can still use depreciated properties, objects and methods in your code.
They just might not be available in later versions of the framework. This
gives you time to re-write and refactor your code.

"Rob" <ro********@asdsoftware.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
Hello,

I have upgraded my application from 1.1 to 2.0 framework. Now my
application is giving me two warnings on methods that have been
depreciated, SetShadowCopyFiles() and SetShadowCopyPath(). In the help
it tells me to use AppDomain.SetupInformation for these settings but I
can't get them to stick at runtime.

I don't want to create a new application domain. I would like to
configure the current application domain at startup. Does anybody know
if there is an app config file setting or alternative?

Thanks,
Rob Panosh
Advanced Software Designs


Apr 4 '06 #2

P: n/a
Rob
Scott,

Thanks for your reply. That is the point I am in the process of trying
to rewrite my code. I need to find a way to configure the current
appdomain. I can configure the current appdomain PrivatePath (assembly
probing) using the following element in my app config file.

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="ScriptReferences"/>
</assemblyBinding>
</runtime>

What I am trying to find out is there is a way to configure (maybe app
config file, can't find anything in help) SetShadowCopyFiles() and
SetShadowCopyPath() during startup when the current appdomain is
created.

Rob

Apr 5 '06 #3

P: n/a
Rob
I'm simply amazed that nobody can assist me on this. All I want to be
able to do is change these settings in the current application domain.
I can't undstand why MS would obsolete the functions I used in the 1.1
framework.

Rob

Apr 7 '06 #4

P: n/a
I'm looking to find out the exact same thing. I would rather not write
a Launcher executable if I can help it.

Is there a way to guarantee that the default AppDomain has
ShadowCopyFiles turned on before it performs the first bind?

Cheers,

Taylor

May 1 '06 #5

P: n/a
Rob
Taylor,

Not sure, as you can see nobody seems to know much about this topic.

Cheers,
Rob

May 4 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.