Skip to content

Commit 979a71e

Browse files
committed
make library work for any bitness
1 parent 15f07e3 commit 979a71e

File tree

5 files changed

+1139
-253
lines changed

5 files changed

+1139
-253
lines changed

LibSass.NET.Tests/LibSass.NET.Tests.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<ErrorReport>prompt</ErrorReport>
2323
<WarningLevel>4</WarningLevel>
2424
<Prefer32Bit>false</Prefer32Bit>
25-
<PlatformTarget>x64</PlatformTarget>
2625
</PropertyGroup>
2726
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2827
<DebugType>pdbonly</DebugType>
@@ -120,8 +119,8 @@
120119
<Error Condition="!Exists('..\packages\xunit.runner.visualstudio.2.1.0\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.2.1.0\build\net20\xunit.runner.visualstudio.props'))" />
121120
</Target>
122121
<PropertyGroup>
123-
<PostBuildEvent Condition="$(Configuration) == 'Debug'">copy "$(SolutionDir)bin\Debug\libsass.dll" "$(OutputDir)libsass.dll"</PostBuildEvent>
124-
<PostBuildEvent Condition="$(Configuration) == 'Release'">copy "$(SolutionDir)bin\libsass.dll" "$(OutputDir)libsass.dll"</PostBuildEvent>
122+
<PostBuildEvent>copy "$(SolutionDir)bin\x86\libsass.dll" "$(OutputDir)libsass32.dll"
123+
copy "$(SolutionDir)bin\x64\libsass.dll" "$(OutputDir)libsass64.dll"</PostBuildEvent>
125124
</PropertyGroup>
126125
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
127126
Other similar extension points exist, see Microsoft.Common.targets.

0 commit comments

Comments
 (0)