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

Docker tools fail if multiple TFMs in project file #1056

Closed
matthewDDennis opened this Issue Aug 30, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@matthewDDennis

matthewDDennis commented Aug 30, 2017

If you modify your projects to have multiple frameworks with the <TargetFrameworks> tag, then the Docker tools does not know which framework to use as there is no <TargetFramework> tag.

Adding the <TargetFramework>netcoreapp1.1<...> fixes the problem in Visual Studio and all the frameworks build and can debug with Docker.

However, if you try and build a framework other than the netcoreapp1.1 with the DotNet CLI, it fails as it, as the documentation states, will ignore the <TargetFrameworks> tag if the <TargetFramework> tag is present

@barrytang

This comment has been minimized.

barrytang commented Aug 31, 2017

To report new issues, use the Report a Problem tool. The GitHub Issue Tracker for the aspnet/Tooling repo is now deprecated in favor of the Report a Problem tool.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks. See here for more details.

@barrytang barrytang closed this Aug 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment