PS C:\Temp\GeolocationAddin_Build> git pull
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 7 (delta 4), reused 7 (delta 4), pack-reused 0 (from 0)
Unpacking objects: 100% (7/7), 1.54 KiB | 32.00 KiB/s, done.
From https://github.com/lwilks/geolocation_addin
bfad017..19a4adf feature/publish-shared-coordinates -> origin/feature/publish-shared-coordinates
Updating bfad017..19a4adf
Fast-forward
src/GeolocationAddin/Core/CoordinatePublisher.cs | 147 +++++------------------
src/GeolocationAddin/Core/GeolocationWorkflow.cs | 18 ---
2 files changed, 29 insertions(+), 136 deletions(-)
PS C:\Temp\GeolocationAddin_Build> .\deploy\Deploy-GeolocationAddin.ps1
=== Geolocation Addin Deployment ===
Repo: C:\Temp\GeolocationAddin_Build
[1/4] Restoring NuGet packages...
Determining projects to restore...
All projects are up-to-date for restore.
[2/4] Building solution (Release)...
MSBuild version 17.6.1+8ffc3fe3d for .NET
C:\Program Files\dotnet\sdk\7.0.302\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a misma
tch between the processor architecture of the project being built "MSIL" and the processor architecture of the referenc
e "RevitAPI", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor archit
ecture of your project through the Configuration Manager so as to align the processor architectures between your projec
t and references, or take a dependency on references with a processor architecture that matches the targeted processor
architecture of your project. [C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\GeolocationAddin.csproj]
C:\Program Files\dotnet\sdk\7.0.302\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a misma
tch between the processor architecture of the project being built "MSIL" and the processor architecture of the referenc
e "RevitAPIUI", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor arch
itecture of your project through the Configuration Manager so as to align the processor architectures between your proj
ect and references, or take a dependency on references with a processor architecture that matches the targeted processo
r architecture of your project. [C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\GeolocationAddin.csproj]
C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\Core\CoordinatePublisher.cs(71,79): error CS1503: Argument 2: canno
t convert from 'Autodesk.Revit.DB.SiteLocation' to 'Autodesk.Revit.DB.ElementId' [C:\Temp\GeolocationAddin_Build\src\Ge
olocationAddin\GeolocationAddin_52yddvcz_wpftmp.csproj]
Build FAILED.
C:\Program Files\dotnet\sdk\7.0.302\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a misma
tch between the processor architecture of the project being built "MSIL" and the processor architecture of the referenc
e "RevitAPI", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor archit
ecture of your project through the Configuration Manager so as to align the processor architectures between your projec
t and references, or take a dependency on references with a processor architecture that matches the targeted processor
architecture of your project. [C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\GeolocationAddin.csproj]
C:\Program Files\dotnet\sdk\7.0.302\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a misma
tch between the processor architecture of the project being built "MSIL" and the processor architecture of the referenc
e "RevitAPIUI", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor arch
itecture of your project through the Configuration Manager so as to align the processor architectures between your proj
ect and references, or take a dependency on references with a processor architecture that matches the targeted processo
r architecture of your project. [C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\GeolocationAddin.csproj]
C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\Core\CoordinatePublisher.cs(71,79): error CS1503: Argument 2: canno
t convert from 'Autodesk.Revit.DB.SiteLocation' to 'Autodesk.Revit.DB.ElementId' [C:\Temp\GeolocationAddin_Build\src\Ge
olocationAddin\GeolocationAddin_52yddvcz_wpftmp.csproj]
2 Warning(s)
1 Error(s)
Time Elapsed 00:00:02.42
[3/4] Deploying to Revit 2024...
[4/4] Setting up config directory...
config.json already exists, skipping
mapping.csv already exists, skipping
=== Deployment Complete ===
Deployed files:
DLL + manifest: C:\Users\WILK93825\AppData\Roaming\Autodesk\Revit\Addins\2024
Config: C:\ProgramData\GeolocationAddin
NEXT STEPS:
- Edit C:\ProgramData\GeolocationAddin\config.json
- Set siteModelPath to your Desktop Connector site model path
- Set output folder paths
- Edit C:\ProgramData\GeolocationAddin\mapping.csv
- Add rows mapping link instance names to target file names
- Open Revit 2024 - look for the 'Geolocation' tab in the ribbon
PS C:\Temp\GeolocationAddin_Build> git pull
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 7 (delta 4), reused 7 (delta 4), pack-reused 0 (from 0)
Unpacking objects: 100% (7/7), 1.54 KiB | 32.00 KiB/s, done.
From https://github.com/lwilks/geolocation_addin
bfad017..19a4adf feature/publish-shared-coordinates -> origin/feature/publish-shared-coordinates
Updating bfad017..19a4adf
Fast-forward
src/GeolocationAddin/Core/CoordinatePublisher.cs | 147 +++++------------------
src/GeolocationAddin/Core/GeolocationWorkflow.cs | 18 ---
2 files changed, 29 insertions(+), 136 deletions(-)
PS C:\Temp\GeolocationAddin_Build> .\deploy\Deploy-GeolocationAddin.ps1
=== Geolocation Addin Deployment ===
Repo: C:\Temp\GeolocationAddin_Build
[1/4] Restoring NuGet packages...
Determining projects to restore...
All projects are up-to-date for restore.
[2/4] Building solution (Release)...
MSBuild version 17.6.1+8ffc3fe3d for .NET
C:\Program Files\dotnet\sdk\7.0.302\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a misma
tch between the processor architecture of the project being built "MSIL" and the processor architecture of the referenc
e "RevitAPI", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor archit
ecture of your project through the Configuration Manager so as to align the processor architectures between your projec
t and references, or take a dependency on references with a processor architecture that matches the targeted processor
architecture of your project. [C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\GeolocationAddin.csproj]
C:\Program Files\dotnet\sdk\7.0.302\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a misma
tch between the processor architecture of the project being built "MSIL" and the processor architecture of the referenc
e "RevitAPIUI", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor arch
itecture of your project through the Configuration Manager so as to align the processor architectures between your proj
ect and references, or take a dependency on references with a processor architecture that matches the targeted processo
r architecture of your project. [C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\GeolocationAddin.csproj]
C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\Core\CoordinatePublisher.cs(71,79): error CS1503: Argument 2: canno
t convert from 'Autodesk.Revit.DB.SiteLocation' to 'Autodesk.Revit.DB.ElementId' [C:\Temp\GeolocationAddin_Build\src\Ge
olocationAddin\GeolocationAddin_52yddvcz_wpftmp.csproj]
Build FAILED.
C:\Program Files\dotnet\sdk\7.0.302\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a misma
tch between the processor architecture of the project being built "MSIL" and the processor architecture of the referenc
e "RevitAPI", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor archit
ecture of your project through the Configuration Manager so as to align the processor architectures between your projec
t and references, or take a dependency on references with a processor architecture that matches the targeted processor
architecture of your project. [C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\GeolocationAddin.csproj]
C:\Program Files\dotnet\sdk\7.0.302\Microsoft.Common.CurrentVersion.targets(2352,5): warning MSB3270: There was a misma
tch between the processor architecture of the project being built "MSIL" and the processor architecture of the referenc
e "RevitAPIUI", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor arch
itecture of your project through the Configuration Manager so as to align the processor architectures between your proj
ect and references, or take a dependency on references with a processor architecture that matches the targeted processo
r architecture of your project. [C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\GeolocationAddin.csproj]
C:\Temp\GeolocationAddin_Build\src\GeolocationAddin\Core\CoordinatePublisher.cs(71,79): error CS1503: Argument 2: canno
t convert from 'Autodesk.Revit.DB.SiteLocation' to 'Autodesk.Revit.DB.ElementId' [C:\Temp\GeolocationAddin_Build\src\Ge
olocationAddin\GeolocationAddin_52yddvcz_wpftmp.csproj]
2 Warning(s)
1 Error(s)
Time Elapsed 00:00:02.42
[3/4] Deploying to Revit 2024...
[4/4] Setting up config directory...
config.json already exists, skipping
mapping.csv already exists, skipping
=== Deployment Complete ===
Deployed files:
DLL + manifest: C:\Users\WILK93825\AppData\Roaming\Autodesk\Revit\Addins\2024
Config: C:\ProgramData\GeolocationAddin
NEXT STEPS: