mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
43 lines
2 KiB
XML
43 lines
2 KiB
XML
<Project>
|
|
|
|
<ItemGroup>
|
|
<CommonPackage Include="Cosmos.Build.Common" ProjectPath="source\Cosmos.Build.Common\Cosmos.Build.Common.csproj" />
|
|
<CommonPackage Include="VSPropertyPages" ProjectPath="source\VSPropertyPages\VSPropertyPages.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<InternalPackage Include="@(CommonPackage)" Version="$(CommonVersion)" RepoRoot="$(CommonRepoRoot)" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<IL2CPUPackage Include="IL2CPU.API" ProjectPath="source\IL2CPU.API\IL2CPU.API.csproj" />
|
|
<IL2CPUPackage Include="IL2CPU.Debug.Symbols" ProjectPath="source\IL2CPU.Debug.Symbols\IL2CPU.Debug.Symbols.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<InternalPackage Include="@(IL2CPUPackage)" Version="$(IL2CPUVersion)" RepoRoot="$(IL2CPURepoRoot)" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<XSharpPackage Include="XSharp" ProjectPath="source\XSharp\XSharp\XSharp.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<InternalPackage Include="@(XSharpPackage)" Version="$(XSharpVersion)" RepoRoot="$(XSharpRepoRoot)" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<_InternalPackageToExclude Include="@(InternalPackage)" Exclude="@(PackageReference)" />
|
|
<_InternalPackage Include="@(InternalPackage)" Exclude="@(_InternalPackageToExclude)" />
|
|
<_InternalPackage Update="@(_InternalPackage)" ProjectPath="$([System.IO.Path]::Combine(%(RepoRoot), %(ProjectPath)))">
|
|
<ProjectExists Condition="Exists(%(ProjectPath))">True</ProjectExists>
|
|
</_InternalPackage>
|
|
<_InternalPackageToReplace Include="@(_InternalPackage->WithMetadataValue('ProjectExists', 'True'))" />
|
|
<!-- next 3 lines: hack to move metadata from _InternalPackage to PackageReference -->
|
|
<_InternalPackageToKeep Include="@(_InternalPackage)" Exclude="@(_InternalPackageToReplace)" />
|
|
<PackageReference Remove="@(_InternalPackage)" />
|
|
<PackageReference Include="@(_InternalPackageToKeep)" />
|
|
<ProjectReference Include="@(_InternalPackageToReplace->'%(ProjectPath)')" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|