Skip to content

Commit

Permalink
extension: Fix dll check for cs project #7
Browse files Browse the repository at this point in the history
  • Loading branch information
roxk committed Apr 3, 2024
1 parent 0c75e49 commit 1c81556
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ private async Task<string> GetUnpackagedAppNameAsync(Project docProject, string
private async Task<bool> IsDllProjectAsync(Project project)
{
var isDllProjectCpp = (await project.GetAttributeAsync("ConfigurationType")) == "DynamicLibrary";
var isDllProjectCs = (await project.GetAttributeAsync("OutputType")) == "WinExe";
return isDllProjectCpp || isDllProjectCpp;
var isDllProjectCs = (await project.GetAttributeAsync("OutputType")) != "WinExe";
return isDllProjectCpp || isDllProjectCs;
}

private async Task<List<string>> GetDllPathsAsync(Project project, CancellationToken token)
Expand Down

0 comments on commit 1c81556

Please sign in to comment.