I want to create a self contained web application using .NET Core. I want to target any version of Windows and have this in my project.json
:
"runtimes": {
"win10-x64": { },
"win8-x64": { },
"win7-x64": { }
}
When I run dotnet publish --runtime win10-x64
I can only specify a single runtime to publish at a time. I then have to maintain three copies of my binaries.
Is it possible to publish my app for all three runtimes and copy that folder around as a completely self contained application?