The latest internal build of JustCode contains previews of the upcoming release. There will likely be changes before the final release, and I will write more about them then. For now, you are welcome to try out the internal build if you want to try out LESS support or the new Kendo UI templates.

JustCode’s new features required substantial changes to the API, and to prevent potential problems, JustCode will not load extensions that do not match the appropriate version.

What is that? You’re not using extensions. Well, you can download them from Visual Studio’s Extensions and Updates dialog or through the Visual Studio Gallery. Try them out and let us know what you think.

If you installed extensions through the Extensions and Updates dialog and don’t mind going without, everything will be fine. When updates to the packages are available, you can install them through the same dialog.

Fixing Your Extensions

If you created your own extensions, you will need to make a few changes for them to work in the new version.

First, open your project, ensure the references are pointing to the latest JustCode DLLs, and then make sure it compiles. If this fails, you will need to update your code to the new API. The list of changes is quite large, but the general concepts remain. If you have a specific problem, please report it.

Now that it compiles, you need to add an assembly attribute. Assembly level attributes typically go in AssemblyInfo.cs located in the Properties folder of the project.

[assembly: SupportsCodeModelApiVersion (2)]

That’s all there is to it.

The Future

Extension management is on the roadmap for improvements. If you’re reading this article long after the release of JustCode Q1 2013, the information here may no longer be valid. So here’s a tip for quickly identifying the necessary pieces for JustCode extensions: simply create a new JustCode Visual Studio Extensions project. We keep this template updated for each release, so you can be sure it will work.

If you have any suggestions or comments, please write them below or in the JustCode Feedback Portal.

Happy LESS Coding!

JustCode download banner image

Chris really does wish you happiness, not happiless, and is now considering creating an esoteric, dynamic stylesheet language call HapLESS to ensure you never get what you expect.

About the Author

Chris Eargle

is a Microsoft C# MVP with over a decade of experience designing and developing enterprise applications, and he runs the local .NET User Group: the Columbia Enterprise Developers Guild. He is a frequent guest of conferences and community events promoting best practices and new technologies. Chris is a native Carolinian; his family settled the Dutch Form region of South Carolina in 1752. He currently resides in Columbia with his wife, Binyue, his dog, Laika, and his three cats: Meeko, Tigger, and Sookie. Amazingly, they all get along... except for Meeko, who is by no means meek.

Related Posts