AArnott / CodeGeneration.Roslyn

Assists in performing Roslyn-based code generation during a build.
Microsoft Public License
408 stars 59 forks source link

CodeGeneration.Roslyn.Attributes doesn't compile with VS2017. Dependencies / runtimes missing? #52

Closed AdmiralSnyder closed 6 years ago

AdmiralSnyder commented 7 years ago

I cannot compile the project CodeGeneration.Roslyn.Attributes in VS2017 (15.5.0 preview 2.0) as long as the entry portable-net45+win8+wpa81+wp8 is in its <TargetFramework> -node. are there any dependencies i am missing?

AArnott commented 7 years ago

hmm... you are running restore first, right?

AdmiralSnyder commented 7 years ago

i hadn't, i thought VS would do it, as it said in the status bar. but to be safe, i downloaded nuget.exe and ran nuget restore. but the error persisted.

AArnott commented 7 years ago

if not, i'll create an issue.

Yes please. Thanks.

AdmiralSnyder commented 7 years ago

whoa, hours of trying and thinking and i found the problem: seems they changed the collation (that's the correct word for the way letters are ordered, right?) from non-preview to preview: if you change portable-net45+win8+wpa81+wp8 to portable-net45+win8+wp8+wpa81, it works. I haven't tested this with nonpreview vs yet. do you have an idea where to create that issue?

AArnott commented 6 years ago

I believe this is fixed by a33401b0fcf