Skip to content

Commit

Permalink
update sample to .net core
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnKiller committed Nov 14, 2024
1 parent ab06f80 commit 021f8cc
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 110 deletions.
14 changes: 7 additions & 7 deletions Anviz.sln
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29123.88
# Visual Studio Version 17
VisualStudioVersion = 17.12.35506.116 d17.12
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Anviz.SDK", "Anviz.SDK\Anviz.SDK.csproj", "{30099B6A-183A-4003-8449-8F36A06462BA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sample", "Sample\Sample.csproj", "{48CEE557-217C-4B51-9538-8372526008FF}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sample", "Sample\Sample.csproj", "{1BA0CA88-D756-4B46-B4B5-41C778CDDBAB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -17,10 +17,10 @@ Global
{30099B6A-183A-4003-8449-8F36A06462BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{30099B6A-183A-4003-8449-8F36A06462BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{30099B6A-183A-4003-8449-8F36A06462BA}.Release|Any CPU.Build.0 = Release|Any CPU
{48CEE557-217C-4B51-9538-8372526008FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{48CEE557-217C-4B51-9538-8372526008FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{48CEE557-217C-4B51-9538-8372526008FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{48CEE557-217C-4B51-9538-8372526008FF}.Release|Any CPU.Build.0 = Release|Any CPU
{1BA0CA88-D756-4B46-B4B5-41C778CDDBAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1BA0CA88-D756-4B46-B4B5-41C778CDDBAB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1BA0CA88-D756-4B46-B4B5-41C778CDDBAB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1BA0CA88-D756-4B46-B4B5-41C778CDDBAB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
6 changes: 0 additions & 6 deletions Sample/App.config

This file was deleted.

3 changes: 0 additions & 3 deletions Sample/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Anviz.SDK;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Sample
{
Expand Down
35 changes: 0 additions & 35 deletions Sample/Properties/AssemblyInfo.cs

This file was deleted.

73 changes: 14 additions & 59 deletions Sample/Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,59 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<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>{48CEE557-217C-4B51-9538-8372526008FF}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>Sample</RootNamespace>
<AssemblyName>Sample</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</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>
<ItemGroup>
<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>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Anviz.SDK\Anviz.SDK.csproj">
<Project>{30099b6a-183a-4003-8449-8f36a06462ba}</Project>
<Name>Anviz.SDK</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Anviz.SDK\Anviz.SDK.csproj" />
</ItemGroup>

</Project>

0 comments on commit 021f8cc

Please sign in to comment.