Fix: Remove local runtime roslyn assets to avoid loading conflicts

This commit is contained in:
Jerome Laban 2020-07-19 20:53:36 -04:00
Родитель ca99449b2b
Коммит 712d30f48c
3 изменённых файлов: 4 добавлений и 6 удалений

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

@ -25,7 +25,7 @@ This package is part of the Uno.CodeGen to generate classes lifecycle methods in
<ItemGroup Condition="'$(TargetFramework)'=='net461'">
<PackageReference Include="System.ValueTuple" Version="4.4.0" PrivateAssets="all" />
<PackageReference Include="Uno.RoslynHelpers" Version="1.2.0-dev.10" PrivateAssets="all" />
<PackageReference Include="Uno.SourceGeneration" Version="1.30.0-dev.245" PrivateAssets="all" />
<PackageReference Include="Uno.SourceGeneration" Version="1.30.0-dev.245" PrivateAssets="all" ExcludeAssets="runtime" />
</ItemGroup>
<ItemGroup>

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

@ -338,8 +338,6 @@ namespace Uno.Helpers
return keyType != null;
}
private static MethodInfo _isAutoPropertyGetter;
public static bool IsAutoProperty(this IPropertySymbol symbol)
{
if (symbol.IsWithEvents || symbol.IsIndexer || !symbol.IsReadOnly)

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

@ -21,17 +21,17 @@
<ItemGroup Condition="'$(TargetFramework)'=='net461'">
<PackageReference Include="System.ValueTuple" Version="4.4.0" PrivateAssets="all" />
<PackageReference Include="Uno.RoslynHelpers" Version="1.2.0-dev.10" PrivateAssets="all" />
<PackageReference Include="Uno.SourceGeneration" Version="1.30.0-dev.245" PrivateAssets="all" />
<PackageReference Include="Uno.SourceGeneration" Version="1.30.0-dev.245" PrivateAssets="all" ExcludeAssets="runtime" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis" Version="2.3.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis" Version="2.3.0" PrivateAssets="all" ExcludeAssets="runtime" />
<PackageReference Include="Uno.MonoAnalyzers" Version="1.0.0-dev.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Uno.SourceGenerationTasks" Version="1.30.0-dev.245" PrivateAssets="none">
<NoWarn>NU1701</NoWarn>
<NoWarn>NU1701</NoWarn>
</PackageReference>
</ItemGroup>