AArnott / CodeGeneration.Roslyn

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

usage with non-sdk based csproj files #167

Closed chinwobble closed 4 years ago

chinwobble commented 4 years ago

I want to use code generation in a UWP app. Unfortunately UWP doesn't look like it is supported by SDK based projects yet.

Is there any workaround to use code generation with them?

amis92 commented 4 years ago

Nothing I know about, unfortunately.

AArnott commented 4 years ago

Supporting non-SDK style projects hasn't been a priority for us, and isn't likely to be going forward either. UWP will likely support SDK style projects eventually, since that's the way things are going. In the meantime, I would suggest you try to do your CG.R work in another SDK-style project and reference that project from your UWP project.