forked from loafle/openapi-generator-original
[csharp] Fix project glob pattern (#5605)
This fixes the glob pattern to remove hard-coded namespaces, and exclude the obj folder. This removes a newly introduced issue that breaks apiPackage and modelPackage support and fixes a problem with Xamarin pulling in obj/**.cs when globbing **/*.cs.
This commit is contained in:
parent
9b68f02f83
commit
eaa2dc6d21
@ -88,10 +88,8 @@
|
|||||||
{{/netStandard}}
|
{{/netStandard}}
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Api\**\*.cs"/>
|
<Compile Include="**\*.cs"
|
||||||
<Compile Include="Client\**\*.cs"/>
|
Exclude="obj\**" />
|
||||||
<Compile Include="Model\**\*.cs"/>
|
|
||||||
<Compile Include="Properties\**\*.cs"/>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
{{^netStandard}}
|
{{^netStandard}}
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -78,7 +78,8 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="**\*.cs"/>
|
<Compile Include="**\*.cs"
|
||||||
|
Exclude="obj\**"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user