Skip to content

Commit 28a5dab

Browse files
committed
use Roslyn preview in CI
workaround for dotnet/roslyn#49760
1 parent 70fc803 commit 28a5dab

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Directory.Build.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
</PropertyGroup>
99
<ItemGroup>
1010
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
11-
<PackageReference Include="NonCopyableAnalyzer" Version="0.6.0">
11+
<PackageReference Include="Microsoft.Net.Compilers" Version="3.9.0-3.final">
12+
<PrivateAssets>all</PrivateAssets>
13+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
14+
</PackageReference>
15+
<PackageReference Include="Lost.NonCopyableAnalyzer" Version="0.7.0-m04">
1216
<PrivateAssets>all</PrivateAssets>
1317
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1418
</PackageReference>

src/runtime/Python.Runtime.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,5 @@
3131
<ItemGroup>
3232
<PackageReference Include="System.Security.Permissions" Version="4.4.0" />
3333
<PackageReference Include="System.Reflection.Emit" Version="4.3.0" />
34-
<PackageReference Include="Lost.NonCopyableAnalyzer" Version="0.7.0-m04">
35-
<PrivateAssets>all</PrivateAssets>
36-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
37-
</PackageReference>
3834
</ItemGroup>
3935
</Project>

0 commit comments

Comments
 (0)