Skip to content

Commit

Permalink
removing now useless target to avoid CopyLocal=true for Revit API dlls
Browse files Browse the repository at this point in the history
  • Loading branch information
salaros committed Mar 16, 2021
1 parent 185ca13 commit a493d15
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/RevitAddin.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop" ToolsVersion="Current">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop" ToolsVersion="Current">

<PropertyGroup>
<Configurations>Debug;Release;Debug One</Configurations>
Expand Down Expand Up @@ -123,13 +123,6 @@
<Reference Include="System.Windows.Forms" />
</ItemGroup>

<Target Name="PreventRevitSDKCopyLocal" AfterTargets="ResolveReferences">
<ItemGroup>
<!-- A temporary fix for Revit SDK files being copied to the output folder -->
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' == 'Autodesk.Revit.SDK'" />
</ItemGroup>
</Target>

<ItemGroup>
<!-- Add-in manifest is processed via MSBuild -->
<Content Include="AddinManifest.addin">
Expand Down

0 comments on commit a493d15

Please sign in to comment.