Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fail - related to rainmeter? #8

Closed
sameerasw opened this issue Apr 10, 2023 · 1 comment
Closed

Build fail - related to rainmeter? #8

sameerasw opened this issue Apr 10, 2023 · 1 comment

Comments

@sameerasw
Copy link

sameerasw commented Apr 10, 2023

Still fails even after ending rainmeter process

I love to try projects like these but unfortunately don't have much knowledge in .NET yet :)

 dotnet run --project StageManager
C:\Program Files\dotnet\sdk\6.0.407\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets(28,5): war
ning NETSDK1138: The target framework 'net5.0-windows' is out of support and will not receive security updates in the f
uture. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [C:\Users\same
e\Documents\Rainmeter\Skins\MenuBar\StageManager\workspacer.Shared\workspacer.Shared.csproj]
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'AsyncAwaitBestPractices (>= 6.0.5)' for 'net6.0-windows10.0.22000'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\workspacer.Shared\workspacer.Shared.csproj : error NU1100
: Unable to resolve 'NLog (>= 5.0.4)' for 'net5.0-windows7.0'. [C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageM
anager\StageManager\StageManager.csproj]
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'MahApps.Metro (>= 2.4.9)' for 'net6.0-windows10.0.22000'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'SharpHook (>= 3.1.1)' for 'net6.0-windows10.0.22000'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'WpfScreenHelper (>= 2.1.0)' for 'net6.0-windows10.0.22000'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\workspacer.Shared\workspacer.Shared.csproj : error NU1100
: Unable to resolve 'NLog (>= 5.0.4)' for 'net5.0-windows7.0/win10-x64'. [C:\Users\samee\Documents\Rainmeter\Skins\Menu
Bar\StageManager\StageManager\StageManager.csproj]
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'NLog (>= 5.0.4)' for 'net6.0-windows10.0.22000'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'AsyncAwaitBestPractices (>= 6.0.5)' for 'net6.0-windows10.0.22000/win-x64'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'MahApps.Metro (>= 2.4.9)' for 'net6.0-windows10.0.22000/win-x64'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'SharpHook (>= 3.1.1)' for 'net6.0-windows10.0.22000/win-x64'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'WpfScreenHelper (>= 2.1.0)' for 'net6.0-windows10.0.22000/win-x64'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'NLog (>= 5.0.4)' for 'net6.0-windows10.0.22000/win-x64'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'AsyncAwaitBestPractices (>= 6.0.5)' for 'net6.0-windows10.0.22000/win-x86'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'MahApps.Metro (>= 2.4.9)' for 'net6.0-windows10.0.22000/win-x86'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'SharpHook (>= 3.1.1)' for 'net6.0-windows10.0.22000/win-x86'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'WpfScreenHelper (>= 2.1.0)' for 'net6.0-windows10.0.22000/win-x86'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'NLog (>= 5.0.4)' for 'net6.0-windows10.0.22000/win-x86'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\workspacer.Shared\workspacer.Shared.csproj : error NU1100
: Unable to resolve 'Microsoft.NETCore.App.Ref (= 5.0.0)' for 'net5.0-windows7.0'. [C:\Users\samee\Documents\Rainmeter\
Skins\MenuBar\StageManager\StageManager\StageManager.csproj]
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'Microsoft.NETCore.App.Runtime.win-x64 (= 6.0.15)' for 'net6.0-windows10.0.22000'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\workspacer.Shared\workspacer.Shared.csproj : error NU1100
: Unable to resolve 'Microsoft.WindowsDesktop.App.Ref (= 5.0.0)' for 'net5.0-windows7.0'. [C:\Users\samee\Documents\Rai
nmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj]
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'Microsoft.NETCore.App.Runtime.win-x86 (= 6.0.15)' for 'net6.0-windows10.0.22000'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\workspacer.Shared\workspacer.Shared.csproj : error NU1100
: Unable to resolve 'Microsoft.AspNetCore.App.Ref (= 5.0.0)' for 'net5.0-windows7.0'. [C:\Users\samee\Documents\Rainmet
er\Skins\MenuBar\StageManager\StageManager\StageManager.csproj]
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'Microsoft.WindowsDesktop.App.Runtime.win-x64 (= 6.0.15)' for 'net6.0-windows10.0.22000'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'Microsoft.WindowsDesktop.App.Runtime.win-x86 (= 6.0.15)' for 'net6.0-windows10.0.22000'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'Microsoft.AspNetCore.App.Runtime.win-x64 (= 6.0.15)' for 'net6.0-windows10.0.22000'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'Microsoft.AspNetCore.App.Runtime.win-x86 (= 6.0.15)' for 'net6.0-windows10.0.22000'.
C:\Users\samee\Documents\Rainmeter\Skins\MenuBar\StageManager\StageManager\StageManager.csproj : error NU1100: Unable t
o resolve 'Microsoft.Windows.SDK.NET.Ref (= 10.0.22000.28)' for 'net6.0-windows10.0.22000'.

The build failed. Fix the build errors and run again.
@awaescher
Copy link
Owner

It seems you cloned the repository under C:\Users\same e\Documents\Rainmeter\Skins\MenuBar\ which might not be intended.
I can assure you it does not conflict with the app Rainmeter it's just in the log because you cloned in into that path.

The real issue here is this: error NU1100: Unable t o resolve 'Microsoft.WindowsDesktop.App.Runtime.win-x64 (= 6.0.15)' for 'net6.0-windows10.0.22000'.

It seems you did not install the .NET SDK in version 6, you can install it from here. Check its availability on your machine with the command dotnet --list-sdks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants