Modernizes XAMLBehaviors sample to SDK-style - #199
Conversation
Updates the sample project to use the modern .NET SDK-style format and enables multi-targeting for .NET 4.6.2 and .NET 8.0. This change simplifies the project file and removes redundant assembly information and configuration files.
|
Brian Lagunas (@brianlagunas) this change breaks the My PR #187 dealt with this problem by adding The simplest fix would be to add |
|
Jan Ivar Carlsen (@jizc) good find. Thanks for letting me know. Actually, by adding support for multi-targeting we found a bug in the implementation of the sample. A relative path should not have been used there because it was traversing to find the file in the project source and not using the file that was copied into the debug folder with the executable. this will be fixed with #200 |
Description of Change
Converts the
XAMLBehaviorsSampleproject to the modern SDK-style format. This change significantly simplifies the project file structure, making it more concise and easier to manage.Key changes include:
.csprojfile to the SDK format, removing explicit file listings and redundant references.net462andnet8.0-windowsto ensure compatibility with both .NET Framework and modern .NET.App.configandProperties/AssemblyInfo.csfiles, as their content is now either implicit or managed through project properties in the SDK-style format.This modernization aligns the sample project with current .NET development practices and improves maintainability.
Bugs Fixed
API Changes
None
Behavioral Changes
None. The sample application's functionality remains unchanged.
PR Checklist