Skip to content

Commit 501ec47

Browse files
committed
Fix design-time builds in VS
Work around a bug seen as a result of producing deterministic builds. The error was: > SourceRoot items must include at least one top-level (not nested) item when DeterministicSourcePaths is true
1 parent bad9dc7 commit 501ec47

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/Directory.Build.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Project>
2+
<!-- Workaround for https://github.com/dotnet/sourcelink/issues/572 -->
3+
<ItemGroup>
4+
<SourceRoot Include="$(MSBuildThisFileDirectory)/" />
5+
</ItemGroup>
6+
</Project>

src/NetMQ.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1212
..\.travis.yml = ..\.travis.yml
1313
..\appveyor.yml = ..\appveyor.yml
1414
..\COPYING.LESSER = ..\COPYING.LESSER
15+
Directory.Build.props = Directory.Build.props
1516
Directory.Build.targets = Directory.Build.targets
1617
..\mkdocs.yml = ..\mkdocs.yml
1718
..\README.md = ..\README.md

0 commit comments

Comments
 (0)