-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
.aspx and .asax files don't get published #24
Comments
It has been a while since I did webforms development (I mainly use/maintain MVC and Razor these days). <ItemGroup>
<Content Include="**\*.asax" />
<Content Include="**\*.ascx" />
<Content Include="**\*.asmx" />
<Content Include="**\*.aspx" />
<Content Include="**\*.master" />
</ItemGroup> I'll look at adding these as default includes, perhaps behind a flag so that they can be disabled if required. |
Good point — |
I believe |
Possibly also resx, axd, config. |
@chucker .resx and web.config files were already handled. And .axd files do not actually exist - the URLs are just routed to a handler class by IIS. |
@CZEMacLeod Thanks for the great work on this project. I updated to this version and noticed an issue after performing a publish. In my project I end up with "bin\Release\Publish" as the output folder, however if turn on EnableWebFormsDefaultItems, once I publish it see's that published folder as content. Then each publish adds more content upon itself and eventually errors. I have worked around this in some of my other globs by adding Exclude="$(DefaultItemExcludes)". I recommend changing from:
to
|
I'm deploying as follows:
This does build a new DLL and upload that and its dependencies to the server. However, it does not replace any
aspx
files on the server.I notice VS infers the build action for
aspx
asNone
, and I'm not seeing a reason at a glance, in mycsproj
. Some snippets:I'm guessing asmx and ascx files would be affected as well.
So I think the default item includes should have:
The text was updated successfully, but these errors were encountered: