roji / AsyncRewriter

Uses Roslyn to rewrite synchronous C# methods into async counterparts
MIT License
54 stars 10 forks source link

Get rid of special csproj directives #3

Closed roji closed 9 years ago

roji commented 9 years ago

Stop asking users to write this:

<Compile Include="Program.Async.cs">
    <DependentUpon>Program.cs</DependentUpon>
    <Generator>AsyncGenerator</Generator>
</Compile>

Either go over the entire project (measure time), or just infer from the filename (i.e. Program.Async.cs exist? Let me generate it for you from Program.cs)

roji commented 9 years ago

Done. Still need to support a way to manually-specific files though.