Skip to content

Commit 5e96790

Browse files
Don't define ASCOM_COM by default for all builds
1 parent d6b439f commit 5e96790

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ASCOM.Alpaca.Simulators/ASCOM.Alpaca.Simulators.csproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
@@ -88,9 +88,7 @@
8888
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
8989
</PropertyGroup>
9090

91-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
92-
<DefineConstants>$(DefineConstants);ASCOM_COM</DefineConstants>
93-
</PropertyGroup>
91+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'" />
9492

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

0 commit comments

Comments
 (0)