Skip to content

Commit

Permalink
Bug fix for Revit 2021 and the tooltips. 馃檲
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpierson committed Aug 9, 2022
1 parent 4007696 commit c93ee91
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 10 deletions.
Binary file modified _Release/Revit2021/Relay/Relay.dll
Binary file not shown.
Binary file modified _Release/Revit2022/Relay/Relay.dll
Binary file not shown.
Binary file modified _Release/Revit2023/Relay/Relay.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions src/Relay.Revit2021/Properties/AssemblyInfo.cs
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2022.1.2.0")]
[assembly: AssemblyFileVersion("2022.1.2.0")]
[assembly: AssemblyVersion("2021.1.2.1")]
[assembly: AssemblyFileVersion("2021.1.2.1")]
4 changes: 2 additions & 2 deletions src/Relay.Revit2021/Relay.Revit2021.csproj
Expand Up @@ -178,7 +178,7 @@
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
<Private>False</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" />
<Reference Include="System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
Expand Down Expand Up @@ -216,7 +216,7 @@
<PostBuildEvent>if $(ConfigurationName) == Debug if not exist "$(AppData)\Autodesk\REVIT\Addins\2021\Relay" mkdir "$(AppData)\Autodesk\REVIT\Addins\2021\Relay"

if $(ConfigurationName) == Debug copy "$(ProjectDir)$(OutputPath)Relay.dll" "$(AppData)\Autodesk\REVIT\Addins\2021\Relay"
if $(ConfigurationName) == Debug copy "$(ProjectDir)Relay.addin" "$(AppData)\Autodesk\REVIT\Addins\2021"
if $(ConfigurationName) == Debug copy "$(ProjectDir)\..\Relay.SharedProject\Relay.addin" "$(AppData)\Autodesk\REVIT\Addins\2021"

if $(ConfigurationName) == Release copy "$(ProjectDir)$(OutputPath)Relay.dll" "$(ProjectDir)..\..\_Release\Revit2021\Relay\Relay.dll"
if $(ConfigurationName) == Release copy "$(ProjectDir)\..\Relay.SharedProject\Relay.addin" "$(ProjectDir)\..\..\_Release\Revit2021"</PostBuildEvent>
Expand Down
4 changes: 2 additions & 2 deletions src/Relay.Revit2022/Properties/AssemblyInfo.cs
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2022.1.2.0")]
[assembly: AssemblyFileVersion("2022.1.2.0")]
[assembly: AssemblyVersion("2022.1.2.1")]
[assembly: AssemblyFileVersion("2022.1.2.1")]
4 changes: 2 additions & 2 deletions src/Relay.Revit2023/Properties/AssemblyInfo.cs
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2023.1.2.0")]
[assembly: AssemblyFileVersion("2023.1.2.0")]
[assembly: AssemblyVersion("2023.1.2.1")]
[assembly: AssemblyFileVersion("2023.1.2.1")]
2 changes: 1 addition & 1 deletion src/Relay.Revit2023/Relay.Revit2023.csproj
Expand Up @@ -174,7 +174,7 @@
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
<Private>False</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Text.Encodings.Web, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" />
<Reference Include="System.Text.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
Expand Down
3 changes: 2 additions & 1 deletion src/Relay.SharedProject/Utilities/RibbonUtils.cs
Expand Up @@ -94,8 +94,9 @@ private static string GetDescription(FileInfo fInfo)

description = relayGraph.Description != null ? $"{relayGraph.Description}\r\r[{fInfo.FullName}]" : $"[{fInfo.FullName}]";
}
catch (Exception)
catch (Exception e)
{
var s = e.Message;
description = $"[{fInfo.FullName}]";
}

Expand Down

0 comments on commit c93ee91

Please sign in to comment.