plugins targeting .net 4.5

January 23, 2014 posted by: Elias

there has been quite some confusion in the past whether or not it is possible to write plugins for vvvv targeting the .net 4.5 framework.

.net 4.5 is an in-place update to .net 4.0, which means that as soon as you install .net 4.5, your 4.0 installation will be replaced and you’ll be able to write plugins targeting 4.5. as it is an in-place update the assembly version (like System.Core 4.0.0.0) of the .net class library will stay the same, whether you target 4.0, 4.5 or 4.5.1 - so don’t get confused by that.

  • if you’re using vvvvs built-in CodeEditor you can simply use 4.5 features. note however that our code editor doesn’t do proper syntax highlighting and code completion for 4.5 features yet.
  • if you’re using VisualStudio or SharpDevelop to write your plugin you need to set the target framework to .net 4.5 in the project settings of your plugin. this needs to be done because VisualStudio and SharpDevelop use the MSbuild tool chain resolving referenced assemblies at compile time using a .net sdk installation, of which you can have several, for each individual .net release. our code editor uses CodeDOM for resolving references using the currently loaded .net runtime and therefore this step is not required.

for more details regaring .net framework versioning see http://msdn.microsoft.com/en-us/library/bb822049.aspx


Comments:

Comments are no longer accepted for this post.

u7angel
23.01.2014 - 20:07
thank you, elias

Contact


Imprint

vvvv - Dießl & Gregor GbR
Oranienstrasse 10
10997 Berlin/Germany
VAT: DE275566955

groupӘvvvv.org

Follow us

Mastodon.social
Pixelfed.social
Github
Vimeo
Youtube

Sign up for our Newsletter

Your subscription could not be saved. Please try again.
Your subscription has been successful.