Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Excel-DNA/ExcelDna
Browse files Browse the repository at this point in the history
  • Loading branch information
govert committed Jun 28, 2020
2 parents d260b3d + c08ac99 commit 80b8016
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Package/ExcelDna.AddIn/build/ExcelDna.AddIn.targets
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@
Target that checks if the project is not compatible with Excel-DNA
-->
<Target Name="ExcelDnaCheckPackageProjectStyle" BeforeTargets="CoreCompile">
<Error Text="Excel-DNA is not compatible with projects that use NuGet `PackageReference`. Make sure you create a .NET Framework (Class Library) project and configure Visual Studio to use `packages.config`"
Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' OR '$(RestoreProjectStyle)' == 'ProjectJson' OR '$(NuGetProjectStyle)' == 'PackageReference' " />
<Warning Code="DNA1546"
Text="Excel-DNA is not compatible with projects that use NuGet `PackageReference`. Make sure you create a .NET Framework (Class Library) project and configure Visual Studio to use `packages.config`"
Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' OR '$(RestoreProjectStyle)' == 'ProjectJson' OR '$(NuGetProjectStyle)' == 'PackageReference' " />
</Target>

<!--
Expand Down

0 comments on commit 80b8016

Please sign in to comment.