Skip to content

Fix #36 - Remote Debug fails for projects that multi target several frameworks (Error NETSDK1129) - #38

Closed
MagicAndre1981 wants to merge 3 commits into
nforgeio:mainfrom
MagicAndre1981:fix-36
Closed

MagicAndre1981 wants to merge 3 commits into
nforgeio:mainfrom
MagicAndre1981:fix-36

Conversation

@MagicAndre1981

Copy link
Copy Markdown
Contributor

Fixed #36 - Remote Debug fails for projects that multi target several frameworks (Error NETSDK1129).

I used IActiveDebugFrameworkServices to check for selected framework to pass this to dotnet publish. For single TargetFramework projects this is null, in this case the old command without --framework parameter.

Because IActiveDebugFrameworkServices is not available in stable nuget, I had to add a nuget.config with pre-Release feed to fetch the required packages that include this important functionality.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remote Debug fails for projects that multi target several frameworks (Error NETSDK1129)

1 participant