Skip to content
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

add netcoreapp3.0 global tool #315

Closed
wants to merge 24 commits into from
Closed

Conversation

ctaggart
Copy link
Contributor

Based on #279 from @onovotny, but uses latest preview 3 and sets the global.json just on the Azure Pipelines build.

azure-pipelines.yml Outdated Show resolved Hide resolved
@ctaggart
Copy link
Contributor Author

I'm not sure what this error is from:

image

I know that switching from TargetFramework to TargetFrameworks adds an additional folder. May be something in the gulpfile needs updating.

@@ -1,8 +1,6 @@
<Project>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<OutputPath>$(MSBuildThisFileDirectory)..\bin\$(MSBuildProjectName)\$(Configuration)\</OutputPath>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This combined with TargetFrameworks does not work. It is easier to just dotnet publish.

<RootNamespace>Nerdbank.GitVersioning.Tool</RootNamespace>
<Description>A .NET Core Tool that can install, read and set version information based on git history, using Nerdbank.GitVersioning.</Description>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NuGet.PackageManagement" Version="4.9.3" NoWarn="NU1701" />
<PackageReference Include="NuGet.Resolver" Version="4.9.3" />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were only used by GetLatestPackageVersionAsync. They are netframework only and cause a bunch of dependency problems. Hopefully there is an easier way with NuGet 5.0.

@ctaggart ctaggart closed this Apr 22, 2019
@ctaggart ctaggart mentioned this pull request Apr 22, 2019
@ctaggart ctaggart deleted the 3preview3 branch April 22, 2019 15:48
AArnott added a commit that referenced this pull request Dec 8, 2024
Use `-LiteralPath` instead of `-Path` in ps1 scripts
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.

2 participants