Added option to use local project reference

This commit is contained in:
Thorsten Sommer 2024-05-05 21:10:46 +02:00
parent fc4b841fb6
commit 4dbc4fedcd
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -20,9 +20,16 @@
<AssemblyName>CSVMetricsLogger</AssemblyName> <AssemblyName>CSVMetricsLogger</AssemblyName>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <PropertyGroup>
<UseLocalProjects Condition="'$(UseLocalProjects)' == ''">false</UseLocalProjects>
</PropertyGroup>
<ItemGroup Condition="'$(UseLocalProjects)' == 'true'">
<ProjectReference Include="..\CSV Metrics Logger Generator\CSV Metrics Logger Generator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" /> <ProjectReference Include="..\CSV Metrics Logger Generator\CSV Metrics Logger Generator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition="'$(UseLocalProjects)' == 'false'">
<PackageReference Include="CSVMetricsLoggerGenerator" Version="1.0.0" />
</ItemGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DocumentationFile>bin\Debug\CSVMetricsLogger.xml</DocumentationFile> <DocumentationFile>bin\Debug\CSVMetricsLogger.xml</DocumentationFile>