Skip to content

Commit

Permalink
Don't define ASCOM_COM by default for all builds
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVanNoord committed Jul 3, 2024
1 parent d6b439f commit 5e96790
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ASCOM.Alpaca.Simulators/ASCOM.Alpaca.Simulators.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
Expand Down Expand Up @@ -88,9 +88,7 @@
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>$(DefineConstants);ASCOM_COM</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'" />

<ItemGroup Condition="$(DefineConstants.Contains('ASCOM_COM'))">
<TrimmerRootAssembly Include="ASCOM.Simulators.LocalServer" />
Expand Down

0 comments on commit 5e96790

Please sign in to comment.