diff --git a/src/Application/ForgeApplications/Commands/CreateForgeApplication/CreateForgeApplicationCommandHandler.cs b/src/Application/ForgeApplications/Commands/CreateForgeApplication/CreateForgeApplicationCommandHandler.cs index 036e13e..422ed00 100644 --- a/src/Application/ForgeApplications/Commands/CreateForgeApplication/CreateForgeApplicationCommandHandler.cs +++ b/src/Application/ForgeApplications/Commands/CreateForgeApplication/CreateForgeApplicationCommandHandler.cs @@ -27,7 +27,7 @@ public async Task Handle(CreateForgeApplicationCommand request, Cance // check if ZIP with bundle is here - string packageZipPath = @$"C:\Users\smoreau\Github\RevitToIFCApp\src\RevitToIFCBundle\bin\{request.RevitVersion}\RevitToIFCBundle{request.RevitVersion}.zip"; + string packageZipPath = @$"C:\Users\smoreau\Github\BIM42\RevitToIFCApp\src\RevitToIFCBundle\bin\Debug\RevitToIFCBundle{request.RevitVersion}.zip"; if (!System.IO.File.Exists(packageZipPath)) { throw new Exception("Appbundle not found at " + packageZipPath); diff --git a/src/RevitToIFCBundle/RevitToIFCBundle.csproj b/src/RevitToIFCBundle/RevitToIFCBundle.csproj index 1d25134..ee8628e 100644 --- a/src/RevitToIFCBundle/RevitToIFCBundle.csproj +++ b/src/RevitToIFCBundle/RevitToIFCBundle.csproj @@ -5,7 +5,7 @@ Library true - Debug;2025;2024;2023;2022 + Debug;2027;2026;2025;2024;2023;2022 false x64 false @@ -27,14 +27,19 @@ Instead of building all versions above, we just put ONE version below and switch to 'Debug' configuration --> - 2025 + 2027 Program - $(ProgramW6432)\Autodesk\Revit 2025\Revit.exe + $(ProgramW6432)\Autodesk\Revit 2027\Revit.exe $(RevitVersion).* - + + + net10.0-windows + + + net8.0-windows diff --git a/src/WebApp/Controllers/ForgeApplicationsController.cs b/src/WebApp/Controllers/ForgeApplicationsController.cs index 92b395a..0bff7c7 100644 --- a/src/WebApp/Controllers/ForgeApplicationsController.cs +++ b/src/WebApp/Controllers/ForgeApplicationsController.cs @@ -49,7 +49,7 @@ public async Task> CreateApplication() { AppBundle appBundleId = await Mediator.Send(new CreateForgeApplicationCommand() { - RevitVersion = "2024" + RevitVersion = "2027" }); if (appBundleId == null) @@ -71,7 +71,7 @@ public async Task>> CreateFullApplication() { try { - string[] revitVersions = ["2022", "2023", "2024", "2025"]; + string[] revitVersions = ["2026", "2027"]; List creationIds = new List(); foreach (string version in revitVersions)