Skip to content

Commit

Permalink
Update Revision for Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Jul 6, 2024
1 parent 0fa50c2 commit c65a2fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions ricaun.Revit.UI.Example/ricaun.Revit.UI.Example.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
<Revision>$([MSBuild]::Divide($([System.DateTime]::get_Now().get_TimeOfDay().get_TotalSeconds()), 4).ToString('F0'))</Revision>
<Version>$(Version).$(Revision)</Version>
<PackageAssemblyVersion>.Dev.$(Version)</PackageAssemblyVersion>
<PackageAssemblyVersion>.Dev.$(Version).$(Revision)</PackageAssemblyVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down
4 changes: 0 additions & 4 deletions ricaun.Revit.UI.Tests/ricaun.Revit.UI.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@
<PackageReference Include="System.Drawing.Common" Version="*" IncludeAssets="build; compile" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="ricaun.Revision.Build.Tasks" Version="*-*" Condition="$(Configuration.Contains('Debug'))"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Revit_All_Main_Versions_API_x64" Version="$(RevitVersion).*-*" IncludeAssets="build; compile" PrivateAssets="All" />
</ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions ricaun.Revit.UI/ricaun.Revit.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
<Revision>$([MSBuild]::Divide($([System.DateTime]::get_Now().get_TimeOfDay().get_TotalSeconds()), 4).ToString('F0'))</Revision>
<Version>$(Version).$(Revision)</Version>
<PackageAssemblyVersion>.Dev.$(Version)</PackageAssemblyVersion>
<PackageAssemblyVersion>.Dev.$(Version).$(Revision)</PackageAssemblyVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit c65a2fb

Please sign in to comment.