We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue is similar to #677.
The $(SolutionDir) variable will not be resolved when using post build event and dotnet cli. It works using VS2017.
$(SolutionDir)
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> <Exec Command="xcopy "$(SolutionDir)License\xy.xml" $(TargetDir)" /> </Target>
The $(TargetDir) variable will be resolved correctly.
$(TargetDir)
The text was updated successfully, but these errors were encountered:
In the particular case of SolutionDir, I don't think this is set in the SDK, but rather by MSBuild.
@rainersigwald can you comment on this?
Sorry, something went wrong.
How are you invoking the build using dotnet? MSBuild can only set $(SolutionDir) when you start the build at the solution level.
dotnet
Closing since we haven't had activity here in nearly a month. If you can answer the question above, we can re-activate this issue.
Merge pull request #1777 from dotnet/darc-main-56307920-d626-4cf3-bc9…
521950e
…1-6d8e36f6db99 [main] Update dependencies from dotnet/roslyn
livarcocc
No branches or pull requests
This issue is similar to #677.
The
$(SolutionDir)
variable will not be resolved when using post build event and dotnet cli.It works using VS2017.
The
$(TargetDir)
variable will be resolved correctly.The text was updated successfully, but these errors were encountered: