Sign in to follow this  
evolutional

[.net] VSA Depreciated?

Recommended Posts

I've recently been researching into VSA for scripting my .NET applications. After a few hours of playing around with the VSAEngine I have come to like it a lot more than the ICodeCompiler/AppDomain method of using a .NET language for scripting. However, I've been reading lately that VSA has been depreciated in Visual Studio 2005. Can anyone confirm whether this rumour has any weight? If so, what will be the preferred method for scripting in .NET applications?

Share this post


Link to post
Share on other sites
Yes, it's obsolete. It's not a rumor, it's a fact. I just checked.

It hasn't been depreciated, it's a full obsoletion meaning you won't be able to use it in .NET 2.0.

The only alternative that I know of is CodeDOM (ie. ICodeCompiler/AppDomain), or you roll your own scripting.

I have to agree, CodeDOM doesn't support everything that I'd like it to either.

You might still be able to use the VSA stuff with 1.1, and have it interoperate with 2.0 code perfectly fine. .NET was built with versioning in mind.

But they obsoleted it for a reason. It's time to move away from failing technologies.

Share this post


Link to post
Share on other sites
I feared as much. It's always the case when I find a technology I like [rolleyes]. Thanks for the confirmation.

Edit: Yes, it was probably made obsolete for a good reason - I'm not sure of that reason myself but it's fairly obvious that I should concentrate on the ICodeCompiler/AppDomain solution again.

Share this post


Link to post
Share on other sites
I would guess it's because VSA did some stuff that duplicated features in CodeDom, Appdomain, meaning that changes to specs would have to be manifested twice. I wouldn't be surprised to see a wrapper appear sometime in the framework, similar to VSA. In fact, that sounds like a fun project.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this