Skip to content
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

Cleanups post move to net462 #3856

Merged
merged 6 commits into from
Jul 18, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix Traits
  • Loading branch information
Evangelink committed Jul 18, 2022
commit f51d90ca013dc030973f4934cd5d1a8008465871
4 changes: 4 additions & 0 deletions src/Microsoft.TestPlatform.ObjectModel/TraitCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ public class TraitCollection : IEnumerable<Trait>
internal const string TraitPropertyId = "TestObject.Traits";
private static readonly TestProperty TraitsProperty = TestProperty.Register(
TraitPropertyId,
#if !NET462
// TODO: Fix this with proper resourcing for UWP and Win 8.1 Apps
// Trying to access resources will throw "MissingManifestResourceException" percolated as "TypeInitialization" exception
"Traits",
#else
Resources.Resources.TestCasePropertyTraitsLabel,
#endif
typeof(KeyValuePair<string, string>[]),
#pragma warning disable 618
TestPropertyAttributes.Hidden | TestPropertyAttributes.Trait,
Expand Down