You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project.json file for Microsoft.DotNet.Cli.Utils contains a version number like this:
"version": "1.0.0-preview4-*"
The it is referenced in project dotnet-dependency-tool-invoker like this:
"dependencies": {
"Microsoft.DotNet.Cli.Utils": {
"target": "project"
}
}
After running dotnet pack, examining the nuspec file you see this snippet
nuspec:
<dependencies>
<group targetFramework=".NETCoreApp1.0">
<dependency id="Microsoft.DotNet.Cli.Utils" version="[1.0.0-preview4-004081, )" />
</group>
</dependencies>
After migrating to csproj, when running dotnet pack you get this:
<dependencies>
<group targetFramework=".NETCoreApp1.0">
<dependency id="Microsoft.DotNet.Cli.Utils" version="1.0.0" exclude="Build,Analyzers" />
</group>
</dependencies>
Note that we get the wrong version number for Microsoft.DotNet.Cli.Utils. In dotnet-dependency-tool-invoker.csproj if I change the reference to Microsoft.DotNet.Cli.Utils to a PackageReference instead of a ProjectReference things work. But that seems like a bug.
The text was updated successfully, but these errors were encountered:
The project.json file for Microsoft.DotNet.Cli.Utils contains a version number like this:
"version": "1.0.0-preview4-*"
The it is referenced in project dotnet-dependency-tool-invoker like this:
"dependencies": {
"Microsoft.DotNet.Cli.Utils": {
"target": "project"
}
}
After running dotnet pack, examining the nuspec file you see this snippet
nuspec:
<dependencies>
<group targetFramework=".NETCoreApp1.0">
<dependency id="Microsoft.DotNet.Cli.Utils" version="[1.0.0-preview4-004081, )" />
</group>
</dependencies>
After migrating to csproj, when running dotnet pack you get this:
<dependencies>
<group targetFramework=".NETCoreApp1.0">
<dependency id="Microsoft.DotNet.Cli.Utils" version="1.0.0" exclude="Build,Analyzers" />
</group>
</dependencies>
Note that we get the wrong version number for Microsoft.DotNet.Cli.Utils. In dotnet-dependency-tool-invoker.csproj if I change the reference to Microsoft.DotNet.Cli.Utils to a PackageReference instead of a ProjectReference things work. But that seems like a bug.
The text was updated successfully, but these errors were encountered: