Change project type to .NET Standard 2.0

This commit is contained in:
Vasily Vasilyev 2019-05-14 01:44:44 +03:00
parent 7fc51c52a2
commit f3283dcfde
8 changed files with 46 additions and 228 deletions

View File

@ -1,11 +1,11 @@
 
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15 # Visual Studio Version 16
VisualStudioVersion = 15.0.27428.2043 VisualStudioVersion = 16.0.28803.352
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamStorefrontAPI", "SteamStorefrontAPI\SteamStorefrontAPI.csproj", "{76131ABE-46BD-4A82-B5E6-F29A47F2F64D}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SteamStorefrontAPI", "SteamStorefrontAPI\SteamStorefrontAPI.csproj", "{AED73BCF-9F95-4E7D-A733-138CAA43CAD8}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamStorefrontConsole", "SteamStorefrontConsole\SteamStorefrontConsole.csproj", "{44AAB32B-8986-48E0-8A08-42CE967D01F4}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamStorefrontConsole", "SteamStorefrontConsole\SteamStorefrontConsole.csproj", "{E3B3869C-0D49-4602-92D9-449436E57432}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -13,19 +13,19 @@ Global
Release|Any CPU = Release|Any CPU Release|Any CPU = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{76131ABE-46BD-4A82-B5E6-F29A47F2F64D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {AED73BCF-9F95-4E7D-A733-138CAA43CAD8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{76131ABE-46BD-4A82-B5E6-F29A47F2F64D}.Debug|Any CPU.Build.0 = Debug|Any CPU {AED73BCF-9F95-4E7D-A733-138CAA43CAD8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{76131ABE-46BD-4A82-B5E6-F29A47F2F64D}.Release|Any CPU.ActiveCfg = Release|Any CPU {AED73BCF-9F95-4E7D-A733-138CAA43CAD8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{76131ABE-46BD-4A82-B5E6-F29A47F2F64D}.Release|Any CPU.Build.0 = Release|Any CPU {AED73BCF-9F95-4E7D-A733-138CAA43CAD8}.Release|Any CPU.Build.0 = Release|Any CPU
{44AAB32B-8986-48E0-8A08-42CE967D01F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E3B3869C-0D49-4602-92D9-449436E57432}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{44AAB32B-8986-48E0-8A08-42CE967D01F4}.Debug|Any CPU.Build.0 = Debug|Any CPU {E3B3869C-0D49-4602-92D9-449436E57432}.Debug|Any CPU.Build.0 = Debug|Any CPU
{44AAB32B-8986-48E0-8A08-42CE967D01F4}.Release|Any CPU.ActiveCfg = Release|Any CPU {E3B3869C-0D49-4602-92D9-449436E57432}.Release|Any CPU.ActiveCfg = Release|Any CPU
{44AAB32B-8986-48E0-8A08-42CE967D01F4}.Release|Any CPU.Build.0 = Release|Any CPU {E3B3869C-0D49-4602-92D9-449436E57432}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C016A781-9FB1-414A-882E-7321F301D749} SolutionGuid = {A132F260-B756-43DE-92F8-D9C52E43154F}
EndGlobalSection EndGlobalSection
EndGlobal EndGlobal

View File

@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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("SteamStorefrontAPI")]
[assembly: AssemblyDescription("A .NET wrapper for the Steam Storefront API")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Michael Kellner")]
[assembly: AssemblyProduct("SteamStorefrontAPI")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[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
// 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("76131abe-46bd-4a82-b5e6-f29a47f2f64d")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// 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.2.*")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -1,80 +1,22 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk">
<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> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <TargetFramework>netstandard2.0</TargetFramework>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Company />
<ProjectGuid>{76131ABE-46BD-4A82-B5E6-F29A47F2F64D}</ProjectGuid> <PackageId>SteamStorefrontAPI.NETStandard</PackageId>
<OutputType>Library</OutputType> <Authors>Michael Kellner, Vasily Vasilyev</Authors>
<AppDesignerFolder>Properties</AppDesignerFolder> <Description>SteamStorefrontAPI port to .NET Standard 2.0.
<RootNamespace>SteamStorefrontAPI</RootNamespace>
<AssemblyName>SteamStorefrontAPI</AssemblyName> The SteamStorefrontAPI is a .NET wrapper for the steam storefront api which is exposed via Steam Big Picture. The API is not officially available or documented, all data in this library was either compiled by trial and error from the inofficial api documentation, and is therefore provided as-is.</Description>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> <RepositoryUrl></RepositoryUrl>
<FileAlignment>512</FileAlignment> <PackageTags>api-wrapper, steam-api, valve, steam</PackageTags>
<TargetFrameworkProfile /> <Product>SteamStorefrontAPI.NETStandard</Product>
</PropertyGroup> <PackageLicenseExpression></PackageLicenseExpression>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PackageProjectUrl>https://github.com/Vasar007/SteamStorefrontAPI</PackageProjectUrl>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<HintPath>..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<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>
<ItemGroup>
<Compile Include="Classes\featuredcategories\FeaturedCategory.cs" /> </Project>
<Compile Include="Classes\common\Converters.cs" />
<Compile Include="Classes\packagedetails\FullGamepadSupport.cs" />
<Compile Include="Classes\packagedetails\PackageApp.cs" />
<Compile Include="Classes\packagedetails\PackageInfo.cs" />
<Compile Include="Endpoints\PackageDetails.cs" />
<Compile Include="Endpoints\FeaturedCategories.cs" />
<Compile Include="Endpoints\Featured.cs" />
<Compile Include="Endpoints\AppDetails.cs" />
<Compile Include="Classes\common\ReleaseDate.cs" />
<Compile Include="Classes\appdetails\Recommendations.cs" />
<Compile Include="Classes\common\PriceOverview.cs" />
<Compile Include="Classes\common\Platforms.cs" />
<Compile Include="Classes\appdetails\Requirements.cs" />
<Compile Include="Classes\appdetails\PackageGroup.cs" />
<Compile Include="Classes\appdetails\Movie.cs" />
<Compile Include="Classes\common\Genre.cs" />
<Compile Include="Classes\appdetails\Category.cs" />
<Compile Include="Classes\appdetails\Highlighted.cs" />
<Compile Include="Classes\appdetails\Achievements.cs" />
<Compile Include="Classes\common\AppInfo.cs" />
<Compile Include="Classes\featured\FeaturedApps.cs" />
<Compile Include="Classes\appdetails\Sub.cs" />
<Compile Include="Classes\appdetails\SupportInfo.cs" />
<Compile Include="Classes\appdetails\Screenshot.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Classes\appdetails\SteamApp.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -6,11 +6,16 @@
<title>$title$</title> <title>$title$</title>
<authors>$author$</authors> <authors>$author$</authors>
<owners>$author$</owners> <owners>$author$</owners>
<licenseUrl>https://github.com/mmuffins/SteamStorefrontAPI/blob/master/LICENSE.md</licenseUrl> <licenseUrl>https://github.com/Vasar007/SteamStorefrontAPI/blob/master/LICENSE.md</licenseUrl>
<projectUrl>https://github.com/mmuffins/SteamStorefrontAPI</projectUrl> <projectUrl>$projectUrl$</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance> <requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description> <description>$description$</description>
<copyright>$copyright$</copyright> <copyright>$copyright$</copyright>
<tags>steam steam-api api-wrapper valve</tags> <tags>$tags$</tags>
<dependencies>
<group targetFramework=".NETStandard2.0">
<dependency id="Newtonsoft.Json" version="11.0.2" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata> </metadata>
</package> </package>

View File

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net471" />
</packages>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
</startup>
</configuration>

View File

@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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("SteamStorefrontConsole")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SteamStorefrontConsole")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[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
// 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("44aab32b-8986-48e0-8a08-42ce967d01f4")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// 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.*")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -1,59 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk">
<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> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{44AAB32B-8986-48E0-8A08-42CE967D01F4}</ProjectGuid>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<RootNamespace>SteamStorefrontConsole</RootNamespace> <TargetFramework>netcoreapp2.2</TargetFramework>
<AssemblyName>SteamStorefrontConsole</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System" /> <ProjectReference Include="..\SteamStorefrontAPI\SteamStorefrontAPI.csproj" />
<Reference Include="System.Core" />
<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>
<ItemGroup>
<Compile Include="Program.cs" /> </Project>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SteamStorefrontAPI\SteamStorefrontAPI.csproj">
<Project>{76131abe-46bd-4a82-b5e6-f29a47f2f64d}</Project>
<Name>SteamStorefrontAPI</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>