|
|
@@ -47,13 +47,17 @@
|
|
|
version string to use as our publish location), non-packed (won't be shipped in the future), and it is _not_ a
|
|
|
C# or F# project. For now at least, C# and F# projects should not be referenced when using desktop msbuild.
|
|
|
-->
|
|
|
- <MSBuild Projects="$(RepoRoot)src\SignalR\clients\ts\FunctionalTests\SignalR.Npm.FunctionalTests.nodeproj"
|
|
|
- Properties="DisableYarnCheck=true;ExcludeFromBuild=false"
|
|
|
+ <MSBuild Projects="$(RepoRoot)eng\Npm.Workspace.nodeproj"
|
|
|
+ Properties="ExcludeFromBuild=false"
|
|
|
Targets="_GetPackageVersionInfo">
|
|
|
<Output TaskParameter="TargetOutputs" ItemName="_ResolvedPackageVersionInfo" />
|
|
|
</MSBuild>
|
|
|
|
|
|
<PropertyGroup>
|
|
|
+ <!-- _GetPackageVersionInfo will return all the versions for all public/shipping packages.
|
|
|
+ They are all the same, so we just take the last one.
|
|
|
+ If this changes in the future, we'll have to update this logic.
|
|
|
+ -->
|
|
|
<_PackageVersion>@(_ResolvedPackageVersionInfo->'%(PackageVersion)')</_PackageVersion>
|
|
|
</PropertyGroup>
|
|
|
|
|
|
@@ -101,19 +105,23 @@
|
|
|
Name="_WriteProductVersionFile"
|
|
|
Condition=" '$(PublishInstallerBaseVersion)' == 'true'">
|
|
|
<!--
|
|
|
- This target is defined in eng/targets/Packaging.targets and Npm.Common.targets and included in every C#, F#,
|
|
|
- and npm project. We use Microsoft.JSInterop.JS.nodeproj because it is shipping (we need a stable
|
|
|
+ This target is defined in eng/targets/Packaging.targets and Npm.Workspace.nodeproj and included in every C#, F#,
|
|
|
+ and JS project. We use Microsoft.JSInterop.JS.nodeproj because it is shipping (we need a stable
|
|
|
version string to use for productVersion.txt), and because it won't break when the SDK requires a newer
|
|
|
desktop MSBuild than exists on the build machine.
|
|
|
-->
|
|
|
- <MSBuild Projects="$(RepoRoot)src\JSInterop\Microsoft.JSInterop.JS\src\Microsoft.JSInterop.JS.nodeproj"
|
|
|
- Properties="DisableYarnCheck=true;ExcludeFromBuild=false"
|
|
|
+ <MSBuild Projects="$(RepoRoot)eng\Npm.Workspace.nodeproj"
|
|
|
+ Properties="ExcludeFromBuild=false"
|
|
|
Targets="_GetPackageVersionInfo">
|
|
|
<Output TaskParameter="TargetOutputs" ItemName="_ResolvedProductVersionInfo" />
|
|
|
</MSBuild>
|
|
|
|
|
|
<PropertyGroup>
|
|
|
- <_ProductVersion>@(_ResolvedProductVersionInfo->'%(PackageVersion)')</_ProductVersion>
|
|
|
+ <!-- _GetPackageVersionInfo will return all the versions for all public/shipping packages.
|
|
|
+ They are all the same, so we just take the last one.
|
|
|
+ If this changes in the future, we'll have to update this logic.
|
|
|
+ -->
|
|
|
+ <_ProductVersion>%(_ResolvedProductVersionInfo.PackageVersion)</_ProductVersion>
|
|
|
</PropertyGroup>
|
|
|
|
|
|
<!-- Generate productVersion.txt containing the value of $(PackageVersion) -->
|