Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

Commit 1845539

Browse files
authored
Merge pull request #89 from AArnott/fixups
Fixups
2 parents dabd2cb + ef0c06b commit 1845539

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ convenient `typeof` syntax when declaring the code generator type.
9191
If the attributes and code generator classes were in separate assemblies, you must
9292
specify the assembly-qualified name of the generator type as a string instead.
9393

94-
9594
```csharp
9695
using CodeGeneration.Roslyn;
9796
using System;

src/CodeGeneration.Roslyn.Tool/CodeGeneration.Roslyn.Tool.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<PackageType>DotnetCliTool</PackageType>
55
<OutputType>Exe</OutputType>
66
<TargetFramework>netcoreapp2.0</TargetFramework>
77
<AssemblyName>dotnet-codegen</AssemblyName>
88
<LangVersion>7.1</LangVersion>
9+
<Description>The dotnet code generation tool that works with the CodeGeneration.Roslyn nuget package.</Description>
910
</PropertyGroup>
1011

1112
<ItemGroup>

src/CodeGeneration.Roslyn/CompilationGenerator.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,10 @@ private Assembly ResolveAssembly(AssemblyLoadContext context, AssemblyName name)
216216
library.Dependencies,
217217
library.Serviceable);
218218

219-
var assemblyPathes = new List<string>();
220-
this.assemblyResolver.TryResolveAssemblyPaths(wrapper, assemblyPathes);
219+
var assemblyPaths = new List<string>();
220+
this.assemblyResolver.TryResolveAssemblyPaths(wrapper, assemblyPaths);
221221

222-
return assemblyPathes.Select(context.LoadFromAssemblyPath).FirstOrDefault();
222+
return assemblyPaths.Select(context.LoadFromAssemblyPath).FirstOrDefault();
223223
}
224224

225225
private static DateTime GetLastModifiedAssemblyTime(string assemblyListPath)

0 commit comments

Comments
 (0)