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
When following build-and-install-from-the-repository steps, the build fails during dotnet pack for all 3 projects in that solution, all following the format [name-of-project].csproj : error NU1101/NU1102: Unable to find the package [name-of-project]. I was not able to find anything inside any of the .csproj files that would cause this.
Was able to recreate this in Windows, MacOS and a fresh install of .NET 7 on WSL2 Debian 11.
Reproduction steps
Run git clone https://github.com/AzureAD/microsoft-identity-web & cd tools/app-provisioning-tool.
Run either dotnet pack or dotnet build
Error message
MSBuild version 17.8.0+6cdef4241 for .NET
Determining projects to restore...
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-tool\msidentity-app-sync.csproj : error NU1102: Unable to find package msidentity-app-sync with version (= 2.7.0) [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-tool\msidentity-app-sync.csproj : error NU1102: - Found 2 version(s) in nuget.org [ Nearest version: 1.0.1 ] [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-tool\msidentity-app-sync.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-tool\msidentity-app-sync.csproj : error NU1102: - Found 0 version(s) in C:\Program Files\dotnet\library-packs [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\tests\Tests.csproj : error NU1102: Unable to find package Tests with version (= 2.7.0) [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\tests\Tests.csproj : error NU1102: - Found 2 version(s) in nuget.org [ Nearest version: 1.0.0-b2017040802 ] [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\tests\Tests.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\tests\Tests.csproj : error NU1102: - Found 0 version(s) in C:\Program Files\dotnet\library-packs [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-lib\app-provisioning-lib.csproj : error NU1101: Unable to find package app-provisioning-lib. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
Failed to restore C:\Development\microsoft-identity-web\tools\app-provisioning-tool\tests\Tests.csproj (in 932 ms).
Failed to restore C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-lib\app-provisioning-lib.csproj (in 927 ms).
Failed to restore C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-tool\msidentity-app-sync.csproj (in 930 ms).
Build FAILED.
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-tool\msidentity-app-sync.csproj : error NU1102: Unable to find package msidentity-app-sync with version (= 2.7.0) [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-tool\msidentity-app-sync.csproj : error NU1102: - Found 2 version(s) in nuget.org [ Nearest version: 1.0.1 ] [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-tool\msidentity-app-sync.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-tool\msidentity-app-sync.csproj : error NU1102: - Found 0 version(s) in C:\Program Files\dotnet\library-packs [
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\tests\Tests.csproj : error NU1102: Unable to find package Tests with version (= 2.7.0) [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\tests\Tests.csproj : error NU1102: - Found 2 version(s) in nuget.org [ Nearest version: 1.0.0-b2017040802 ] [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\tests\Tests.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\tests\Tests.csproj : error NU1102: - Found 0 version(s) in C:\Program Files\dotnet\library-packs [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning-lib\app-provisioning-lib.csproj : error NU1101: Unable to find package app-provisioning-lib. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org [C:\Development\microsoft-identity-web\tools\app-provisioning-tool\app-provisioning.sln]
0 Warning(s)
3 Error(s)
Time Elapsed 00:00:04.98
Microsoft.Identity.Web Library
Microsoft.Identity.Web
Microsoft.Identity.Web version
2.15.3
Web app
Not Applicable
Web API
Not Applicable
Token cache serialization
Not Applicable
Description
When following build-and-install-from-the-repository steps, the build fails during
dotnet pack
for all 3 projects in that solution, all following the format[name-of-project].csproj : error NU1101/NU1102: Unable to find the package [name-of-project]
. I was not able to find anything inside any of the .csproj files that would cause this.Was able to recreate this in Windows, MacOS and a fresh install of .NET 7 on WSL2 Debian 11.
Reproduction steps
git clone https://github.com/AzureAD/microsoft-identity-web
&cd tools/app-provisioning-tool
.dotnet pack
ordotnet build
Error message
Id Web logs
No response
Relevant code snippets
Regression
No response
Expected behavior
Build does not look up project names as package dependencies.
The text was updated successfully, but these errors were encountered: