Skip to content

Commit 9b1b995

Browse files
authored
Couple of changes: (#8)
* Update to 3.9.0 roslyn. * Add the necessary usings to make the hello world example compile as a top-level program (with the right package references, of course).
1 parent 73d4fe7 commit 9b1b995

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Basic.Reference.Assemblies.UnitTests/Basic.Reference.Assemblies.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageReference Include="xunit" Version="2.4.0" />
1111
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
1212
<PackageReference Include="coverlet.collector" Version="1.2.0" />
13-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" />
13+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.9.0" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

Directory.Build.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
</ItemGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Microsoft.CodeAnalysis" Version="3.8.0" />
8+
<PackageReference Include="Microsoft.CodeAnalysis" Version="3.9.0" />
99
</ItemGroup>
10-
</Project>
10+
</Project>

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ for `netstandard2.0`, `netcoreapp3.1` and `net5.0`. These can be easily
1616
integrated into the existing Roslyn APIs.
1717

1818
```c#
19+
using Microsoft.CodeAnalysis;
20+
using Microsoft.CodeAnalysis.CSharp;
21+
using Basic.Reference.Assemblies;
22+
1923
var code = @"
2024
using System;
2125
static class Program

0 commit comments

Comments
 (0)