mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-22 19:10:41 -10:00
* General cleanup and mono import Arcade in root * More cleanup and coreclr import Arcade root * Import Arcade root from libraries * Set informationversion for corelib * BuildArchitecture cleanup * Fix property name * Fix default target invocation of runtime.proj * specify tfm correctly * Remove unnecessary TestStrongNameKeyId * Revert TestStrongNameKeyId removal * Fix entrypoint target by using M.B.NoTargets * Fix reference assembly paths * PR feedback * Set Platform correctly * PR feedback and more cleanup * Move BaselineMicrosoftNetCoreAppPackageVersion * Fix reference to CoreLib * Fix OS calculation * Fix targets importing * Remove *TargetOS * Add RuntimeConfiguration doc * Change conditions in root msbuild files * installer test fixes * Cleanup * More cleanup because of well defined entrypoint * Don't import D.B.* from installer tests at all * Rename fix * Include explicit reference to mscorlib in ilproj * Update eng/restore/docs.targets Co-authored-by: Jan Kotas <[email protected]> * Revert some installer test changes * Installer test fix again * Disable EOL tfm check for installer tests * Set platform later for installer Co-authored-by: Jan Kotas <[email protected]>
47 lines
1.8 KiB
XML
47 lines
1.8 KiB
XML
<Project>
|
|
|
|
<ItemGroup>
|
|
<PackageDownload Include="Microsoft.Private.Intellisense" Version="[$(MicrosoftPrivateIntellisenseVersion)]" />
|
|
</ItemGroup>
|
|
|
|
<!-- the intellisense package doesn't use nuget conventions so we need to select manually -->
|
|
<Target Name="GetDocFiles"
|
|
AfterTargets="Restore">
|
|
|
|
<ItemGroup>
|
|
<DocFile Include="$(XmlDocFileRoot)**\*.xml"/>
|
|
<DocFile>
|
|
<!-- trim off slash since it differs by platform and we need to do a string compare -->
|
|
<LCID>$([System.String]::new('%(RecursiveDir)').TrimEnd('\/'))</LCID>
|
|
</DocFile>
|
|
<DocFile>
|
|
<!-- map LCID to culture name that VS expects -->
|
|
<Culture>unknown</Culture>
|
|
<Culture Condition="'%(LCID)' == '1028'">zh-hant/</Culture>
|
|
<Culture Condition="'%(LCID)' == '1031'">de/</Culture>
|
|
<!-- english is placed in the root -->
|
|
<Culture Condition="'%(LCID)' == '1033'"></Culture>
|
|
<Culture Condition="'%(LCID)' == '1036'">fr/</Culture>
|
|
<Culture Condition="'%(LCID)' == '1040'">it/</Culture>
|
|
<Culture Condition="'%(LCID)' == '1041'">ja/</Culture>
|
|
<Culture Condition="'%(LCID)' == '1042'">ko/</Culture>
|
|
<Culture Condition="'%(LCID)' == '1049'">ru/</Culture>
|
|
<Culture Condition="'%(LCID)' == '2052'">zh-hans/</Culture>
|
|
<Culture Condition="'%(LCID)' == '3082'">es/</Culture>
|
|
</DocFile>
|
|
<DocFile>
|
|
<SubFolder>%(Culture)/</SubFolder>
|
|
</DocFile>
|
|
</ItemGroup>
|
|
|
|
<Error Condition="'%(DocFile.Culture)' == 'unknown'" Text="Unknown language folder '%(LCID)' for doc files '@(DocFile)'" />
|
|
|
|
<Copy SourceFiles="@(DocFile)"
|
|
DestinationFiles="$(XmlDocDir)\%(SubFolder)%(FileName)%(Extension)"
|
|
SkipUnchangedFiles="true"
|
|
UseHardlinksIfPossible="true" />
|
|
|
|
</Target>
|
|
|
|
</Project>
|