Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add repository URL to packages
Browse files Browse the repository at this point in the history
Fix MSBuildLocator stuff

Signed-off-by: Jonathan Mezach <[email protected]>
jmezach committed Jul 24, 2024
1 parent b55374d commit e0a7020
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PackageProjectUrl>https://github.com/rr-wfm/MSBuild.Sdk.SqlProj</PackageProjectUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning">
<Version>3.6.139</Version>
Original file line number Diff line number Diff line change
@@ -19,8 +19,7 @@ public static IResourceBuilder<DataTierApplicationResource> AddDataTierApplicati
{
if (!MSBuildLocator.IsRegistered)
{
MSBuildLocator.RegisterInstance(MSBuildLocator.QueryVisualStudioInstances().OrderByDescending(
instance => instance.Version).First());
MSBuildLocator.RegisterDefaults();
}

var resource = new DataTierApplicationResource(name);

0 comments on commit e0a7020

Please sign in to comment.