-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Window title not shown when packaged #309
base: main
Are you sure you want to change the base?
Conversation
var compilationProvider = context.CompilationProvider; | ||
var additionalTextsProvider = context.AdditionalTextsProvider; | ||
|
||
// Combine optionsProvider and compilationProvider |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's no longer incremental once you combine with compilationProvider.
Instead, use an assembly name provider:
var assemblyNameProvider = context.CompilationProvider.Select((compilation, _) => compilation.Assembly.Name);
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.10.0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a too recent. We should really be using the oldest version we can and bump only if there is a specific new API we need
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<IsPackable>false</IsPackable> | ||
<AssemblyName>Uno.Resizetizer</AssemblyName> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the assembly name be Uno.Resizetizer.Generators
?
Fixes: #
PR Type
What kind of change does this PR introduce?
What is the current behavior?
WinUI Desktop is shown when running the WinUI head packaged.
What is the new behavior?
The Application Title is shown regardless of whether the WinUI head is running Packaged or Unpackaged.