Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-addins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <llsan@microsoft.com>2021-07-14 20:16:46 +0300
committerLluis Sanchez <llsan@microsoft.com>2021-07-14 20:16:46 +0300
commit847c4a1b8c7631528024b8b7e583e31a0289f1ae (patch)
tree721457ca9decb1bf7b28e46bb03cb93805b50592 /Mono.Addins
parent69fb254622ad4aabaef822ac86ebe4070dfe6be5 (diff)
Move back to single targetting for now
Diffstat (limited to 'Mono.Addins')
-rw-r--r--Mono.Addins/Mono.Addins.csproj7
-rw-r--r--Mono.Addins/Mono.Addins/ConsoleProgressStatus.cs4
2 files changed, 7 insertions, 4 deletions
diff --git a/Mono.Addins/Mono.Addins.csproj b/Mono.Addins/Mono.Addins.csproj
index a7412b8..3134c5e 100644
--- a/Mono.Addins/Mono.Addins.csproj
+++ b/Mono.Addins/Mono.Addins.csproj
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
+ <Import Project="..\TargetFrameworks.props" />
<Import Project="..\Version.props" />
<PropertyGroup>
<ProjectGuid>{91DD5A2D-9FE3-4C3C-9253-876141874DAD}</ProjectGuid>
@@ -9,17 +10,15 @@
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\mono-addins.snk</AssemblyOriginatorKeyFile>
<ProductVersion>8.0.30703</ProductVersion>
- <TargetFrameworks>net461;net5.0</TargetFrameworks>
<PackageId>Mono.Addins</PackageId>
<Description>Mono.Addins is a framework for creating extensible applications, and for creating add-ins which extend applications.</Description>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
- <!--<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>-->
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
- <OutputPath>..\bin\net461</OutputPath>
+ <OutputPath>..\bin</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
@@ -30,7 +29,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>True</Optimize>
- <OutputPath>..\bin\net461</OutputPath>
+ <OutputPath>..\bin</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
diff --git a/Mono.Addins/Mono.Addins/ConsoleProgressStatus.cs b/Mono.Addins/Mono.Addins/ConsoleProgressStatus.cs
index 092028e..1b36943 100644
--- a/Mono.Addins/Mono.Addins/ConsoleProgressStatus.cs
+++ b/Mono.Addins/Mono.Addins/ConsoleProgressStatus.cs
@@ -34,7 +34,11 @@ namespace Mono.Addins
/// <summary>
/// An IProgressStatus class which writes output to the console.
/// </summary>
+#if NETFRAMEWORK
public class ConsoleProgressStatus: MarshalByRefObject, IProgressStatus
+#else
+ public class ConsoleProgressStatus : IProgressStatus
+#endif
{
bool canceled;
int logLevel;