-
Notifications
You must be signed in to change notification settings - Fork 519
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
.props files are broken #1233
Comments
|
As I see now, the normal <Choose>
<When Condition="$(TargetFrameworkIdentifier) == '.NETFramework' And $(TargetFrameworkVersion) == 'v4.5'">
<PropertyGroup>
<__paket__Package_Name_props>Package.Name</__paket__Package_Name_props>
</PropertyGroup>
</When>
</Choose> |
|
I can reproduce. |
|
could you please try latest alpha? |
|
Thanks, that solved the issue. But now we have #1219 again. @theggelund Are there any issues at all if the |
|
We have still #1219 covered for props that are global. There is an
|
|
we can't put this up to the top since the properties for the case block are not defined at the top. |
|
Ordering is important. Using conditional checks for variable not set is used to support amongst other features, multi-target builds Accordning to nuget, props should be put at the top and targets should be put at the bottom. |
|
@forki Sorry to bother you with this again, but we have to reopen this issue. Framework specific |
|
do we already have an integration test for this? (and did I break it ?) Can you name a public nuget package which has this issue? |
|
The infamous xunit.runner.visualstudio strikes back again. I prepared this repro sample. IIRC we have an integration test for the opposite case: |
|
I will take a look |
|
xUnitTests.expected.csproj is that what you expect it to be? In 28116e0 the test suggests that this is actually the result that paket gives you. |
|
so what did I do wrong in the test? |
|
Sorry, somehow I edited the expected result back again to the wrong one. This is how I'd expect it to be, the |
|
I don't understand. Why should it go to the end? |
|
ah I see. the property is not defined |
|
so this was changed in #1487 and I'm not completely sure what the correct way is |
|
so I guess this one is "fixed", but please help with #1487 |
Since v2.24.7 framework specific
.propsfiles (as in xunit.core, or our beloved xunit.runner.visualstudio) do not work anymore.The problem is, that the framework specific part of the path (
__paket__Package_Name_targetsMSBuild property) isn't set, when the file gets imported.The text was updated successfully, but these errors were encountered: