salaros / vs-templates-revit-addin

Visual Studio C# (project) template for easy Revit add-in creation
MIT License
84 stars 22 forks source link

Binding to Autodesk.Revit.SDK Nuget Design Time Errors #7

Closed kraftwerk15 closed 4 years ago

kraftwerk15 commented 4 years ago

I'm referencing the Autodesk.Revit.SDK and I have modified my .csproj file to match what is noted here: https://github.com/Equipple/vs-templates-revit-addin/blob/f099a5f91980c4b53f336705788fcb0820a326cc/src/RevitAddin.csproj#L105

Whenever I do this, only one version of the package is available during design time. image

My .csproj for reference: image

Any thoughts on this issue?

salaros commented 4 years ago

Hi @kraftwerk15, thanks for using this template. Could you please take a screenshot or copy paste the upper part of your project, where it says <TargetFramework> or <TargetFrameworks>?

kraftwerk15 commented 4 years ago

@salaros After I made the changes to all of the projects in Visual Studio, it was still giving me errors in the dependencies. I closed VS and reopened. No Issues.

image