I ran the above question thru AI and got the response that I had already tested and played around with. Essentially the .nuspec file ends up:
<?xml version="1.0" encoding="utf-8"?>
<package xmlns=".xsd">
<metadata>
<id>MCLibrary</id>
<version>25.2.1</version>
<title>MCLibrary</title>
<some stuff deleted>
<dependencies>
<group targetFramework="net48">
<dependency id="DevExpress.Xpo" version="[24.2.3,)" />
<dependency id="SmartInspect" version="[3.5.0,)" />
<dependency id="MCCode" version="[25.2.1,)" />
</group>
<group targetFramework="net8.0-windows10.0.17763">
<dependency id="DevExpress.Xpo" version="[24.2.3,)" />
<dependency id="SmartInspect" version="[3.5.0,)" />
<dependency id="MCCode" version="[25.2.1,)" />
</group>
</dependencies>
</metadata>
</package>
The following image is the result after installation ...
As you can see, the required dependency "MCCode"is not installed.
MCCode and MCLibrary are both located in the same network folder and MCCode itself is an available choice to install via the Nuget window in VStudio etc.
I believe I've tried everything I can think of as well as perusing a few similar questions here.
I ran the above question thru AI and got the response that I had already tested and played around with. Essentially the .nuspec file ends up:
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
<metadata>
<id>MCLibrary</id>
<version>25.2.1</version>
<title>MCLibrary</title>
<some stuff deleted>
<dependencies>
<group targetFramework="net48">
<dependency id="DevExpress.Xpo" version="[24.2.3,)" />
<dependency id="SmartInspect" version="[3.5.0,)" />
<dependency id="MCCode" version="[25.2.1,)" />
</group>
<group targetFramework="net8.0-windows10.0.17763">
<dependency id="DevExpress.Xpo" version="[24.2.3,)" />
<dependency id="SmartInspect" version="[3.5.0,)" />
<dependency id="MCCode" version="[25.2.1,)" />
</group>
</dependencies>
</metadata>
</package>
The following image is the result after installation ...
As you can see, the required dependency "MCCode"is not installed.
MCCode and MCLibrary are both located in the same network folder and MCCode itself is an available choice to install via the Nuget window in VStudio etc.
I believe I've tried everything I can think of as well as perusing a few similar questions here.
As you can see, the required dependency "MCCode" is not installed.
May i confirm with you that if this package "MCCode" is customized and hosted on your local/third-party feed? Because I can't find this package in "nuget.org"(https://api.nuget.org/v3/index.json).
If so, please upload package "MCCode" to your local/third-party feed and add these package sources to Nuget.Config
file.
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="localfeed" value="your local/third-party feed location" />
</packageSources>
You can also configure package source via Tools->Nuget Package Manager in Visual Studio.
Test Result: