Skip to content

Commit

Permalink
Complete conversion to net core
Browse files Browse the repository at this point in the history
  • Loading branch information
xxbiohazrdxx committed Dec 6, 2021
1 parent 5d47b50 commit 41d2b22
Show file tree
Hide file tree
Showing 100 changed files with 44 additions and 3,014 deletions.
2 changes: 1 addition & 1 deletion AmpAPI/AmpAPI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\NewLib\MPRSGxZ.csproj" />
<ProjectReference Include="..\MPRSGxZ\MPRSGxZ.csproj" />
</ItemGroup>

</Project>
63 changes: 7 additions & 56 deletions AmpMonitor/AmpMonitor.csproj
Original file line number Diff line number Diff line change
@@ -1,61 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{4DBDB6BA-5F3B-4B00-968B-08E1FFA6ED43}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AmpMonitor</RootNamespace>
<AssemblyName>AmpMonitor</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFramework>netcoreapp3.1</TargetFramework>
</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.Runtime.Serialization" />
<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" />
<ProjectReference Include="..\MPRSGxZ\MPRSGxZ.csproj" />
</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>

</Project>
6 changes: 0 additions & 6 deletions AmpMonitor/App.config

This file was deleted.

8 changes: 4 additions & 4 deletions AmpMonitor/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ class Program

static void Main(string[] args)
{
AmpInterface = new AmplifierStack(@"COM3");
//AmpInterface = new AmplifierStack();
//AmpInterface = new AmplifierStack(@"COM3");
AmpInterface = new AmplifierStack();
AmpInterface.ZoneChanged += ZoneChanged;
AmpInterface.Open();

Expand All @@ -31,8 +31,8 @@ public static void ZoneChanged(ZoneChangedEventArgs e)
{
Console.SetCursorPosition(0, 0);

foreach(var CurrentAmp in AmpInterface.Amplifiers)
{
foreach (var CurrentAmp in AmpInterface.Amplifiers)
{
Console.BackgroundColor = ConsoleColor.DarkGreen;
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine($"==AMP {CurrentAmp.ID}=============================================");
Expand Down
36 changes: 0 additions & 36 deletions AmpMonitor/Properties/AssemblyInfo.cs

This file was deleted.

File renamed without changes.
20 changes: 20 additions & 0 deletions AmpTest/AmpTest.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0" />
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" />
<PackageReference Include="coverlet.collector" Version="1.2.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\MPRSGxZ\MPRSGxZ.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
File renamed without changes.
89 changes: 0 additions & 89 deletions AmplifierTests/AmplifierTests.csproj

This file was deleted.

36 changes: 0 additions & 36 deletions AmplifierTests/Properties/AssemblyInfo.cs

This file was deleted.

53 changes: 0 additions & 53 deletions MPRSGxZ.backup/AnalysisReport.sarif

This file was deleted.

Loading

0 comments on commit 41d2b22

Please sign in to comment.