Skip to content

Commit

Permalink
Merge pull request grpc#31 from chwarr/msbuild_import_dir_trailing_slash
Browse files Browse the repository at this point in the history
Fix import directories with trailing slashes
  • Loading branch information
sapek committed Feb 7, 2015
2 parents 42bc0cb + c8a0fc4 commit 6ba51ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cs/build/Bond.CSharp.targets
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<PropertyGroup>
<_BondExe Condition="'$(OS)' != 'Unix' Or Exists('$(BOND_COMPILER_PATH)\gbc.exe')">"$(BOND_COMPILER_PATH)\gbc.exe"</_BondExe>
<_BondExe Condition="'$(OS)' == 'Unix' And !Exists('$(BOND_COMPILER_PATH)\gbc.exe')">gbc</_BondExe>
<_BondImportDirs>--import-dir="$(BOND_INCLUDE_PATH)" @(BondImportDirectory -> '--import-dir=&quot;%(Identity)&quot;',' ')</_BondImportDirs>
<_BondImportDirs>--import-dir="$(BOND_INCLUDE_PATH)" @(BondImportDirectory -> '--import-dir=&quot;%(Identity)\.&quot;',' ')</_BondImportDirs>
<_BondCommand>$(_BondExe) $(BondCodegenMode) $(_BondImportDirs) --namespace=bond=Bond --output-dir="$(BondOutputDirectory)\."</_BondCommand>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion cs/test/core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<BondOptions>--collection-interfaces</BondOptions>
</PropertyGroup>
<ItemGroup>
<BondImportDirectory Include="import dir with spaces" />
<BondImportDirectory Include="import dir with spaces\" />
</ItemGroup>
<ItemGroup>
<Compile Include="AttributesTests.cs" />
Expand Down

0 comments on commit 6ba51ef

Please sign in to comment.