Fix csproj references so the projects can be opened in other solutions

This commit is contained in:
Andreia Gaita 2019-08-02 15:58:46 +02:00
Родитель 1e6ab3faed
Коммит 5de5645710
7 изменённых файлов: 14 добавлений и 27 удалений

Просмотреть файл

@ -1,5 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<TargetFrameworks>net35;net471</TargetFrameworks>
<SolutionDir Condition=" '$(SolutionDir)' == '' ">..\..\..\</SolutionDir>
<ProjectGuid>{B389ADAF-62CC-486E-85B4-2D8B078DF76B}</ProjectGuid>
<AssemblyName>Unity.VersionControl.Git</AssemblyName>

Просмотреть файл

@ -1,5 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<TargetFrameworks>net35;net471</TargetFrameworks>
<SolutionDir Condition=" '$(SolutionDir)' == '' ">..\..\..\</SolutionDir>
<ProjectGuid>{BB6A8EDA-15D8-471B-A6ED-EE551E0B3BA0}</ProjectGuid>
<AssemblyName>Unity.VersionControl.Git.Logging</AssemblyName>

Просмотреть файл

@ -1,5 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<TargetFrameworks>net35;net471</TargetFrameworks>
<SolutionDir Condition=" '$(SolutionDir)' == '' ">..\..\..\</SolutionDir>
<ProjectGuid>{F94F8AE1-C171-4A83-89E8-6557CA91A188}</ProjectGuid>
<AssemblyName>UnityShim</AssemblyName>

Просмотреть файл

@ -15,24 +15,8 @@
<PackageReference Include="NUnit" Version="3.12.0" />
</ItemGroup>
<ItemGroup>
<Reference Include="UnityEditor">
<HintPath>$(UnityDir)Managed\UnityEditor.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>$(UnityDir)Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEditor.TestRunner">
<HintPath>$(UnityDir)UnityExtensions\Unity\TestRunner\Editor\UnityEditor.TestRunner.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TestRunner">
<HintPath>$(UnityDir)UnityExtensions\Unity\TestRunner\UnityEngine.TestRunner.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(SolutionDir)\src\api\Api\Api.csproj" />
<ProjectReference Include="$(SolutionDir)\src\ui\UI\UI.csproj" />
<ProjectReference Include="..\..\api\Api\Api.csproj" />
<ProjectReference Include="..\UI\UI.csproj" />
</ItemGroup>
<Import Project="$(SolutionDir)\common\build.targets" />
</Project>

Просмотреть файл

@ -13,8 +13,8 @@
<Import Project="$(SolutionDir)\common\properties.props" />
<Import Project="$(SolutionDir)\common\tests.props" />
<ItemGroup>
<ProjectReference Include="$(SolutionDir)\src\api\Api\Api.csproj" />
<ProjectReference Include="$(SolutionDir)\src\api\Logging\Logging.csproj" />
<ProjectReference Include="..\..\src\api\Api\Api.csproj" />
<ProjectReference Include="..\..\src\api\Logging\Logging.csproj" />
<ProjectReference Include="..\TestWebServer\TestWebServer.csproj" />
</ItemGroup>
<Import Project="$(SolutionDir)\common\build.targets" />

Просмотреть файл

@ -14,9 +14,9 @@
<PackageReference Include="NSubstitute" Version="4.2.0" />
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(SolutionDir)\src\api\Api\Api.csproj" />
<ProjectReference Include="..\..\src\api\Api\Api.csproj" />
<ProjectReference Include="..\CommandLine\CommandLine.csproj" />
</ItemGroup>
<Import Project="$(SolutionDir)\common\build.targets" />

Просмотреть файл

@ -13,22 +13,22 @@
<PackageReference Include="Newtonsoft.Json" Version="11.0.*" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(SolutionDir)\src\api\Api\Api.csproj" />
<ProjectReference Include="$(SolutionDir)\src\api\Logging\Logging.csproj" />
<ProjectReference Include="..\..\src\api\Api\Api.csproj" />
<ProjectReference Include="..\..\src\api\Logging\Logging.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="files\**\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(SolutionDir)\src\api\Api\PlatformResources\windows\git-lfs.zip">
<None Include="..\..\src\api\Api\PlatformResources\windows\git-lfs.zip">
<Link>files\unity\git\windows\git-lfs.zip</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(SolutionDir)\src\api\Api\PlatformResources\windows\git.zip">
<None Include="..\..\src\api\Api\PlatformResources\windows\git.zip">
<Link>files\unity\git\windows\git.zip</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(SolutionDir)\src\api\Api\PlatformResources\mac\git-lfs.zip">
<None Include="..\..\src\api\Api\PlatformResources\mac\git-lfs.zip">
<Link>files\unity\git\mac\git-lfs.zip</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>