Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Windows test workflow and net462 test target#7769

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
flobernd wants to merge2 commits intomain
base:main
Choose a base branch
Loading
fromnetfx-tests

Conversation

flobernd
Copy link
Member

No description provided.

@floberndfloberndforce-pushed thenetfx-tests branch 6 times, most recently from4e34f9e toc3eda1dCompareJuly 5, 2023 12:11
<CheckEolTargetFramework>false</CheckEolTargetFramework>
</PropertyGroup>
<PropertyGroup>
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Workaround for:

rror NU1004: The project's runtime identifiers have changed from. Project's runtime identifiers: , lock file's runtime identifiers win7-x86.The packages lock file is inconsistent with the project dependencies so restore can't be run in locked mode. Disable the RestoreLockedMode MSBuild property or pass an explicit --force-evaluate option to run restore to update the lock file.

This is a known long standing issue (see comments).

Another workaround that does not involve disabling lock files, would be this one:
NuGet/Home#9195 (comment)

public override void OnBeforeTestsRun() => TestConfiguration.Instance.DumpConfiguration();
public override void OnBeforeTestsRun()
{
VerifierSettings.DerivePathInfo(
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[ModuleInitializer] is not available prior to NET5.

This snippet is moved from there.

@@ -11,7 +11,7 @@

<ItemGroup>
<PackageReference Include="Bogus" Version="22.1.2" />
<PackageReference Include="Elastic.Elasticsearch.Managed" Version="0.3.5" />
<PackageReference Include="Elastic.Elasticsearch.Managed" Version="0.4.1" />
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@@ -1,7 +1,7 @@
{
query: {
function_score: {
boost: 1.1,
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

NETFX is not fully IEEE compliant which messes with our roundtrip serialization tests. Particularilyfloat values seem to cause problems. As a workaround I changed these tests to use values that can be represented as integers.

More details:dotnet/runtime#435 (comment)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@flobernd

[8]ページ先頭

©2009-2025 Movatter.jp