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

Fix how msbuild condition is created based on target frameworks #3943

Merged
merged 2 commits into from
Nov 17, 2020

Conversation

mk185147
Copy link
Contributor

this is fix of #3939

The problem was that when you used in proj file e.g. target framework net5.0-windows it was not matching msbuild condition '$(TargetFramework)' == 'net5.0-windows7.0' which was created for the net5.0-windows target framework.

Generally, there are many ways how to write the same TargetFramework. Hence, I switched to the form like "($(TargetFrameworkIdentifier) == '.NETCoreApp' And ($(TargetFrameworkVersion) == 'v5.0' And '$(TargetPlatformIdentifier)' == 'Windows'))" like it was done on other place in Paket

@forki
Copy link
Member

forki commented Nov 16, 2020

the travis is red. unfortunately

@mk185147
Copy link
Contributor Author

@forki I checked it and it seems like some infrastructure problem:
EXEC : The remote server returned an error : (429) too many requests. (Github - cached) [/home/travis/build/fsprojects/Paket/src/Paket/Paket.fsproj]

@forki forki closed this Nov 16, 2020
@forki forki reopened this Nov 16, 2020
@forki
Copy link
Member

forki commented Nov 16, 2020

ok let's rerun this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants