Skip to content

Commit

Permalink
Update csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
Nice3point committed Jun 23, 2024
1 parent 83bb518 commit cc8c83c
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 49 deletions.
2 changes: 1 addition & 1 deletion samples/MultiProjectApplication/Module1/Module1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*"/>
Expand Down
2 changes: 1 addition & 1 deletion samples/MultiProjectApplication/Module2/Module2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*"/>
Expand Down
2 changes: 1 addition & 1 deletion samples/MultiProjectApplication/Module3/Module3.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,13 @@

<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*-*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPIUI" Version="$(RevitVersion).*-*"/>
<PackageReference Include="Microsoft.Extensions.Options" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.Options" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.Options" Version="8.*"/>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.*"/>
<PackageReference Include="System.Text.Json" Version="8.*" Condition="!$(DefineConstants.Contains('NETCOREAPP'))"/>
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,13 @@

<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*-*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPIUI" Version="$(RevitVersion).*-*"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.*"/>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.*"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,14 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*-*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*-*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*-*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPIUI" Version="$(RevitVersion).*-*"/>
<PackageReference Include="Serilog.Sinks.Debug" Version="2.*"/>
<PackageReference Include="Serilog.Extensions.Hosting" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.*"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.*"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*-*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*-*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPIUI" Version="$(RevitVersion).*-*"/>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.*"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.*"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPIUI" Version="$(RevitVersion).*"/>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.*"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.*"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*-*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*-*"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,25 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPIUI" Version="$(RevitVersion).*"/>
<!--#if (log && !Hosting)-->
<PackageReference Include="Serilog" Version="3.*" />
<PackageReference Include="Serilog" Version="4.*"/>
<!--#endif-->
<!--#if (log)-->
<PackageReference Include="Serilog.Sinks.Debug" Version="2.*"/>
<PackageReference Include="Serilog.Sinks.Debug" Version="3.*"/>
<!--#endif-->
<!--#if (log && Hosting)-->
<PackageReference Include="Serilog.Extensions.Hosting" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.*"/>
<!--#endif-->
<!--#if (Container)-->
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.*"/>
<!--#endif-->
<!--#if (Hosting)-->
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.*"/>
<!--#endif-->
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*"/>
Expand All @@ -46,8 +46,7 @@
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.*"/>
<!--#endif-->
<!--#if (Modeless && ioc)-->
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.*"/>
<!--#endif-->
</ItemGroup>

Expand Down
15 changes: 6 additions & 9 deletions source/Nice3point.Revit.AddIn/Nice3point.Revit.AddIn.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="1.*"/>
<PackageReference Include="Nice3point.Revit.Build.Tasks" Version="2.*"/>
<PackageReference Include="Nice3point.Revit.Toolkit" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Extensions" Version="$(RevitVersion).*"/>
<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*"/>
Expand All @@ -51,22 +51,19 @@
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.*"/>
<!--#endif-->
<!--#if (log && !Hosting)-->
<PackageReference Include="Serilog" Version="3.*"/>
<PackageReference Include="Serilog" Version="4.*"/>
<!--#endif-->
<!--#if (log)-->
<PackageReference Include="Serilog.Sinks.Debug" Version="2.*"/>
<PackageReference Include="Serilog.Sinks.Debug" Version="3.*"/>
<!--#endif-->
<!--#if (log && Hosting)-->
<PackageReference Include="Serilog.Extensions.Hosting" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.*"/>
<!--#endif-->
<!--#if (Container)-->
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.*"/>
<!--#endif-->
<!--#if (Hosting)-->
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.*" Condition="$(RevitVersion) == '2025'"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.*" Condition="$(RevitVersion) != '' And $(RevitVersion) &lt; '2025'"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.*"/>
<!--#endif-->
</ItemGroup>

Expand Down

0 comments on commit cc8c83c

Please sign in to comment.