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
44 changes: 44 additions & 0 deletions .vsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"version": "1.0",
"components": [
// .NET Framework 4.8
"Microsoft.Net.Component.4.8.SDK",
"Microsoft.Net.Component.4.8.TargetingPack",
"Microsoft.Net.ComponentGroup.DevelopmentPrerequisites",

// .NET 6.0
"Microsoft.NetCore.Component.SDK.6",
"Microsoft.NetCore.Component.Runtime.6",
"Microsoft.NetCore.Component.TargetingPack.6",

// C++ Core Features
"Microsoft.VisualStudio.Component.VC.CoreBuildTools",
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64",
"Microsoft.VisualStudio.Component.VC.14.33.x86.x64", // v143 toolset
"Microsoft.VisualStudio.Component.VC.14.33.ARM64", // v143 toolset for ARM64

// C++/CLR Support
"Microsoft.VisualStudio.Component.VC.CLI.Support",

// Windows 10 SDK (10.0.20348.0)
"Microsoft.VisualStudio.Component.Windows10SDK.20348",

// MSBuild
"Microsoft.Component.MSBuild",

// NuGet
"Microsoft.VisualStudio.Component.NuGet",

// Debugging Tools
"Microsoft.VisualStudio.Component.Debugger.JustInTime",
"Microsoft.VisualStudio.Component.Debugger.Core",

// Testing Tools
"Microsoft.VisualStudio.Component.TestTools.Core",

// C++ ATL
"Microsoft.VisualStudio.Component.VC.ATL",
"Microsoft.VisualStudio.Component.VC.ATL.ARM64"
]
}
13 changes: 13 additions & 0 deletions ScreenRecorderLib.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestApp", "TestApp\TestApp.
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3AF1081D-5971-4352-9FA1-CBA5D6EEC773}"
ProjectSection(SolutionItems) = preProject
.vsconfig = .vsconfig
Testmedia\alphatest.png = Testmedia\alphatest.png
Testmedia\cat.mp4 = Testmedia\cat.mp4
Testmedia\earth.gif = Testmedia\earth.gif
Expand All @@ -32,6 +33,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestAppWinforms", "TestAppW
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ScreenRecorderLibNative", "ScreenRecorderLibNative\ScreenRecorderLibNative.vcxproj", "{F2652FD6-EAF0-466D-B1CF-A7D19C1540EA}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{5C0F7380-CF0C-4C0F-82C0-7973EDBEA365}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{6E26FE2C-3387-4C95-8C88-4EA45A7D3A26}"
ProjectSection(SolutionItems) = preProject
.github\workflows\msbuild.yml = .github\workflows\msbuild.yml
.github\workflows\release.yml = .github\workflows\release.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM64 = Debug|ARM64
Expand Down Expand Up @@ -142,6 +151,10 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{5C0F7380-CF0C-4C0F-82C0-7973EDBEA365} = {3AF1081D-5971-4352-9FA1-CBA5D6EEC773}
{6E26FE2C-3387-4C95-8C88-4EA45A7D3A26} = {5C0F7380-CF0C-4C0F-82C0-7973EDBEA365}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {193504EA-E90F-4C7F-88B0-60303951D5C9}
EndGlobalSection
Expand Down
40 changes: 4 additions & 36 deletions ScreenRecorderLib/ScreenRecorderLib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,53 +28,21 @@
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{B3AE257D-B561-4FCB-AE82-EBCCBF3D20CB}</ProjectGuid>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
<Keyword>ManagedCProj</Keyword>
<RootNamespace>ScreenRecorderLib</RootNamespace>
<WindowsTargetPlatformVersion>10.0.20348.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CLRSupport>true</CLRSupport>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CLRSupport>true</CLRSupport>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CLRSupport>true</CLRSupport>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CLRSupport>true</CLRSupport>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CLRSupport>true</CLRSupport>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CLRSupport>true</CLRSupport>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
Expand Down
8 changes: 1 addition & 7 deletions TestApp/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows;

namespace TestApp
{
Expand Down
4 changes: 0 additions & 4 deletions TestApp/BytesToKilobytesConverter.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;

namespace TestApp
Expand Down
5 changes: 0 additions & 5 deletions TestApp/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,12 @@
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Ink;
using System.Windows.Interop;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Threading;
using TestApp.Sources;

Expand Down
5 changes: 0 additions & 5 deletions TestApp/OverlayModel.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using ScreenRecorderLib;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestApp
{
Expand Down
5 changes: 0 additions & 5 deletions TestApp/OverlayTemplateSelector.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using ScreenRecorderLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace TestApp
Expand Down
2 changes: 0 additions & 2 deletions TestApp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;

Expand Down
7 changes: 1 addition & 6 deletions TestApp/RecordingSourceTemplateSelector.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows;
using TestApp.Sources;

namespace TestApp
Expand Down
2 changes: 0 additions & 2 deletions TestApp/Sources/CheckableRecordableCamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media.Imaging;
Expand Down
3 changes: 0 additions & 3 deletions TestApp/Sources/CheckableRecordableDisplay.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media.Imaging;
Expand Down
5 changes: 0 additions & 5 deletions TestApp/Sources/CheckableRecordableImage.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using ScreenRecorderLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;

namespace TestApp.Sources
Expand Down
7 changes: 1 addition & 6 deletions TestApp/Sources/CheckableRecordableVideo.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
using ScreenRecorderLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;

namespace TestApp.Sources
{
public class CheckableRecordableVideo : VideoRecordingSource, ICheckableRecordingSource
public class CheckableRecordableVideo : VideoRecordingSource, ICheckableRecordingSource
{
private bool _isSelected;
public bool IsSelected
Expand Down
3 changes: 0 additions & 3 deletions TestApp/Sources/CheckableRecordableWindow.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using ScreenRecorderLib;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media.Imaging;
Expand Down
6 changes: 0 additions & 6 deletions TestApp/Sources/ICheckableRecordingSource.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
using ScreenRecorderLib;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Imaging;

namespace TestApp.Sources
Expand Down
Loading