Skip to content

Test project to validate the `RevitAddInUtility.dll` with the `ManifestSettings` proposal.

License

Notifications You must be signed in to change notification settings

ricaun-io/RevitAddInUtility.Tests

Repository files navigation

RevitAddInUtility.Tests

Visual Studio 2022 Nuke License MIT Build

Test project to validate the RevitAddInUtility.dll with the ManifestSettings proposal.

RevitAddInUtility

The RevitAddInUtility is a .NET library that provides a parser for the RevitAddin.addin file. The RevitAddin.addin file is an XML file that contains information about the application type and the assembly to be loaded from Revit, using RevitAddInUtility you can parse the RevitAddin.addin file and get the RevitAddInManifest object.

using Autodesk.RevitAddIns;

RevitAddInManifest revitAddInManifest = AddInManifestUtility.GetRevitAddInManifest("RevitAddin.addin");

Tests

RevitAddin.addin

Test the RevitAddin.addin file to validate the RevitAddInManifest with custom proprieties inside the AddIn tag:

  • The custom proprieties are ignore and RevitAddInManifest is parsed successfully.

RevitAddin.ManifestSettings.addin

Test the RevitAddin.ManifestSettings.addin file to validate the RevitAddInManifest with custom proprieties inside the ManifestSettings tag:

  • The RevitAddInManifest parse fail and throw the exception.

System.ArgumentException : The 'ManifestSettings' tag is incorrect, should be replaced with 'AddIn'.

License

This project is licensed under the MIT License.


Do you like this project? Please star this project on GitHub!

About

Test project to validate the `RevitAddInUtility.dll` with the `ManifestSettings` proposal.

Resources

License

Stars

Watchers

Forks

Sponsor this project