-
Notifications
You must be signed in to change notification settings - Fork 776
Description
Describe the bug
After upgrading to WinUI 3 (1.8.250906003) via the Microsoft® Visual Studio NuGet interface, I get the following build/linker warnings when building the solution:
warning MSB8027: Two or more files with the name of DeploymentManagerAutoInitializer.cpp will produce outputs to the same location. This can lead to an incorrect build result.
warning MSB8027: Two or more files with the name of WindowsAppRuntimeAutoInitializer.cpp will produce outputs to the same location. This can lead to an incorrect build result.
DeploymentManagerAutoInitializer.cpp
DeploymentManagerAutoInitializer.cpp
WindowsAppRuntimeAutoInitializer.cpp
WindowsAppRuntimeAutoInitializer.cpp
warning LNK4042: object specified more than once; extras ignored
warning LNK4042: object specified more than once; extras ignored
XamlMetaDataProvider.cpp
XamlTypeInfo.g.cpp
warning LNK4042: object specified more than once; extras ignored
warning LNK4042: object specified more than once; extras ignored
Why is this important?
Building the solution results in the above build/linker warnings or occasionally even fails to build due to file access denials related to the above-mentioned files ('DeploymentManagerAutoInitializer.cpp' and 'WindowsAppRuntimeAutoInitializer.cpp').
Steps to reproduce the bug
- Upgrade from the previous version to 1.8.250906003 via the Microsoft® Visual Studio NuGet interface.
- Recompile the solution.
Actual behavior
No response
Expected behavior
No response
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
No response