Skip to content

Commit

Permalink
fix for MsIdentity by adding Microsoft.Build assembly using Microsoft…
Browse files Browse the repository at this point in the history
….Build.Locator (#1745) (#1748)
  • Loading branch information
deepchoudhery authored Dec 14, 2021
1 parent c0744a5 commit 75892f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public async Task AddAuthCodeAsync()
if (!MSBuildLocator.IsRegistered)
{
MSBuildLocator.RegisterDefaults();
}
}

//Initialize CodeAnalysis.Project wrapper
CodeAnalysis.Project project = await CodeAnalysisHelper.LoadCodeAnalysisProjectAsync(_toolOptions.ProjectFilePath);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<ItemGroup>
<ProjectReference Include="$(RepoRoot)\src\Shared\Microsoft.DotNet.Scaffolding.Shared\Microsoft.DotNet.Scaffolding.Shared.csproj" />
<PackageReference Include="Microsoft.Build.Locator" Version="$(MicrosoftBuildLocatorPackageVersion)" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="6.0.0"/>
<Folder Include="Resources\" />
</ItemGroup>

Expand Down

0 comments on commit 75892f6

Please sign in to comment.