Skip to content

Commit 15f07e3

Browse files
committed
Fix issue where we would copy the lib always
Which in turn will make the build fail if the developers are using iis proper to develop.
1 parent 0508f92 commit 15f07e3

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

LibSass.NET/libsassnet.targets

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<ItemGroup>
4-
<NativeLibs Include="$(MSBuildThisFileDirectory)**\*.dll" />
5-
<None Include="@(NativeLibs)">
6-
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
7-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
8-
</None>
9-
</ItemGroup>
103
<ItemGroup>
114
<NativeLibs Condition="$(Platform) == 'AnyCPU' Or $(Platform) == 'x64'" Include="$(MSBuildThisFileDirectory)x64\*.dll" />
125
<NativeLibs Condition="$(Platform) == 'x86'" Include="$(MSBuildThisFileDirectory)x86\*.dll" />
@@ -15,4 +8,4 @@
158
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
169
</None>
1710
</ItemGroup>
18-
</Project>
11+
</Project>

0 commit comments

Comments
 (0)