Skip to content

Commit 36c653f

Browse files
dustinsoftwareDaniel15
authored andcommittedOct 19, 2017
Exclude node_modules (#442)
This fixes building within VS 2017 community. node_modules can sometimes contain paths that are very long, which can trigger an msbuild bug dotnet/msbuild#406
1 parent 5d1bd9d commit 36c653f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/React.Core/React.Core.csproj

+6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
2020
</PropertyGroup>
2121

22+
<ItemGroup>
23+
<Compile Remove="node_modules\**" />
24+
<EmbeddedResource Remove="node_modules\**" />
25+
<None Remove="node_modules\**" />
26+
</ItemGroup>
27+
2228
<ItemGroup>
2329
<Compile Include="..\SharedAssemblyInfo.cs" />
2430
<Compile Include="..\SharedAssemblyVersionInfo.cs" />

0 commit comments

Comments
 (0)
Please sign in to comment.