Skip to content
Open
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
410 changes: 0 additions & 410 deletions Samples/Genetec.Dap.CodeSamples.sln

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@
<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>

<!-- Conditionally add .NET 8 support if Security Center 5.12.2+ SDK is detected -->
<TargetFrameworks Condition="Exists('$(GSC_SDK_CORE)')">net8.0-windows;net481</TargetFrameworks>
<!-- Framework-specific build configurations -->
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8')) AND Exists('$(GSC_SDK_CORE)')">net8.0-windows</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET481'))">net481</TargetFrameworks>
<Configurations>Debug;Release;Debug_NET481;Debug_NET8;Release_NET481;Release_NET8</Configurations>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<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 @@ -65,30 +60,6 @@
<LangVersion>12</LangVersion>
</PropertyGroup>

<!-- .NET Framework 4.8.1 specific configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_NET481|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug_NET481\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>12</LangVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_NET481|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release_NET481\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>12</LangVersion>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net481'">
<Reference Include="Genetec.Sdk">
<HintPath>$(GSC_SDK)\Genetec.Sdk.dll</HintPath>
Expand Down Expand Up @@ -132,11 +103,7 @@
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />

<Warning Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)')"
Text=".NET 8 target requires Security Center 5.12.2 or later. Please install the compatible SDK or use .NET Framework 4.8.1 instead." />

<Message Condition="!Exists('$(GSC_SDK_CORE)')"
Text="NOTE: .NET 8 support disabled - Security Center 5.12.2+ SDK not detected. Building for .NET Framework 4.8.1 only."
Importance="high" />
<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." />
</Target>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@
<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>

<!-- Conditionally add .NET 8 support if Security Center 5.12.2+ SDK is detected -->
<TargetFrameworks Condition="Exists('$(GSC_SDK_CORE)')">net8.0-windows;net481</TargetFrameworks>
<!-- Framework-specific build configurations -->
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8')) AND Exists('$(GSC_SDK_CORE)')">net8.0-windows</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET481'))">net481</TargetFrameworks>
<Configurations>Debug;Release;Debug_NET481;Debug_NET8;Release_NET481;Release_NET8</Configurations>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<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 @@ -65,30 +60,6 @@
<LangVersion>12</LangVersion>
</PropertyGroup>

<!-- .NET Framework 4.8.1 specific configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_NET481|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug_NET481\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>12</LangVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_NET481|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release_NET481\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>12</LangVersion>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net481'">
<Reference Include="Genetec.Sdk">
<HintPath>$(GSC_SDK)\Genetec.Sdk.dll</HintPath>
Expand Down Expand Up @@ -133,11 +104,7 @@
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />

<Warning Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)')"
Text=".NET 8 target requires Security Center 5.12.2 or later. Please install the compatible SDK or use .NET Framework 4.8.1 instead." />

<Message Condition="!Exists('$(GSC_SDK_CORE)')"
Text="NOTE: .NET 8 support disabled - Security Center 5.12.2+ SDK not detected. Building for .NET Framework 4.8.1 only."
Importance="high" />
<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." />
</Target>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@
<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>

<!-- Conditionally add .NET 8 support if Security Center 5.12.2+ SDK is detected -->
<TargetFrameworks Condition="Exists('$(GSC_SDK_CORE)')">net8.0-windows;net481</TargetFrameworks>
<!-- Framework-specific build configurations -->
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8')) AND Exists('$(GSC_SDK_CORE)')">net8.0-windows</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET481'))">net481</TargetFrameworks>
<Configurations>Debug;Release;Debug_NET481;Debug_NET8;Release_NET481;Release_NET8</Configurations>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<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 @@ -65,30 +60,6 @@
<LangVersion>12</LangVersion>
</PropertyGroup>

<!-- .NET Framework 4.8.1 specific configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_NET481|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug_NET481\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>12</LangVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_NET481|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release_NET481\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>12</LangVersion>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net481'">
<Reference Include="Genetec.Sdk">
<HintPath>$(GSC_SDK)\Genetec.Sdk.dll</HintPath>
Expand Down Expand Up @@ -131,11 +102,7 @@
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />

<Warning Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)')"
Text=".NET 8 target requires Security Center 5.12.2 or later. Please install the compatible SDK or use .NET Framework 4.8.1 instead." />

<Message Condition="!Exists('$(GSC_SDK_CORE)')"
Text="NOTE: .NET 8 support disabled - Security Center 5.12.2+ SDK not detected. Building for .NET Framework 4.8.1 only."
Importance="high" />
<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." />
</Target>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@
<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>

<!-- Conditionally add .NET 8 support if Security Center 5.12.2+ SDK is detected -->
<TargetFrameworks Condition="Exists('$(GSC_SDK_CORE)')">net8.0-windows;net481</TargetFrameworks>
<!-- Framework-specific build configurations -->
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8')) AND Exists('$(GSC_SDK_CORE)')">net8.0-windows</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET481'))">net481</TargetFrameworks>
<Configurations>Debug;Release;Debug_NET481;Debug_NET8;Release_NET481;Release_NET8</Configurations>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<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 @@ -65,30 +60,6 @@
<LangVersion>12</LangVersion>
</PropertyGroup>

<!-- .NET Framework 4.8.1 specific configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_NET481|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug_NET481\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>12</LangVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_NET481|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release_NET481\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>12</LangVersion>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net481'">
<Reference Include="Genetec.Sdk">
<HintPath>$(GSC_SDK)\Genetec.Sdk.dll</HintPath>
Expand Down Expand Up @@ -131,11 +102,7 @@
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />

<Warning Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)')"
Text=".NET 8 target requires Security Center 5.12.2 or later. Please install the compatible SDK or use .NET Framework 4.8.1 instead." />

<Message Condition="!Exists('$(GSC_SDK_CORE)')"
Text="NOTE: .NET 8 support disabled - Security Center 5.12.2+ SDK not detected. Building for .NET Framework 4.8.1 only."
Importance="high" />
<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." />
</Target>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@
<PropertyGroup>
<!-- Base target framework - always supported -->
<TargetFrameworks>net481</TargetFrameworks>

<!-- Conditionally add .NET 8 support if Security Center 5.12.2+ SDK is detected -->
<TargetFrameworks Condition="Exists('$(GSC_SDK_CORE)')">net8.0-windows;net481</TargetFrameworks>
<!-- Framework-specific build configurations -->
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8')) AND Exists('$(GSC_SDK_CORE)')">net8.0-windows</TargetFrameworks>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET481'))">net481</TargetFrameworks>
<Configurations>Debug;Release;Debug_NET481;Debug_NET8;Release_NET481;Release_NET8</Configurations>
<TargetFrameworks Condition="$(Configuration.EndsWith('_NET8'))">net8.0-windows</TargetFrameworks>
<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 @@ -65,30 +60,6 @@
<LangVersion>12</LangVersion>
</PropertyGroup>

<!-- .NET Framework 4.8.1 specific configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_NET481|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug_NET481\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>12</LangVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_NET481|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release_NET481\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>12</LangVersion>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net481'">
<Reference Include="Genetec.Sdk">
<HintPath>$(GSC_SDK)\Genetec.Sdk.dll</HintPath>
Expand Down Expand Up @@ -131,11 +102,7 @@
<Message Text=" GSC_SDK_CORE (.NET 8): $(GSC_SDK_CORE)" Importance="normal" />
<Message Text=" Target Frameworks: $(TargetFrameworks)" Importance="normal" />

<Warning Condition="'$(TargetFramework)' == 'net8.0-windows' AND !Exists('$(GSC_SDK_CORE)')"
Text=".NET 8 target requires Security Center 5.12.2 or later. Please install the compatible SDK or use .NET Framework 4.8.1 instead." />

<Message Condition="!Exists('$(GSC_SDK_CORE)')"
Text="NOTE: .NET 8 support disabled - Security Center 5.12.2+ SDK not detected. Building for .NET Framework 4.8.1 only."
Importance="high" />
<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." />
</Target>
</Project>
Loading