-
Notifications
You must be signed in to change notification settings - Fork 34
Faq
Nice3point edited this page Sep 2, 2024
·
6 revisions
Q: I can compile, batch compile for multiple versions and create an installer without any issue. But when I try to test it on GitHub, I get this error and not sure what I am doing wrong?
Compile
16:36:25 [INF] > "C:\Program Files\dotnet\dotnet.exe" build --configuration Installer --verbosity minimal /property:Version=2.0.0
Error: C:\Program Files\dotnet\sdk\8.0.400\NuGet.targets(465,5): error MSB3202: The project file "D:\a\Test_Project\Test_addin\Test_addin.csproj" was not found. [D:\a\Test_Project\Test_Project\Test_Project.sln]
A: Make sure that the Installer configuration is set to build only the Installer project, and no others.
A:
Property | Description |
---|---|
Version | Sets the version for all projects and releases |
Configurations | Sets the names of the solution configurations that will be built when Nuke starts. Wildcards are available. For example Release* will build all configurations that begin with the word Release , which is Release R23 , Release R24 , etc. |
Bundles | Sets the projects for which the bundle will be created |
InstallersMap | Sets the mapping between the installer project and the project for which the installer will be created. |
Q: How can I remove the Revit version table from the installer UI and install the software on all versions at once?
A: In the installer project, replace lines:
UI = WUI.WixUI_FeatureTree
with UI = WUI.WixUI_InstallDir
project.RemoveDialogsBetween(NativeDialogs.WelcomeDlg, NativeDialogs.CustomizeDlg)
with project.RemoveDialogsBetween(NativeDialogs.WelcomeDlg, NativeDialogs.InstallDirDlg)