Skip to content

Commit

Permalink
Update to VS2019
Browse files Browse the repository at this point in the history
  • Loading branch information
j3soon committed Apr 23, 2021
1 parent 4384a50 commit d2bcef5
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 39 deletions.
17 changes: 10 additions & 7 deletions PrintScreen.sln
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
# Visual Studio Version 16
VisualStudioVersion = 16.0.31005.135
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PrintScreen", "PrintScreen\PrintScreen.csproj", "{A7E52050-A979-480A-9D22-F8483B3DB538}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PrintScreen", "PrintScreen\PrintScreen.csproj", "{4A5EEB1E-E92F-406E-901D-2706831BF5B4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A7E52050-A979-480A-9D22-F8483B3DB538}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A7E52050-A979-480A-9D22-F8483B3DB538}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A7E52050-A979-480A-9D22-F8483B3DB538}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A7E52050-A979-480A-9D22-F8483B3DB538}.Release|Any CPU.Build.0 = Release|Any CPU
{4A5EEB1E-E92F-406E-901D-2706831BF5B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4A5EEB1E-E92F-406E-901D-2706831BF5B4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4A5EEB1E-E92F-406E-901D-2706831BF5B4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4A5EEB1E-E92F-406E-901D-2706831BF5B4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F75ADFE6-2EBA-4EE7-9F84-D211DF3E32B6}
EndGlobalSection
EndGlobal
7 changes: 2 additions & 5 deletions PrintScreen/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
28 changes: 10 additions & 18 deletions PrintScreen/PrintScreen.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{A7E52050-A979-480A-9D22-F8483B3DB538}</ProjectGuid>
<ProjectGuid>{4A5EEB1E-E92F-406E-901D-2706831BF5B4}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PrintScreen</RootNamespace>
<AssemblyName>PrintScreen</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -21,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -30,41 +32,31 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="ConfigurationData, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ConfigurationData.1.0.0\lib\net45\ConfigurationData.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="LowLevelControls, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\LowLevelControls.1.1.0\lib\net45\LowLevelControls.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="PortableConfiguration, Version=2.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\PortableConfiguration.2.1.0\lib\net45\PortableConfiguration.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="app.config" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
2 changes: 1 addition & 1 deletion PrintScreen/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using ConfigurationData;
using PortableConfiguration;
using llc = LowLevelControls;

namespace PrintScreen
Expand Down
14 changes: 7 additions & 7 deletions PrintScreen/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PrintScreen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("PrintScreen")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("a7e52050-a979-480a-9d22-f8483b3db538")]
[assembly: Guid("4a5eeb1e-e92f-406e-901d-2706831bf5b4")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
Expand Down
2 changes: 1 addition & 1 deletion PrintScreen/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ConfigurationData" version="1.0.0" targetFramework="net45" />
<package id="LowLevelControls" version="1.1.0" targetFramework="net45" />
<package id="PortableConfiguration" version="2.1.0" targetFramework="net45" />
</packages>

0 comments on commit d2bcef5

Please sign in to comment.