Skip to content

Commit

Permalink
Move back to single targetting for now
Browse files Browse the repository at this point in the history
  • Loading branch information
slluis committed Jul 14, 2021
1 parent 69fb254 commit 847c4a1
Show file tree
Hide file tree
Showing 17 changed files with 23 additions and 29 deletions.
3 changes: 1 addition & 2 deletions Mono.Addins.CecilReflector/Mono.Addins.CecilReflector.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\TargetFrameworks.props" />
<Import Project="..\Version.props" />
<PropertyGroup>
<ProjectGuid>{42D1CE65-A14B-4218-B787-58AD7AA68513}</ProjectGuid>
<OutputType>Library</OutputType>
<AssemblyName>Mono.Addins.CecilReflector</AssemblyName>
<RootNamespace>Mono.Addins.CecilReflector</RootNamespace>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>Mono.Addins.CecilReflector</PackageId>
<Description>Mono.Addins is a framework for creating extensible applications, and for creating add-ins which extend applications. Mono.Addins.Setup provides an API for managing add-ins, creating add-in packages and publishing add-ins in on-line repositories.</Description>
<ProductVersion>8.0.30703</ProductVersion>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\mono-addins.snk</AssemblyOriginatorKeyFile>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down
1 change: 0 additions & 1 deletion Mono.Addins.Gui/Mono.Addins.Gui.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<Import Project="..\TargetFrameworks.props" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand Down
3 changes: 1 addition & 2 deletions Mono.Addins.MSBuild/Mono.Addins.MSBuild.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\TargetFrameworks.props" />
<PropertyGroup>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
Expand All @@ -9,9 +10,7 @@
<RootNamespace>Mono.Addins.MSBuild</RootNamespace>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\mono-addins.snk</AssemblyOriginatorKeyFile>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down
10 changes: 8 additions & 2 deletions Mono.Addins.Setup/Mono.Addins.Setup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
<SchemaVersion>2.0</SchemaVersion>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<TargetFramework>netstandard2.0</TargetFramework>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down Expand Up @@ -49,5 +47,13 @@
<Private>False</Private>
</ProjectReference>
<PackageReference Include="NuGet.Build.Packaging" Version="0.2.0" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Collections.NonGeneric" Version="4.3.0" />
<PackageReference Include="System.Collections.Specialized" Version="4.3.0" />
</ItemGroup>
<ItemGroup>
<None Remove="System.Net.Http" />
<None Remove="System.Collections.NonGeneric" />
<None Remove="System.Collections.Specialized" />
</ItemGroup>
</Project>
7 changes: 3 additions & 4 deletions Mono.Addins/Mono.Addins.csproj
Original file line number Diff line number Diff line change
@@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand Down
4 changes: 4 additions & 0 deletions Mono.Addins/Mono.Addins/ConsoleProgressStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 4 additions & 2 deletions TargetFrameworks.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<Project>
<PropertyGroup>
<InMonoDevelopTree Condition="Exists('$(MSBuildThisFileDirectory)..\..\msbuild\MonoDevelop.AfterCommon.props')">true</InMonoDevelopTree>
<TargetFramework>net461</TargetFramework>
<TargetFramework Condition=" '$(InMonoDevelopTree)' == 'true' ">net461</TargetFramework>
<DotNetFrameworkTarget>net461</DotNetFrameworkTarget>
<DotNetCoreTarget>netstandard2.0</DotNetCoreTarget>
<TargetFrameworks>$(DotNetFrameworkTarget)</TargetFrameworks>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
</Project>
1 change: 0 additions & 1 deletion Test/CommandExtension/CommandExtension.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<AssemblyName>CommandExtension</AssemblyName>
<SchemaVersion>2.0</SchemaVersion>
<RootNamespace>CommandExtension</RootNamespace>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
1 change: 0 additions & 1 deletion Test/FileContentExtension/FileContentExtension.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<AssemblyName>FileContentExtension</AssemblyName>
<SchemaVersion>2.0</SchemaVersion>
<RootNamespace>FileContentExtension</RootNamespace>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
1 change: 0 additions & 1 deletion Test/FileExtender/FileExtender.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<AssemblyName>FileExtender</AssemblyName>
<SchemaVersion>2.0</SchemaVersion>
<RootNamespace>FileExtender</RootNamespace>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
1 change: 0 additions & 1 deletion Test/GuiTester/GuiTester.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<OutputType>WinExe</OutputType>
<RootNamespace>GuiTester</RootNamespace>
<AssemblyName>GuiTester</AssemblyName>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
4 changes: 2 additions & 2 deletions Test/HelloWorldExtension/HelloWorldExtension.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk"> <Import Project="..\..\TargetFrameworks.props" />
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\TargetFrameworks.props" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -9,7 +10,6 @@
<AssemblyName>HelloWorldExtension</AssemblyName>
<SchemaVersion>2.0</SchemaVersion>
<RootNamespace>HelloWorldExtension</RootNamespace>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
1 change: 0 additions & 1 deletion Test/MultiAssemblyAddin/MultiAssemblyAddin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<OutputType>Library</OutputType>
<RootNamespace>MultiAssemblyAddin</RootNamespace>
<AssemblyName>MultiAssemblyAddin</AssemblyName>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<OutputType>Library</OutputType>
<RootNamespace>OptionalModule</RootNamespace>
<AssemblyName>OptionalModule</AssemblyName>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<OutputType>Library</OutputType>
<RootNamespace>SecondAssembly</RootNamespace>
<AssemblyName>SecondAssembly</AssemblyName>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
1 change: 0 additions & 1 deletion Test/SystemInfoExtension/SystemInfoExtension.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<AssemblyName>SystemInfoExtension</AssemblyName>
<SchemaVersion>2.0</SchemaVersion>
<RootNamespace>SystemInfoExtension</RootNamespace>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
6 changes: 0 additions & 6 deletions Test/UnitTests/UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<RootNamespace>UnitTests</RootNamespace>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\mono-addins.snk</AssemblyOriginatorKeyFile>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand All @@ -34,11 +33,6 @@
<ProjectReference Include="..\..\Mono.Addins\Mono.Addins.csproj" />
<ProjectReference Include="..\..\Mono.Addins.CecilReflector\Mono.Addins.CecilReflector.csproj" />
<ProjectReference Include="..\..\Mono.Addins.Setup\Mono.Addins.Setup.csproj" />
<ProjectReference Include="..\..\Mono.Addins.SetupProcess\Mono.Addins.SetupProcess.csproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<!-- Workaround for build error - https://github.com/dotnet/msbuild/issues/2661 -->
<SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="SimpleApp.addin.xml">
Expand Down

0 comments on commit 847c4a1

Please sign in to comment.