Skip to content

Commit 067b847

Browse files
committed
Use links for ClearScript DLLs rather than a local copy
Always use ClearScript DLLs from the `packages` directory so `React.Sample.Mvc4` doesn't need its own copy.
1 parent dff1c7c commit 067b847

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

src/React.Sample.Mvc4/React.Sample.Mvc4.csproj

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,22 @@
136136
<ItemGroup>
137137
<Compile Include="App_Start\FilterConfig.cs" />
138138
<Compile Include="App_Start\RouteConfig.cs" />
139-
<None Include="ClearScript.V8\ClearScriptV8-32.dll">
139+
<Content Include="..\packages\JavaScriptEngineSwitcher.V8.1.2.1\content\ClearScript.V8\ClearScriptV8-32.dll">
140+
<Link>ClearScript.V8\ClearScriptV8-32.dll</Link>
140141
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
141-
</None>
142-
<None Include="ClearScript.V8\ClearScriptV8-64.dll">
142+
</Content>
143+
<Content Include="..\packages\JavaScriptEngineSwitcher.V8.1.2.1\content\ClearScript.V8\ClearScriptV8-64.dll">
144+
<Link>ClearScript.V8\ClearScriptV8-64.dll</Link>
143145
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
144-
</None>
145-
<None Include="ClearScript.V8\v8-ia32.dll">
146+
</Content>
147+
<Content Include="..\packages\JavaScriptEngineSwitcher.V8.1.2.1\content\ClearScript.V8\v8-ia32.dll">
148+
<Link>ClearScript.V8\v8-ia32.dll</Link>
146149
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
147-
</None>
148-
<None Include="ClearScript.V8\v8-x64.dll">
150+
</Content>
151+
<Content Include="..\packages\JavaScriptEngineSwitcher.V8.1.2.1\content\ClearScript.V8\v8-x64.dll">
152+
<Link>ClearScript.V8\v8-x64.dll</Link>
149153
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
150-
</None>
154+
</Content>
151155
<Content Include="Content\Sample.css" />
152156
<Content Include="Global.asax" />
153157
<Content Include="Web.config" />

0 commit comments

Comments
 (0)