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
PostpublishScript target not there
<Target Name="PostpublishScript" AfterTargets="Publish" Condition=" '$(IsCrossTargetingBuild)' != 'true' "> <Exec Command="dotnet publish-iis --publish-folder $(TargetDir) --framework $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion)" /> </Target>
The text was updated successfully, but these errors were encountered:
The right thing here is that we should not have a dontet publish-iis script anymore, since that tool does not exist in msbuild world.
Sorry, something went wrong.
that tool does not exist in msbuild world.
@livarcocc I also asked @natemcmaster over in aspnet/IISIntegration#299 (comment) before I saw this issue.
Are we just going back to a handmade web.config and something like ...
web.config
<Content Include="web.config"> <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> </Content>
... to get it into published output?
[EDIT] Answer: Microsoft.NET.Sdk.Web takes care of this now.
Microsoft.NET.Sdk.Web
@mlorbetske Can you answer @guardrex's question about web.config? Is this something that the Web.Sdk is handling?
@livarcocc Thanks ... I'm good. Vijay got me straight on that.
livarcocc
No branches or pull requests
Steps to reproduce
Expected behavior
PostpublishScript target not there
Actual behavior
The text was updated successfully, but these errors were encountered: