-
Notifications
You must be signed in to change notification settings - Fork 863
Move Microsoft.Extensions.VectorData.Abstractions over from Semantic Kernel #7434
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
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
ad2bdc6
Move Microsoft.Extensions.VectorData.Abstractions over from Semantic …
roji 24bf09d
Fix LA0003 CI errors: add Stage, MinCodeCoverage, MinMutationScore an…
roji bd70e87
Connectors -> Providers
roji a9b09fc
Fix bug in ApiChief analyzer
roji 330b254
Address review comments
roji 2d8bc6e
Add UnreachableException polyfill
roji 4fdc92d
Remove unneeded package references
roji 38ccd95
Use <ProjectReferences>
roji ad68a04
Move ComplianceTests to src
roji 2919eb2
Reference MEVD from DataIngestion via <PackageReference>, temporarily
roji b35881d
Generate documentation XML
roji f782a41
Sign MEVD with correct key
ericstj 5d524d2
Enable APICompat for MEVD
ericstj 47d105d
Remove the ConformanceTests project from AotCompatibility.TestApp
roji 721f227
Revert "Reference MEVD from DataIngestion via <PackageReference>, tem…
roji d8ab4cc
Move files out of the subdirectories
roji 9b92834
Tweak UnreachableException
roji 6063601
Continue to reference MEVD from DataIngestion via <PackageReference> …
roji 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
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
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
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
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,15 @@ | ||
| <Project> | ||
| <PropertyGroup> | ||
| <MicrosoftSharedLibPublicKey>002400000c80000014010000060200000024000052534131000800000100010085aad0bef0688d1b994a0d78e1fd29fc24ac34ed3d3ac3fb9b3d0c48386ba834aa880035060a8848b2d8adf58e670ed20914be3681a891c9c8c01eef2ab22872547c39be00af0e6c72485d7cfd1a51df8947d36ceba9989106b58abe79e6a3e71a01ed6bdc867012883e0b1a4d35b1b5eeed6df21e401bb0c22f2246ccb69979dc9e61eef262832ed0f2064853725a75485fa8a3efb7e027319c86dec03dc3b1bca2b5081bab52a627b9917450dfad534799e1c7af58683bdfa135f1518ff1ea60e90d7b993a6c87fd3dd93408e35d1296f9a7f9a97c5db56c0f3cc25ad11e9777f94d138b3cea53b9a8331c2e6dcb8d2ea94e18bf1163ff112a22dbd92d429a</MicrosoftSharedLibPublicKey> | ||
|
adamsitnik marked this conversation as resolved.
|
||
| </PropertyGroup> | ||
|
|
||
| <!-- We choose the name MicrosoftSharedLib to represent this key, but that's just our name for it. | ||
| The key is named "2048 - Microsoft Shared Libraries (.NET 4.5)(SHA2)". | ||
| It's actually the same key used for most of our libraries, but they all use an older key for identity | ||
| and AssemblySignatureKeyAttribute to sign with this key. --> | ||
| <PropertyGroup Condition="'$(StrongNameKeyId)' == 'MicrosoftSharedLib'"> | ||
| <AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)../snk/MSSharedLibSHA2.snk</AssemblyOriginatorKeyFile> | ||
| <PublicKey>$(MicrosoftSharedLibPublicKey)</PublicKey> | ||
| <PublicKeyToken>f300afd708cefcd3</PublicKeyToken> | ||
| </PropertyGroup> | ||
| </Project> | ||
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 |
|---|---|---|
| @@ -1,7 +1,9 @@ | ||
| <!-- This file gets automatically imported by Arcade infrastructure when calling the build scripts --> | ||
| <Project> | ||
| <ItemGroup> | ||
| <FileExtensionSignInfo Update=".js" CertificateName="MicrosoftDotNet500" /> | ||
| <ItemsToSign Include="$(ArtifactsDir)VSIX\*.vsix" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <!-- Specify that files with the PKT f300afd708cefcd3 should be signed with the MSSharedLibSHA2 strong-name certificate and the Microsoft400 authenticode certificate --> | ||
| <StrongNameSignInfo Include="MSSharedLibSHA2" PublicKeyToken="f300afd708cefcd3" CertificateName="Microsoft400" /> | ||
| <FileExtensionSignInfo Update=".js" CertificateName="MicrosoftDotNet500" /> | ||
| <ItemsToSign Include="$(ArtifactsDir)VSIX\*.vsix" /> | ||
| </ItemGroup> | ||
| </Project> |
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
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
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
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
Binary file not shown.
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
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
48 changes: 48 additions & 0 deletions
48
src/LegacySupport/UnreachableException/UnreachableException.cs
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,48 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
|
|
||
| using System.Diagnostics.CodeAnalysis; | ||
|
|
||
| #pragma warning disable CA1064 // Exceptions should be public | ||
| #pragma warning disable CA1812 // Internal class that is (sometimes) never instantiated. | ||
|
|
||
| namespace System.Diagnostics; | ||
|
|
||
| /// <summary> | ||
| /// Exception thrown when the program executes an instruction that was thought to be unreachable. | ||
| /// </summary> | ||
| [ExcludeFromCodeCoverage] | ||
| internal sealed class UnreachableException : Exception | ||
|
roji marked this conversation as resolved.
|
||
| { | ||
| private const string MessageText = "The program executed an instruction that was thought to be unreachable."; | ||
|
|
||
| /// <summary> | ||
| /// Initializes a new instance of the <see cref="UnreachableException"/> class with the default error message. | ||
| /// </summary> | ||
| public UnreachableException() | ||
| : base(MessageText) | ||
| { | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Initializes a new instance of the <see cref="UnreachableException"/> | ||
| /// class with a specified error message. | ||
| /// </summary> | ||
| /// <param name="message">The error message that explains the reason for the exception.</param> | ||
| public UnreachableException(string? message) | ||
| : base(message ?? MessageText) | ||
| { | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Initializes a new instance of the <see cref="UnreachableException"/> | ||
| /// class with a specified error message and a reference to the inner exception that is the cause of | ||
| /// this exception. | ||
| /// </summary> | ||
| /// <param name="message">The error message that explains the reason for the exception.</param> | ||
| /// <param name="innerException">The exception that is the cause of the current exception.</param> | ||
| public UnreachableException(string? message, Exception? innerException) | ||
| : base(message ?? MessageText, innerException) | ||
| { | ||
| } | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
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.