Repository navigation
Set RestoreUseSkipNonexistentTargets=false in the 2.0 image to workaround changes between the 2.1.4 and 2.1.101 SDK - #389
Conversation
…ound changes in the SDK between 2.1.4 and 2.1.101
|
@natemcmaster do you know if there are any plans to implement the same workaround in the |
|
No immediate plans. Why do you ask? We chose to put this here as a targeted workaround because the Visual Studio tooling generates a reference to |
|
In the |
|
Oofta, I don't think anyone pointed that out. I'll use my internal email powers to forward this along. |
|
@alexvy86 in the meantime, you can always add |
|
Yes, I did find those two solutions and already applied one, thanks! |
|
@alexvy86 It's my understanding that dotnet:2.1-sdk is replacing the aspnet-build image. Can this fix or a better fix be applied? Thanks. |
|
@AceHack not for me to decide, I don't work at Microsoft :). The fix @natemcmaster suggested is for our projects' Dockerfiles though, so you can still do either of those. I did notice that the 2.1-sdk image doesn't have the same workaround as the 2.0-sdk image, but I've since become of the opinion that copying the |
|
@alexvy86 I have several csproj files and this just feels like a hack. It would be nice to just be able to copy everything and have it ignore the dcproj inside the docker container. |
|
Are they independent I actually don't consider it a hack because in my mind the |
|
In fact, the latest version of Visual Studio generates Dockerfiles that do just that, call |
|
This is not a change we plan to port to the 2.1 images for three reasons:
|
Workaround microsoft/DockerTools#87.
Addresses #388
FYI @glennc @nkolev92 @Eilon