-
Notifications
You must be signed in to change notification settings - Fork 6
fix: demote MSB3277 and add binding redirects #182
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
Merged
+25
−11
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
0512bd1
fix: silence MSB3277 noise and add binding redirects on .NET Framework
alafleur-genetec 16c04e2
fix: address Copilot review on Directory.Build.props (#182)
alafleur-genetec 6e56235
fix: update sln Solution Items to use Directory.Build casing
alafleur-genetec File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| <Project> | ||
| <PropertyGroup> | ||
| <!-- Demote MSB3277 from warning to message across all target frameworks. The version drift | ||
|
alafleur-genetec marked this conversation as resolved.
|
||
| between the SDK assemblies and their transitive dependencies (System.DirectoryServices.Protocols, | ||
| System.ServiceModel.*, Microsoft.Identity.*, etc.) is expected. On .NET Framework, runtime | ||
| resolution is handled by the binding redirects below. On .NET 8, the load context resolves | ||
| to the higher version automatically. --> | ||
| <MSBuildWarningsAsMessages>$(MSBuildWarningsAsMessages);MSB3277</MSBuildWarningsAsMessages> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup Condition="'$(TargetFramework)' == 'net481'"> | ||
| <DefineConstants>$(DefineConstants);NETFRAMEWORK</DefineConstants> | ||
| <!-- Auto-generate binding redirects so .NET Framework executables resolve assembly version | ||
| drift between the SDK assemblies and their transitive dependencies. Class libraries | ||
| (Plugin / Workspace SDK samples) are loaded by host processes whose own .config governs | ||
| resolution, so this property is intentionally not extended to Library outputs. --> | ||
| <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup Condition="'$(TargetFramework)' == 'net8.0-windows'"> | ||
| <DefineConstants>$(DefineConstants);NET8_0</DefineConstants> | ||
| </PropertyGroup> | ||
| </Project> | ||
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.