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

Targeting 2025 #5

Closed
russgreen opened this issue Feb 5, 2024 · 0 comments
Closed

Targeting 2025 #5

russgreen opened this issue Feb 5, 2024 · 0 comments

Comments

@russgreen
Copy link

russgreen commented Feb 5, 2024

I'm using these package references to test my addins against the preview Revit.

<PackageReference Include="Nice3point.Revit.Api.RevitAPI" Version="$(RevitVersion).*-*" />
<PackageReference Include="Nice3point.Revit.Api.RevitAPIUI" Version="$(RevitVersion).*-*" />

They've worked in the past but today I'm getting an error. I can see the latest version on nuget is 2025.0.0-preview0111 but VS is trying to pull package version 2025.0.0.0-preview2401 and results in an error.

Severity	Code	Description	Project	File	Line	Suppression State
Error	NU1202	Package Nice3point.Revit.Api.AdWindows 2025.0.0-preview2401 is not compatible with net8.0-windows7.0 (.NETCoreApp,Version=v8.0). Package Nice3point.Revit.Api.AdWindows 2025.0.0-preview2401 supports: 202500preview2401 (2025.0.0-preview2401,Version=v0.0)	

If I use 2025.0.0-preview0111 instead of $(RevitVersion).*-* I get the latest package

Package manager is still downloading .nuget\packages\nice3point.revit.api.revitapi\2025.0.0-preview2401

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

1 participant