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

fix wrongly cased Microsoft.CSHARP.Targets#1271

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

Merged
lostmsu merged 1 commit intopythonnet:masterfromvivainio:fix-cases
Nov 3, 2020

Conversation

vivainio
Copy link
Contributor

@vivainiovivainio commentedNov 2, 2020
edited
Loading

What does this implement/fix? Explain your changes.

"dotnet msbuild pythonnet.sln" fails in WSL2 because .targets files are wrongly cased, and Linux is case sensitive.

The command still fails, but at least for different error :).

@dnfadmin
Copy link

dnfadmin commentedNov 2, 2020
edited
Loading

CLA assistant check
All CLA requirements met.

@vivainio
Copy link
ContributorAuthor

For reference, current error is:

/usr/share/dotnet/sdk/3.1.403/Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/mnt/c/p/pythonnet/src/embed_tests/Python.EmbeddingTest.csproj]/usr/share/dotnet/sdk/3.1.403/Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/mnt/c/p/pythonnet/src/testing/Python.Test.csproj]/usr/share/dotnet/sdk/3.1.403/Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/mnt/c/p/pythonnet/src/console/Console.csproj]/usr/share/dotnet/sdk/3.1.403/Microsoft.Common.CurrentVersion.targets(1177,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/mnt/c/p/pythonnet/src/runtime/Python.Runtime.csproj]v@B9DPGH2:/mnt/c/p/pythonnet$

@lostmsu
Copy link
Member

lostmsu commentedNov 2, 2020
edited
Loading

@vivainio pythonnet.sln is a legacy solution. Please, usepythonnet.15.sln for .NET Core

@vivainio
Copy link
ContributorAuthor

@lostmsu ok, the fix is is csproj files so it doesn't matter.

"dotnet msbuild pythonnet.15.sln" fails similarly, but I 'm not sure it's even supposed to work with Linux yet.

@lostmsulostmsu merged commit84e2735 intopythonnet:masterNov 3, 2020
@vivainiovivainio deleted the fix-cases branchNovember 3, 2020 12:40
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.

3 participants
@vivainio@dnfadmin@lostmsu

[8]ページ先頭

©2009-2025 Movatter.jp