1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2025-07-04 03:38:54 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
Sergio Pedri
86aaa9953d Remove "_" prefixes from .targets elements 2022-06-22 16:00:35 +02:00
Sergio Pedri
77776099bd Add unique prefixes to all .targets properties and items 2022-06-21 16:40:04 +02:00
Nirmal Guru
41abf66445 Update EditorConfig and Git files
- Add default Git attributes.
- Update Git ignores to latest.
- Merge duplicate EditorConfig rules.
- Format projects to EditorConfig rules.
- Fix formatting errors in 'Guard.md' file.
2022-06-11 15:36:02 +02:00
Sergio Pedri
9b1596d453 Refactor conditional logic into separate target
This works around <Choose> not supporting <Target> parents
2022-01-14 13:34:22 +01:00
Sergio Pedri
0d894ea7c9 Minor tweaks to MSBuild checks 2022-01-14 13:01:33 +01:00
Sergio Pedri
408c44b4a5 Simplify Roslyn assembly resolution logic 2022-01-14 00:34:53 +01:00
Sergio Pedri
861beea017 Update .targets for MVVM Toolkit to fix .wapproj issues 2022-01-14 00:24:41 +01:00
Sergio Pedri
99cf8cb072 Minor code style tweaks, add more XML comments 2022-01-13 18:17:42 +01:00
Jonathon Marolf
914fc275e7
Calculate the current C# compiler version
This change allows us to calculate the current C# compiler version in a way that will work on all platforms and only relies on the `Microsoft.CSharp.CurrentVersion.targets` target (specifically [this line](https://github.com/dotnet/msbuild/blob/main/src/Tasks/Microsoft.CSharp.CurrentVersion.targets#L315)) being imported. `Microsoft.CSharp.CurrentVersion.targets` is the core msbuild logic for finding the C# compiler and is used universally so this fix should work everywhere there is a C# compiler to be found.
2022-01-12 20:51:59 -08:00
Sergio Pedri
0ae955d297 Add .targets file to disable source generators on Roslyn 3.x
Still a bit experimental, needs more testing and validation
2021-12-29 18:31:48 +01:00