diff options
-rw-r--r-- | Directory.Build.props | 12 | ||||
-rw-r--r-- | Xwt.XamMac/Xwt.XamMac.csproj | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Directory.Build.props b/Directory.Build.props index a4dfa642..cc3592b8 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,19 +1,19 @@ <Project> + <Import Project="$(MSBuildThisFileDirectory)..\..\msbuild\NetCore.props" Condition="Exists('$(MSBuildThisFileDirectory)..\..\msbuild\NetCore.props')" /> <PropertyGroup> <InMonoDevelopTree>False</InMonoDevelopTree> - <Net6>False</Net6> + <NetCore>False</NetCore> <InMonoDevelopTree Condition="Exists('$(MSBuildThisFileDirectory)..\..\msbuild\MonoDevelop.AfterCommon.props')">True</InMonoDevelopTree> - <Net6 Condition="Exists('$(MSBuildThisFileDirectory)..\..\msbuild\Net6.props')">True</Net6> + <NetCore Condition="Exists('$(MSBuildThisFileDirectory)..\..\msbuild\NetCore.props')">True</NetCore> <DotNetFrameworkTarget>net461</DotNetFrameworkTarget> <DotNetCoreTarget>netstandard2.0</DotNetCoreTarget> - <MacTargetFramework Condition="!$(Net6)">$(DotNetFrameworkTarget)</MacTargetFramework> - <MacTargetFramework Condition="$(Net6)">net6.0-macos</MacTargetFramework> + <MacTargetFramework Condition="!$(NetCore)">$(DotNetFrameworkTarget)</MacTargetFramework> - <TargetFramework Condition="!$(Net6)">$(DotNetFrameworkTarget)</TargetFramework> - <TargetFramework Condition="$(Net6)">$(DotNetCoreTarget)</TargetFramework> + <TargetFramework Condition="!$(NetCore)">$(DotNetFrameworkTarget)</TargetFramework> + <TargetFramework Condition="$(NetCore)">$(DotNetCoreTarget)</TargetFramework> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> </PropertyGroup> diff --git a/Xwt.XamMac/Xwt.XamMac.csproj b/Xwt.XamMac/Xwt.XamMac.csproj index c170efe0..d2c1aaf6 100644 --- a/Xwt.XamMac/Xwt.XamMac.csproj +++ b/Xwt.XamMac/Xwt.XamMac.csproj @@ -39,7 +39,7 @@ <AllowUnsafeBlocks>True</AllowUnsafeBlocks> <DebugSymbols>true</DebugSymbols> </PropertyGroup> - <PropertyGroup Condition="!$(Net6)"> + <PropertyGroup Condition="!$(NetCore)"> <XamMacPath>\Library\Frameworks\Xamarin.Mac.framework\Versions\Current\lib\x86_64\full\Xamarin.Mac.dll</XamMacPath> <XamMacPath Condition="Exists('\Library\Frameworks\Xamarin.Mac.framework\Versions\Current\lib\64bits\full\Xamarin.Mac.dll')">\Library\Frameworks\Xamarin.Mac.framework\Versions\Current\lib\64bits\full\Xamarin.Mac.dll</XamMacPath> <XamMacPath Condition="Exists('$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\Xamarin.Mac\v2.0\Xamarin.Mac.dll')">$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\Xamarin.Mac\v2.0\Xamarin.Mac.dll</XamMacPath> @@ -52,7 +52,7 @@ <Reference Include="System.Core" /> <Reference Include="System.Xml.Linq" /> <Reference Include="System.Drawing" /> - <Reference Include="Xamarin.Mac" Condition="!$(Net6)"> + <Reference Include="Xamarin.Mac" Condition="!$(NetCore)"> <HintPath>$(XamMacPath)</HintPath> </Reference> </ItemGroup> |