How to specify assembly:ThemeInfo() with the new project system? #3588
Labels
Discussion/Question
A discussion or question about the project that will not be treated as a bug or feature request.
I just migrated a pre-2017 csproj to the new 2017 format. I noticed that default styles specified in
themes\generic.xaml
were not automatically applied anymore, and after comparing to the old project found out that[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
was omitted from the now auto-generated AssemblyInfo file. I know that you can add certain attributes, such asInternalsVisibleTo
with anAssemblyAttribute
in the csproj file, but apparently only strings are supported. Is it possible to somehow insert that without disablingGenerateAssemblyInfo
(and continue using the normal AssemblyInfo)?The text was updated successfully, but these errors were encountered: