Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ The samples do not all use the same framework-targeting model. Use the configura
Platform SDK sample projects target .NET Framework 4.8.1 by default and use explicit `_NET8` configurations for .NET 8:

```xml
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>AccessControlRawEventQuerySample</AssemblyName>
<Description>Sample project</Description>
<Company>Genetec Inc.</Company>
<Copyright>Copyright Genetec Inc. 2024</Copyright>
<Copyright>Copyright © Genetec Inc. 2024</Copyright>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down Expand Up @@ -101,7 +101,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>AccessControlReportQuerySample</AssemblyName>
<Description>Sample project</Description>
<Company>Genetec Inc.</Company>
<Copyright>Copyright Genetec Inc. 2024</Copyright>
<Copyright>Copyright © Genetec Inc. 2024</Copyright>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down Expand Up @@ -102,7 +102,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>AccessControlUnitManagerSample</AssemblyName>
<Description>Sample project</Description>
<Company>Genetec Inc.</Company>
<Copyright>Copyright Genetec Inc. 2024</Copyright>
<Copyright>Copyright © Genetec Inc. 2024</Copyright>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down Expand Up @@ -100,7 +100,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>AccessControlUnitSample</AssemblyName>
<Description>Sample project</Description>
<Company>Genetec Inc.</Company>
<Copyright>Copyright Genetec Inc. 2024</Copyright>
<Copyright>Copyright © Genetec Inc. 2024</Copyright>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down Expand Up @@ -100,7 +100,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>AccessEventMonitoringSample</AssemblyName>
<Description>Sample project</Description>
<Company>Genetec Inc.</Company>
<Copyright>Copyright Genetec Inc. 2024</Copyright>
<Copyright>Copyright © Genetec Inc. 2024</Copyright>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down Expand Up @@ -100,7 +100,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
8 changes: 4 additions & 4 deletions Samples/Platform SDK/AccessRuleSample/AccessRuleSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>AccessRuleSample</AssemblyName>
<Description>Sample project</Description>
<Company>Genetec Inc.</Company>
<Copyright>Copyright Genetec Inc. 2024</Copyright>
<Copyright>Copyright © Genetec Inc. 2024</Copyright>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down Expand Up @@ -100,7 +100,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>AccessVerifierSample</AssemblyName>
<Description>Sample project</Description>
<Company>Genetec Inc.</Company>
<Copyright>Copyright Genetec Inc. 2024</Copyright>
<Copyright>Copyright © Genetec Inc. 2024</Copyright>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down Expand Up @@ -100,7 +100,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>ActionMonitoringSample</AssemblyName>
Expand Down Expand Up @@ -94,7 +94,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>ActivityTrailsSample</AssemblyName>
<Description>Sample project</Description>
<Company>Genetec Inc.</Company>
<Copyright>Copyright Genetec Inc. 2024</Copyright>
<Copyright>Copyright © Genetec Inc. 2024</Copyright>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down Expand Up @@ -103,7 +103,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>AlarmActivityQuerySample</AssemblyName>
<Description>Sample project</Description>
<Company>Genetec Inc.</Company>
<Copyright>Copyright Genetec Inc. 2024</Copyright>
<Copyright>Copyright © Genetec Inc. 2024</Copyright>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down Expand Up @@ -101,7 +101,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>AlarmMonitoringSample</AssemblyName>
<Description>Sample project</Description>
<Company>Genetec Inc.</Company>
<Copyright>Copyright Genetec Inc. 2024</Copyright>
<Copyright>Copyright © Genetec Inc. 2024</Copyright>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down Expand Up @@ -100,7 +100,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<TargetFramework>net481</TargetFramework>
<TargetFramework Condition="'$(Configuration)' == 'Debug_NET8' OR '$(Configuration)' == 'Release_NET8'">net8.0-windows</TargetFramework>
<Configurations>Debug;Release;Debug_NET8;Release_NET8</Configurations>
<RootNamespace>Genetec.Dap.CodeSamples</RootNamespace>
<AssemblyName>ArchiverEventQuerySample</AssemblyName>
<Description>Sample project</Description>
<Company>Genetec Inc.</Company>
<Copyright>Copyright Genetec Inc. 2024</Copyright>
<Copyright>Copyright © Genetec Inc. 2024</Copyright>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down Expand Up @@ -102,7 +102,7 @@
<Message Text="Security Center SDK Detection:" Importance="normal" />
<Message Text=" GSC_SDK (Legacy): $(GSC_SDK)" Importance="normal" />
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />
<Message Text=" Target Framework: $(TargetFramework)" Importance="normal" />

<Error Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)\Genetec.Sdk.dll')"
Text="The _NET8 configurations require Security Center SDK 5.12.2 or later and GSC_SDK_CORE set to the SDK folder containing Genetec.Sdk.dll. Set GSC_SDK_CORE, or use Debug/Release to build net481." />
Expand Down
Loading