You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"exclude" doesn't work with new csproj format #3133
I am converting one of my test projects to the new csproj format. The project references XUnit and an optional package XUnit.Assert.Source which adds source files of the assertion library to the project structure. I have to remove the transitive dependency Xunit.Assert which includes the compiled version of the same assertions so that no conflicts occur. This worked well for the traditional csproj.
XUnit.Assert is not included in the list of referenced NuGet packages.
The project compiles.
Actual behavior
The opposite, more than 200 errors like this: CS0111 Type 'Assert' already defines a member called '.ctor' with the same parameter types TestOfExclude\Asserts\Assert.cs
I've tested this behavior with paket 5.241.6 and it does not seem to work. Having the same issue. Not saying that docs states that exclusion relates to dlls, not nugets. So what is the current state please? https://fsprojects.github.io/Paket/references-files.html
For me, the issue also does not look resolved. After porting a project to the new style SDK project format, excluded assemblies are copied to the output directory.
When testing with "TestOfExclude.zip" and using paket.exe 5.257.0 it is also not working as expected.
Activity
petrkoutnycz commentedon Jan 28, 2020
I've tested this behavior with paket 5.241.6 and it does not seem to work. Having the same issue. Not saying that docs states that exclusion relates to dlls, not nugets. So what is the current state please?
https://fsprojects.github.io/Paket/references-files.html
luithefirst commentedon Jan 26, 2021
For me, the issue also does not look resolved. After porting a project to the new style SDK project format, excluded assemblies are copied to the output directory.
When testing with "TestOfExclude.zip" and using paket.exe 5.257.0 it is also not working as expected.