Coder Social home page Coder Social logo

Comments (11)

richlander avatar richlander commented on August 17, 2024

Great question.

Two challenges to that:

  • .NET 4.5 is out of support. .NET 4.5.2 is in support so would be an option.
  • Windows containers don't support this scenario since Windows Server 2016 contains .NET Framework 4.6.2. Neither .NET Framework or Windows containers enables us to "go backwards". We cannot provide an older .NET Framework in place of 4.6.2 or an older Windows Server container images than 2016. Everything about Windows containers is forward looking from the point of Windows Server 2016 and Windows 10.

from dotnet-framework-docker.

AArnott avatar AArnott commented on August 17, 2024

net452 would probably be fine. The main requirement for my own purposes is to not have net46+.

I was concerned that your second point would be made. 😢 What if we hacked it? You know... took a servercore image and replaced .NET dll's with those delivered by net45x?

from dotnet-framework-docker.

richlander avatar richlander commented on August 17, 2024

Sure. That could work. It obviously wouldn't be supported/endorsed/hosted but it could work well enough for testing (assuming that there are no Windows 10 app compat issues we worked around; I don't know).

You'd need a copy of 4.5.2 and a Dockerfile that pulled it all together.

from dotnet-framework-docker.

AArnott avatar AArnott commented on August 17, 2024

Just one more idea... is .NET Framework an optional component on Server Core? As in, could it be removed with a dism command or similar, perhaps? If so, we could do that in the dockerfile then install 4.5.x

from dotnet-framework-docker.

richlander avatar richlander commented on August 17, 2024

That's an interesting q. It might be. You'd have to try.

from dotnet-framework-docker.

richlander avatar richlander commented on August 17, 2024

I'm going to close this issue. There is no official product direction on this and no obvious guidance for me to give you. I gave you another Microsoft contact offline for you to brainstorm with on possible avenues to make this work for your scenario.

from dotnet-framework-docker.

SeidChr avatar SeidChr commented on August 17, 2024

i would vote for this. just trying to setup a ci with docker, and its not possible to compile our 4.5.2 projects 👎

from dotnet-framework-docker.

AArnott avatar AArnott commented on August 17, 2024

@Vittel, it sounds like you want to vote for it, but you gave it a thumbs down, so I'm a bit confused.

Also, you don't need this to compile 4.5.2 projects, since you can target net452 even with the net46 runtime on the box. You just need the net452 targeting pack installed.
I need this because I want to run tests on the net452 runtime.

from dotnet-framework-docker.

SeidChr avatar SeidChr commented on August 17, 2024

Was a thumbs down for closing the ticket.
Also what you just wrote is absolutely correct as i had figured out earlier. My ci container is up and running :)

from dotnet-framework-docker.

richlander avatar richlander commented on August 17, 2024

@Vittel, what @AArnott says is correct. You don't need his proposal for your needs. What would benefit you is: #37. We intend to add a .NET Framework 4.5.2 targeting pack as part of that PR (or a later one).

from dotnet-framework-docker.

SeidChr avatar SeidChr commented on August 17, 2024

@richlander thanks for confirming. also: #24 (comment) 💃

from dotnet-framework-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.