Skip to content

Commit

Permalink
Merge pull request #478 from microsoft/release/update/241107074307
Browse files Browse the repository at this point in the history
Fix for Missing Nuget Target in Client Lib Nuget package.
  • Loading branch information
MattB-msft authored Nov 7, 2024
2 parents 02bfe18 + a75c7f0 commit 42bcd7e
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<SignAssembly>true</SignAssembly>
<ComponentAreaName>DataverseClient-Tests-Package</ComponentAreaName>
<IsPackable>false</IsPackable>
<NoWarn>NU1605</NoWarn>

<!-- Ensure we don't clobber local machine's package cache with dev/alpha versions. -->
<RestorePackagesPath>$(MSBuildThisFileDirectory)..\.packages</RestorePackagesPath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
</RestoreAdditionalProjectSources>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<TargetDvClientPackageVersion Condition=" '$(TargetDvClientPackageVersion)' == '' ">1.0.26</TargetDvClientPackageVersion>
<NoWarn>NU1605</NoWarn>

<!-- Ensure we don't clobber local machine's package cache with dev/alpha versions. -->
<RestorePackagesPath>$(MSBuildThisFileDirectory)..\.packages</RestorePackagesPath>
Expand Down
14 changes: 10 additions & 4 deletions src/nuspecs/Microsoft.PowerPlatform.Dataverse.Client.AzAuth.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,30 @@
<tags>Dynamics CommonDataService CDS PowerApps PowerPlatform ServiceClient Dataverse</tags>
<dependencies>
<group targetFramework=".NETFramework4.6.2">
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.1.27" exclude="Build,Analyzers" />
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.2.0" exclude="Build,Analyzers" />
<dependency id="Azure.Identity" version="1.12.0" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETFramework4.7.2">
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.1.27" exclude="Build,Analyzers" />
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.2.0" exclude="Build,Analyzers" />
<dependency id="Azure.Identity" version="1.12.0" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETFramework4.8">
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.1.27" exclude="Build,Analyzers" />
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.2.0" exclude="Build,Analyzers" />
<dependency id="Azure.Identity" version="1.12.0" exclude="Build,Analyzers" />
</group>
<group targetFramework="NET6.0">
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.1.27" exclude="Build,Analyzers" />
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.2.0" exclude="Build,Analyzers" />
<dependency id="Azure.Identity" version="1.12.0" exclude="Build,Analyzers" />
</group>
<group targetFramework="NET8.0">
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.2.0" exclude="Build,Analyzers" />
<dependency id="Azure.Identity" version="1.12.0" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
<files>
<file src="{signedBinDir}\{configuration}\DataverseClient\net8.0\Microsoft.PowerPlatform.Dataverse.Client.AzAuth.dll" target="lib\net8.0\Microsoft.PowerPlatform.Dataverse.Client.AzAuth.dll" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net8.0\Microsoft.PowerPlatform.Dataverse.Client.AzAuth.xml" target="lib\net8.0\Microsoft.PowerPlatform.Dataverse.Client.AzAuth.xml" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net6.0\Microsoft.PowerPlatform.Dataverse.Client.AzAuth.dll" target="lib\net6.0\Microsoft.PowerPlatform.Dataverse.Client.AzAuth.dll" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net6.0\Microsoft.PowerPlatform.Dataverse.Client.AzAuth.xml" target="lib\net6.0\Microsoft.PowerPlatform.Dataverse.Client.AzAuth.xml" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net472\Microsoft.PowerPlatform.Dataverse.Client.AzAuth.dll" target="lib\net472\Microsoft.PowerPlatform.Dataverse.Client.AzAuth.dll" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,21 @@
<tags>Dynamics CommonDataService CDS PowerApps PowerPlatform ServiceClient Dataverse</tags>
<dependencies>
<group targetFramework=".NETFramework4.6.2">
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.1.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.2.2" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETFramework4.7.2">
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.1.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.2.2" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETFramework4.8">
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.1.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.2.2" exclude="Build,Analyzers" />
</group>
<group targetFramework="NET6.0">
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.1.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.2.2" exclude="Build,Analyzers" />
</group>
<group targetFramework="NET8.0">
<dependency id="Microsoft.PowerPlatform.Dataverse.Client" version="1.2.0" exclude="Build,Analyzers" />
</group>

</dependencies>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System.IO" targetFramework=".NETFramework4.7.2, .NETFramework4.8" />
Expand All @@ -39,6 +43,8 @@
</frameworkAssemblies>
</metadata>
<files>
<file src="{signedBinDir}\{configuration}\DataverseClient\net8.0\Microsoft.PowerPlatform.Dataverse.Client.Dynamics.dll" target="lib\net8.0\Microsoft.PowerPlatform.Dataverse.Client.Dynamics.dll" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net8.0\Microsoft.PowerPlatform.Dataverse.Client.Dynamics.xml" target="lib\net8.0\Microsoft.PowerPlatform.Dataverse.Client.Dynamics.xml" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net6.0\Microsoft.PowerPlatform.Dataverse.Client.Dynamics.dll" target="lib\net6.0\Microsoft.PowerPlatform.Dataverse.Client.Dynamics.dll" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net6.0\Microsoft.PowerPlatform.Dataverse.Client.Dynamics.xml" target="lib\net6.0\Microsoft.PowerPlatform.Dataverse.Client.Dynamics.xml" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net472\Microsoft.PowerPlatform.Dataverse.Client.Dynamics.dll" target="lib\net472\Microsoft.PowerPlatform.Dataverse.Client.Dynamics.dll" />
Expand Down
7 changes: 7 additions & 0 deletions src/nuspecs/Microsoft.PowerPlatform.Dataverse.Client.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@
</frameworkAssemblies>
</metadata>
<files>
<file src="{signedBinDir}\{configuration}\DataverseClient\net8.0\Microsoft.PowerPlatform.Dataverse.Client.dll" target="lib\net8.0\Microsoft.PowerPlatform.Dataverse.Client.dll" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net8.0\Microsoft.Xrm.Sdk.dll" target="lib\net8.0\Microsoft.Xrm.Sdk.dll" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net8.0\Microsoft.Crm.Sdk.Proxy.dll" target="lib\net8.0\Microsoft.Crm.Sdk.Proxy.dll" />
<file src="{sdkIntellisenseDir}\V9\PublishedXML\CE\Microsoft.PowerPlatform.Dataverse.Client.xml" target="lib\net8.0\Microsoft.PowerPlatform.Dataverse.Client.xml" />
<file src="{sdkIntellisenseDir}\V9\PublishedXML\CE\Microsoft.Xrm.Sdk.xml" target="lib\net8.0\Microsoft.Xrm.Sdk.xml" />
<file src="{sdkIntellisenseDir}\V9\PublishedXML\CE\Microsoft.Crm.Sdk.Proxy.xml" target="lib\net8.0\Microsoft.Crm.Sdk.Proxy.xml" />

<file src="{signedBinDir}\{configuration}\DataverseClient\net6.0\Microsoft.PowerPlatform.Dataverse.Client.dll" target="lib\net6.0\Microsoft.PowerPlatform.Dataverse.Client.dll" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net6.0\Microsoft.Xrm.Sdk.dll" target="lib\net6.0\Microsoft.Xrm.Sdk.dll" />
<file src="{signedBinDir}\{configuration}\DataverseClient\net6.0\Microsoft.Crm.Sdk.Proxy.dll" target="lib\net6.0\Microsoft.Crm.Sdk.Proxy.dll" />
Expand Down

0 comments on commit 42bcd7e

Please sign in to comment.