Closed helloserve closed 7 years ago
Thank you for your feedback, @helloserve! I would also expect your use case to work.
Unfortunately there is an open CLI issue (https://github.com/dotnet/cli/issues/4808) and this behavior affects all custom dotnet tools. Because it is not something specific to this project, there is nothing actionable that I can fix here, and thus I will close this issue.
I do however encourage you to add your feedback on the CLI issue. Once that is fixed, your scenario should also start working.
@helloserve more details about the issue in this comment: https://github.com/xunit/xunit/issues/1360#issuecomment-323701095
Thanks! Lets hope they get round to working in this pretty basic piece of functionality.
My solution file (.sln) and project file (.csproj) is in the same folder location. If I simply run
dotnet transform-xdt
I get:Expected behavior To specify the project file using normal syntax
dotnet transform-xdt .\Foo.csproj
which would result in normal operation.Observed behavior It still displays the same error message regardless of specifying the project or solution file.
Additional This same problem persists when attempting to run the transform as part of the publish step. e.g.