Scaffolding VVVV Pack structure
An early decision to push logic out of nodes and into the core is essential when you use custom link types between your nodes. If you move the custom type to the core, you and other people can use its dll just like an API.
This Template helps you kickstart a new Pack for vvvv.
Its structure has been deduced from the very few packages that exist now, but I hope to encourage broader adoption with this contribution.
You can start your new Pack with a fresh download. Take these steps
- Change the name of the directory to the name of your pack, but keep the vvvv- in front of it. This will help to identify packs quickly
- Change the name of the solution file in
/src
the same. Lets refer to the name now as vvvv-YourSolutionName - Startup your IDE with the solution file
- In the Solution Explorer you can Rename the two contained projects
- in
Build
->Configuration Manager...
you can define your Build profile. As of now pick either x86 or x64. If you do not plan to debug, set it to Release. - Rebuild solution.
- Locate the
/vvvv-YourSolutionName
in/build
according to your previous settings. Copy that folder to your/packs
in your vvvv installation - Test with patching a node named
TemplateTemplate
. of course you will want to delete this plugin in the Solution Explorer quickly :)
-
If you are having problems with nuget auto restore packages, try this
- download nuget.exe
- add nuget's path to the windows Path environment variable.
- do from cmd in the
/vvvv-YourSolutionName/src
:nuget.exe update -self
nuget restore
-
If you are sick of copying files around:
- goto your vvvv distribution
packs
with cmd - adjust this command to your setup:
mklink /J vvvv-YourSolutionName "c:\dev\vvvv-YourSolutionName\build\x64\Debug\vvvv-YourSolutionName"
- alternatively take a look in the Nodes.csproj where you can add 'AfterBuild' tasks for more advanced deployment
- goto your vvvv distribution
Marko Ritter (www.intolight.com)
This software is distributed under the MIT license
Feel free to use and improve this in any way, and allow yourself to contribute too