Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
Merge pull request #5711 from joperezr/RestoreMSBuild
Browse files Browse the repository at this point in the history
Use .Net Core MSBuild for OS X and Linux Builds
  • Loading branch information
joperezr committed Jan 28, 2016
2 parents 9bf3e86 + 4367ec4 commit ab6ec2f
Show file tree
Hide file tree
Showing 34 changed files with 78 additions and 71 deletions.
2 changes: 1 addition & 1 deletion BuildToolsVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.25-prerelease-00156
1.0.25-prerelease-00157
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ build_managed_corefx()
__buildproj=$__scriptpath/build.proj
__buildlog=$__scriptpath/msbuild.log

MONO29679=1 ReferenceAssemblyRoot=$__referenceassemblyroot mono $__msbuildpath "$__buildproj" /nologo /verbosity:minimal "/fileloggerparameters:Verbosity=normal;LogFile=$__buildlog" /t:Build /p:OSGroup=$__BuildOS /p:COMPUTERNAME=$(hostname) /p:USERNAME=$(id -un) /p:TestNugetRuntimeId=$__TestNugetRuntimeId /p:ToolNugetRuntimeId=$__TestNugetRuntimeId $__UnprocessedBuildArgs
ReferenceAssemblyRoot=$__referenceassemblyroot $__scriptpath/Tools/corerun $__scriptpath/Tools/MSBuild.exe "$__buildproj" /nologo /verbosity:minimal "/fileloggerparameters:Verbosity=normal;LogFile=$__buildlog" /t:Build /p:OSGroup=$__BuildOS /p:COMPUTERNAME=$(hostname) /p:USERNAME=$(id -un) /p:TestNugetRuntimeId=$__TestNugetRuntimeId /p:ToolNugetRuntimeId=$__TestNugetRuntimeId $__UnprocessedBuildArgs
BUILDERRORLEVEL=$?

echo
Expand Down
41 changes: 24 additions & 17 deletions dir.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
$(OS) is set to Unix/Windows_NT. This comes from an environment variable on Windows and MSBuild on Unix.
-->
<PropertyGroup>
<!-- Temp change to make OS X build behave as a Linux build -->
<OsEnvironment Condition="'$(OsEnvironment)'=='' AND '$(OS)'=='OSX'">Unix</OsEnvironment>
<OsEnvironment Condition="'$(OsEnvironment)'==''">$(OS)</OsEnvironment>
</PropertyGroup>

Expand Down Expand Up @@ -35,7 +37,7 @@
<!-- Common repo directories -->
<PropertyGroup>
<ProjectDir>$(MSBuildThisFileDirectory)</ProjectDir>
<SourceDir>$(ProjectDir)src\</SourceDir>
<SourceDir>$(ProjectDir)src/</SourceDir>

<!-- Output directories -->
<BinDir Condition="'$(BinDir)'==''">$(ProjectDir)bin/</BinDir>
Expand Down Expand Up @@ -120,28 +122,27 @@
<!-- Need to escape double forward slash (%2F) or MSBuild will normalize to one slash on Unix. -->

<DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-core/" />
<DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-coreclr/" />
<DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-corefxtestdata/" />
<DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-buildtools/" />
<DnuSourceList Include="https:%2F%2Fwww.nuget.org/api/v2/" />
</ItemGroup>

<!-- list of directories to perform batch restore -->
<ItemGroup>
<DnuRestoreDir Include="$(MSBuildProjectDirectory)\src" />
<DnuRestoreDir Include="$(MSBuildProjectDirectory)/src" />
<DnuRestoreDir Include="$(ToolsDir)" />
<!-- workaround to address issue where DNX won't recurse directories under a project.json
https://github.com/aspnet/dnx/commit/0dda8bf86863364cc20421f1af7494f1b2a3256f -->
<DnuRestoreDir Include="$(MSBuildProjectDirectory)\src\*\src\**\project.json" />
<DnuRestoreDir Include="$(MSBuildProjectDirectory)\src\*\ref\*\project.json" />
<DnuRestoreDir Include="$(MSBuildProjectDirectory)\src\*\tests\*\project.json" />
<DnuRestoreDir Include="$(MSBuildProjectDirectory)\src\*\*\netcore50aot\project.json" />
<DnuRestoreDir Include="$(MSBuildProjectDirectory)\src\Common\tests\**\project.json" />
<DnuRestoreDir Include="$(MSBuildProjectDirectory)/src/*/src/**/project.json" />
<DnuRestoreDir Include="$(MSBuildProjectDirectory)/src/*/ref/*/project.json" />
<DnuRestoreDir Include="$(MSBuildProjectDirectory)/src/*/tests/*/project.json" />
<DnuRestoreDir Include="$(MSBuildProjectDirectory)/src/*/*/netcore50aot/project.json" />
<DnuRestoreDir Include="$(MSBuildProjectDirectory)/src/Common/tests/**/project.json" />
</ItemGroup>

<PropertyGroup>
<DnxPackageDir Condition="'$(DnxPackageDir)'==''">$(PackagesDir)/$(DnxPackageName)/</DnxPackageDir>
<DnuToolPath Condition="'$(DnuToolPath)'=='' and '$(OsEnvironment)'!='Unix'">$(DnxPackageDir)\bin\dnu.cmd</DnuToolPath>
<DnuToolPath Condition="'$(DnuToolPath)'=='' and '$(OsEnvironment)'!='Unix'">$(DnxPackageDir)/bin/dnu.cmd</DnuToolPath>
<DnuToolPath Condition="'$(DnuToolPath)'=='' and '$(OsEnvironment)'=='Unix'">$(DnxPackageDir)/bin/dnu</DnuToolPath>
<DotnetToolCommand Condition="'$(DotnetToolCommand)' == '' and '$(OsEnvironment)'!='Unix'">$(DotnetCliPath)dotnet.exe</DotnetToolCommand>
<DotnetToolCommand Condition="'$(DotnetToolCommand)' == '' and '$(OsEnvironment)'=='Unix'">$(DotnetCliPath)dotnet</DotnetToolCommand>
Expand All @@ -158,7 +159,7 @@

<!-- Create a collection of all project.json files for dependency updates. -->
<ItemGroup>
<ProjectJsonFiles Include="$(SourceDir)**\project.json" />
<ProjectJsonFiles Include="$(SourceDir)**/project.json" />
</ItemGroup>

<PropertyGroup Condition="'$(BuildAllProjects)'=='true'">
Expand Down Expand Up @@ -186,6 +187,12 @@
-->
<UseECMAKey>false</UseECMAKey>

<!--
Full signing with Open key doesn't work with Portable Csc.
https://github.com/dotnet/roslyn/issues/8210
-->
<UseOpenKey>false</UseOpenKey>

<!--
Mono currently doesn't include VB targets for portable, notably /lib/mono/xbuild/Microsoft/Portable/v4.5/Microsoft.Portable.VisualBasic.targets.
Fixed in https://github.com/mono/mono/pull/1726.
Expand Down Expand Up @@ -414,23 +421,23 @@

<!-- Set up some common paths -->
<PropertyGroup>
<CommonPath>$(SourceDir)Common\src</CommonPath>
<CommonTestPath>$(SourceDir)Common\tests</CommonTestPath>
<CommonPath>$(SourceDir)Common/src</CommonPath>
<CommonTestPath>$(SourceDir)Common/tests</CommonTestPath>
</PropertyGroup>

<!-- Set up the default output and intermediate paths -->
<PropertyGroup>
<OSPlatformConfig>$(OSGroup).$(Platform).$(ConfigurationGroup)</OSPlatformConfig>
<TargetOutputRelPath Condition="'$(TargetGroup)'!=''">$(TargetGroup)\</TargetOutputRelPath>
<TargetOutputRelPath Condition="'$(TargetGroup)'!=''">$(TargetGroup)/</TargetOutputRelPath>

<BaseOutputPath Condition="'$(BaseOutputPath)'==''">$(BinDir)</BaseOutputPath>
<OutputPath Condition="'$(OutputPath)'==''">$(BaseOutputPath)$(OSPlatformConfig)\$(MSBuildProjectName)\$(TargetOutputRelPath)</OutputPath>
<OutputPath Condition="'$(OutputPath)'==''">$(BaseOutputPath)$(OSPlatformConfig)/$(MSBuildProjectName)/$(TargetOutputRelPath)</OutputPath>

<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'==''">$(ObjDir)</BaseIntermediateOutputPath>
<IntermediateOutputRootPath Condition="'$(IntermediateOutputRootPath)' == ''">$(BaseIntermediateOutputPath)$(OSPlatformConfig)\</IntermediateOutputRootPath>
<IntermediateOutputPath Condition="'$(IntermediateOutputPath)' == ''">$(IntermediateOutputRootPath)$(MSBuildProjectName)\$(TargetOutputRelPath)</IntermediateOutputPath>
<IntermediateOutputRootPath Condition="'$(IntermediateOutputRootPath)' == ''">$(BaseIntermediateOutputPath)$(OSPlatformConfig)/</IntermediateOutputRootPath>
<IntermediateOutputPath Condition="'$(IntermediateOutputPath)' == ''">$(IntermediateOutputRootPath)$(MSBuildProjectName)/$(TargetOutputRelPath)</IntermediateOutputPath>

<TestPath Condition="'$(TestPath)'==''">$(TestWorkingDir)$(OSPlatformConfig)\$(MSBuildProjectName)\</TestPath>
<TestPath Condition="'$(TestPath)'==''">$(TestWorkingDir)$(OSPlatformConfig)/$(MSBuildProjectName)/</TestPath>

<PackagesBasePath Condition="'$(PackagesBasePath)'==''">$(BinDir)$(OSPlatformConfig)</PackagesBasePath>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions init-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ if [ ! -e $__PROJECT_JSON_FILE ]; then
fi

sh $__BUILD_TOOLS_PATH/init-tools.sh $__scriptpath $__DOTNET_CMD $__TOOLRUNTIME_DIR
chmod a+x $__TOOLRUNTIME_DIR/corerun
fi
2 changes: 1 addition & 1 deletion src/System.Buffers/src/System.Buffers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ProjectGuid>{2ADDB484-6F57-4D71-A3FE-A57EC6329A2B}</ProjectGuid>
<PackageTargetFramework>dotnet5.2</PackageTargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<UseOpenKey>true</UseOpenKey>
<UseOpenKey Condition="'$(UseOpenKey)'==''">true</UseOpenKey>
</PropertyGroup>
<!-- Default configurations to help VS understand the options -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net46_Release|AnyCPU'" />

<PropertyGroup Condition="'$(TargetGroup)' == 'netcore50aot'">
<ProjectJson>netcore50aot\project.json</ProjectJson>
<ProjectLockJson>netcore50aot\project.lock.json</ProjectLockJson>
<ProjectJson>netcore50aot/project.json</ProjectJson>
<ProjectLockJson>netcore50aot/project.lock.json</ProjectLockJson>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
<PackageTargetFramework>dotnet5.2</PackageTargetFramework>
<UseOpenKey>true</UseOpenKey>
<UseOpenKey Condition="'$(UseOpenKey)'==''">true</UseOpenKey>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
4 changes: 2 additions & 2 deletions src/System.Dynamic.Runtime/src/System.Dynamic.Runtime.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcore50aot_Release|AnyCPU'" />

<PropertyGroup Condition="'$(TargetGroup)' == 'netcore50aot'">
<ProjectJson>netcore50aot\project.json</ProjectJson>
<ProjectLockJson>netcore50aot\project.lock.json</ProjectLockJson>
<ProjectJson>netcore50aot/project.json</ProjectJson>
<ProjectLockJson>netcore50aot/project.lock.json</ProjectLockJson>
<DefineConstants>$(DefineConstants);FEATURE_DYNAMIC_DELEGATE</DefineConstants>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net46_Release|AnyCPU'" />

<PropertyGroup Condition="'$(TargetGroup)' == 'netcore50aot'">
<ProjectJson>netcore50aot\project.json</ProjectJson>
<ProjectLockJson>netcore50aot\project.lock.json</ProjectLockJson>
<ProjectJson>netcore50aot/project.json</ProjectJson>
<ProjectLockJson>netcore50aot/project.lock.json</ProjectLockJson>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/System.Globalization/src/System.Globalization.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net46_Release|AnyCPU'" />

<PropertyGroup Condition="'$(TargetGroup)' == 'netcore50aot'">
<ProjectJson>netcore50aot\project.json</ProjectJson>
<ProjectLockJson>netcore50aot\project.lock.json</ProjectLockJson>
<ProjectJson>netcore50aot/project.json</ProjectJson>
<ProjectLockJson>netcore50aot/project.lock.json</ProjectLockJson>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcore50_Release|AnyCPU'" />

<PropertyGroup Condition="'$(TargetGroup)' == 'netcore50aot'">
<ProjectJson>netcore50aot\project.json</ProjectJson>
<ProjectLockJson>netcore50aot\project.lock.json</ProjectLockJson>
<ProjectJson>netcore50aot/project.json</ProjectJson>
<ProjectLockJson>netcore50aot/project.lock.json</ProjectLockJson>
<DefineConstants>$(DefineConstants);FEATURE_DYNAMIC_DELEGATE</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(TargetGroup)' == 'netcore50aot'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<OutputType>Library</OutputType>
<AssemblyName>System.Net.Http.WinHttpHandler.Unit.Tests</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<StringResourcesPath>..\..\src\Resources\Strings.resx</StringResourcesPath>
<StringResourcesPath>../../src/Resources/Strings.resx</StringResourcesPath>
<UnsupportedPlatforms>Linux;OSX;FreeBSD</UnsupportedPlatforms>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<OutputType>Library</OutputType>
<RootNamespace>System.Net.Http.Unit.Tests</RootNamespace>
<AssemblyName>System.Net.Http.Unit.Tests</AssemblyName>
<StringResourcesPath>..\..\src\Resources\Strings.resx</StringResourcesPath>
<StringResourcesPath>../../src/Resources/Strings.resx</StringResourcesPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<OutputType>Library</OutputType>
<ProjectGuid>{F6D1C093-081D-46DE-B5A8-516533375FDD}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<StringResourcesPath>..\..\src\Resources\Strings.resx</StringResourcesPath>
<StringResourcesPath>../../src/Resources/Strings.resx</StringResourcesPath>
<UnsupportedPlatforms>FreeBSD</UnsupportedPlatforms>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ProjectGuid>{DCBB8805-4658-44BF-B5E8-B6714EC8936B}</ProjectGuid>
<OutputType>Library</OutputType>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ResourcesSourceOutputDirectory>..\..\src\Resources\</ResourcesSourceOutputDirectory>
<ResourcesSourceOutputDirectory>../../src/Resources/</ResourcesSourceOutputDirectory>
</PropertyGroup>
<!-- Help VS understand available configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{2194D6A2-1A35-46B5-8233-AEEBCBD31EF9}</ProjectGuid>
<OutputType>Library</OutputType>
<StringResourcesPath>..\..\src\Resources\Strings.resx</StringResourcesPath>
<StringResourcesPath>../../src/Resources/Strings.resx</StringResourcesPath>
</PropertyGroup>
<!-- Help VS understand available configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<OutputType>Library</OutputType>
<ProjectGuid>{7860A11A-1841-4416-8A30-28EEEB42C6BB}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<StringResourcesPath>..\..\src\Resources\Strings.resx</StringResourcesPath>
<StringResourcesPath>../../src/Resources/Strings.resx</StringResourcesPath>
</PropertyGroup>

<!-- Help VS understand available configurations -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ProjectGuid>{FCFF9C63-CE7A-476E-8241-7B7236FFDBFB}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>169,649</NoWarn>
<StringResourcesPath>..\..\src\Resources\Strings.resx</StringResourcesPath>
<StringResourcesPath>../../src/Resources/Strings.resx</StringResourcesPath>
</PropertyGroup>
<!-- Help VS understand available configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Linux_Debug|AnyCPU'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{851A40FE-7F07-415D-8592-5FE2096E84D3}</ProjectGuid>
<OutputType>Library</OutputType>
<StringResourcesPath>..\src\Resources\Strings.resx</StringResourcesPath>
<StringResourcesPath>../src/Resources/Strings.resx</StringResourcesPath>
</PropertyGroup>

<!-- Help VS understand available configurations -->
Expand Down
8 changes: 4 additions & 4 deletions src/System.Net.Security/src/System.Net.Security.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
<UsePackageTargetRuntimeDefaults>true</UsePackageTargetRuntimeDefaults>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetsWindows)' == 'true' and '$(ProjectJson)' == '' ">
<ProjectJson>win\project.json</ProjectJson>
<ProjectLockJson>win\project.lock.json</ProjectLockJson>
<ProjectJson>win/project.json</ProjectJson>
<ProjectLockJson>win/project.lock.json</ProjectLockJson>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetsUnix)' == 'true' and '$(ProjectJson)' == '' ">
<ProjectJson>unix\project.json</ProjectJson>
<ProjectLockJson>unix\project.lock.json</ProjectLockJson>
<ProjectJson>unix/project.json</ProjectJson>
<ProjectLockJson>unix/project.lock.json</ProjectLockJson>
</PropertyGroup>
<!-- Help VS understand available configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Linux_Debug|AnyCPU' " />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetsWindows)' == 'true' and '$(ProjectJson)' == '' ">
<ProjectJson>win\project.json</ProjectJson>
<ProjectLockJson>win\project.lock.json</ProjectLockJson>
<ProjectJson>win/project.json</ProjectJson>
<ProjectLockJson>win/project.lock.json</ProjectLockJson>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetsUnix)' == 'true' and '$(ProjectJson)' == '' ">
<ProjectJson>unix\project.json</ProjectJson>
<ProjectLockJson>unix\project.lock.json</ProjectLockJson>
<ProjectJson>unix/project.json</ProjectJson>
<ProjectLockJson>unix/project.lock.json</ProjectLockJson>
</PropertyGroup>

<!-- Help VS understand available configurations -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{0D174EA9-9E61-4519-8D31-7BD2331A1982}</ProjectGuid>
<OutputType>Library</OutputType>
<StringResourcesPath>..\..\src\Resources\Strings.resx</StringResourcesPath>
<StringResourcesPath>../../src/Resources/Strings.resx</StringResourcesPath>
</PropertyGroup>
<!-- Help VS understand available configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{7C395A91-D955-444C-98BF-D3F809A56CE1}</ProjectGuid>
<OutputType>Library</OutputType>
<StringResourcesPath>..\src\Resources\Strings.resx</StringResourcesPath>
<StringResourcesPath>../src/Resources/Strings.resx</StringResourcesPath>
<UnsupportedPlatforms>Linux;OSX</UnsupportedPlatforms>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcore50aot_Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcore50aot_Release|AnyCPU'" />
<PropertyGroup Condition="'$(TargetGroup)' == 'netcore50aot'">
<StringResourcesPath>Resources\Strings.netcore50aot.resx</StringResourcesPath>
<StringResourcesPath>Resources/Strings.netcore50aot.resx</StringResourcesPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="System\Reflection\Requires.cs" />
Expand Down
4 changes: 2 additions & 2 deletions src/System.Reflection/src/System.Reflection.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net46_Release|AnyCPU'" />

<PropertyGroup Condition="'$(TargetGroup)' == 'netcore50aot'">
<ProjectJson>netcore50aot\project.json</ProjectJson>
<ProjectLockJson>netcore50aot\project.lock.json</ProjectLockJson>
<ProjectJson>netcore50aot/project.json</ProjectJson>
<ProjectLockJson>netcore50aot/project.lock.json</ProjectLockJson>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net46_Release|AnyCPU'" />

<PropertyGroup Condition="'$(TargetGroup)' == 'netcore50aot'">
<ProjectJson>netcore50aot\project.json</ProjectJson>
<ProjectLockJson>netcore50aot\project.lock.json</ProjectLockJson>
<ProjectJson>netcore50aot/project.json</ProjectJson>
<ProjectLockJson>netcore50aot/project.lock.json</ProjectLockJson>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<NoWarn>$(NoWarn);1634;1691;649</NoWarn>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<FileAlignment>512</FileAlignment>
<DebugSymbols>true</DebugSymbols>
<PlatformTarget>AnyCPU</PlatformTarget>
<ProjectGuid>{CDF0ACB5-1361-4E48-8ECB-22E8022F5F01}</ProjectGuid>
<PackageTargetFramework Condition="'$(PackageTargetFramework)'==''">dotnet5.4</PackageTargetFramework>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net46_Release|AnyCPU'" />

<PropertyGroup Condition="'$(TargetGroup)' == 'netcore50aot'">
<ProjectJson>netcore50aot\project.json</ProjectJson>
<ProjectLockJson>netcore50aot\project.lock.json</ProjectLockJson>
<ProjectJson>netcore50aot/project.json</ProjectJson>
<ProjectLockJson>netcore50aot/project.lock.json</ProjectLockJson>
</PropertyGroup>

<ItemGroup Condition="'$(TargetGroup)' == 'netcore50aot'" >
Expand Down
Loading

0 comments on commit ab6ec2f

Please sign in to comment.