-
Notifications
You must be signed in to change notification settings - Fork 346
Add ASP.NET support to builder images #89
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only question I have is based on what came up in Monday's meeting on whether these Web.Targets are from the right project type. @Jinhuafei should probably have a look as well
Comment on the web targets files in the Zip package:
I would vote for not adding these additional targets until we need them, thoughts? |
Any updates on this? |
Hi all, I am facing an issue with a ASP.NET Web API project where |
Merge and publish? 💯 |
Anything we can do to speed up the merging of this PR? It's blocking me and I don't want to build a workaround if this PR is about to be merged. |
FYI: We want to get this merged ASAP. We are working on the last steps now. |
Would it be ok to publish those targets as a nuget package? |
@dazinator - That is an option we are exploring. I think it would be generally useful. |
@MichaelSimons - cool. It worked well for: Microsoft.Data.Tools.Msbuild, usage seen here: https://github.com/docker/labs/blob/master/windows/sql-server/Dockerfile.builder |
I have tried these changes out for my legacy solution build and I am still getting this error:
Does this PR not address this? |
@dazinator - Can you provide details on what you are trying? "legacy solution build" is too vague. |
@MichaelSimons - sure. So the error I am seeing looks to be first mentioned here: #101 In my case, I am taking an existing "team city build agent" docker image:
I am then installing various tools and enabling various features (.NET 3.5 etc) so that it can build this .net 3.5 solution containing about 30 projects. I am happy to elaborate on what those steps are, if needed. After applying your changes in this PR, all 29 projects in the solution are building except one project it seems.
I am guessing its because this particular project has embedded resources? (I will test this theory) However if you look at the original issue I linked, there is a suggestion that this might be resolved as of this PR. So I am trying to work out what the cause of this problem is, and whether it has been fixed in any of the images anywhere.. |
@MichaelSimons - Removing the RESX file from the problematic project allows it to build. So the problem looks specifically to occur when there are RESX files in these projects. |
* adding web testing projects * integrate web projects into ImageTests.cs * update per feedback * second update per code review feedbacks * 3rd update per code review feedbacks * 4th update per code review feedback * hopefully last update for this PR
@dazinator, Can you log a separate issue specific to the RESX issue you encountered? |
Will this also enable building WebDeploy packages by passing /p:DeployOnBuild=true to MSBuild? |
@jmezach - WebDeploy scenarios are not supported. Would appreciate it if you would log an issue enumerating the scenarios you would like to see supported. |
8755398
to
4424bbf
Compare
4424bbf
to
efba3c7
Compare
@MichaelSimons - Ok have opened #154 to track that resx issue. |
hey so now that this has been merged, is there much more left to do before it works? |
@VishalMadhvani - Can you share the cmd you executed and the results? Also what is the digest of the microsoft/dotnet-framework sdk image you are building with? Have you pulled the latest? e.g. |
@MichaelSimons I hadn't pulled latest.. this now works. Many thanks |
@MichaelSimons , I am facing following issue - Project "C:\app\UBSIntegrator.csproj" on node 1 (default targets). Following is the code inside docker file copy csproj and restore as distinct layersCOPY *.csproj . copy everything else and build appCOPY . . FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019 AS runtime Do Let me know what is the issue and how i can resolve it. |
@rkmish - could you provide repro steps? That would help greatly in diagnosing. Also please open a new discussion topic for this question. |
I've built preview images and published them at msimons/dotnet-framework-build for everyone to try out.