RoslynNUnitLight icon indicating copy to clipboard operation
RoslynNUnitLight copied to clipboard

Update infrastructure to support a more recent version of Roslyn.

Open CyrusNajmabadi opened this issue 7 years ago • 5 comments

Hey @DustinCampbell , hope you're doing well :)

@cezarypiatek has been over on the gitter channel looking for advice on how to test out Roslyn refactorings. He was pointed to this repo as something useful. Unfortunately, he found that it didn't work for his needs due to the reference on Roslyn Workspaces 1.0. Would it be possible to update that to support more versions?

If you don't have the time for this, could you advise on what it would take to do this in a PR? Thanks!

CyrusNajmabadi avatar Aug 08 '18 17:08 CyrusNajmabadi

Try:

<PropertyGroup>
  ...
  <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
</PropertyGroup>

In test.csproj

JohanLarsson avatar Aug 08 '18 17:08 JohanLarsson

Not working, I can't install nuget package even with this csproj settings.

cezarypiatek avatar Aug 08 '18 18:08 cezarypiatek

Ok it makes sense, had a look at the package:

image

Should be Microsoft.CodeAnalysis.CSharp.Workspaces (>= 1.0.0)

JohanLarsson avatar Aug 08 '18 18:08 JohanLarsson

Hey folks. I honestly haven't even looked at this repo in a few years. I'll put this on my TODO list.

DustinCampbell avatar Aug 09 '18 16:08 DustinCampbell

There is a port of this project for .net standard https://github.com/phoenix172/RoslynNUnitLight.NetStandard . Maybe this two repos should be merged in order to avoid fixing issues in two places?

cezarypiatek avatar Aug 13 '18 21:08 cezarypiatek