Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Jan 17, 2024
1 parent 6d1d080 commit 5632fbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions Reqnroll/Reqnroll.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>

<NoWarn>$(NoWarn);1591</NoWarn>
<NoWarn>$(NoWarn);1591;CS2002</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

Expand Down Expand Up @@ -70,12 +70,8 @@
<Target Name="RunTokenReplace" AfterTargets="GetBuildVersion" BeforeTargets="BeforeCompile" Condition="$(DesignTimeBuild) != 'true' OR '$(BuildingProject)' == 'true'">
<ReplaceTextInFileTask InputFile="$(ProjectDir)Analytics/AppInsights/AppInsightsInstrumentationKey.template.cs" OutputFile="$(ProjectDir)Analytics/AppInsights/AppInsightsInstrumentationKey.cs" TextToReplace="&lt;InstrumentationKeyGoesHere&gt;" TextToReplaceWith="$(AppInsightsInstrumentationKey)" WriteOnlyWhenChanged="true" />
<ItemGroup >
<Compile Include="$(ProjectDir)Analytics/AppInsights/AppInsightsInstrumentationKey.cs"
Condition="'%(Compile.Identity)' == '$(ProjectDir)Analytics/AppInsights/AppInsightsInstrumentationKey.cs'" />
<Compile Include="$(ProjectDir)Analytics/AppInsights/AppInsightsInstrumentationKey.cs" />
</ItemGroup>
<PropertyGroup>
<AppInsightsInstrumentationKeyIncluded>true</AppInsightsInstrumentationKeyIncluded>
</PropertyGroup>
</Target>

</Project>
4 changes: 2 additions & 2 deletions Tests/Reqnroll.Specs/Reqnroll.Specs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<AddSyntheticProjectReferencesForSolutionDependencies>false</AddSyntheticProjectReferencesForSolutionDependencies>
<Reqnroll_DeleteCodeBehindFilesOnCleanRebuild>true</Reqnroll_DeleteCodeBehindFilesOnCleanRebuild>
<RunPostBuildEvent>Always</RunPostBuildEvent>
<NoWarn>$(NoWarn);CS2002</NoWarn>

</PropertyGroup>
<ItemGroup>
Expand Down Expand Up @@ -67,8 +68,7 @@
<ReplaceTextInFileTask InputFile="$(ProjectDir)\\NuGetPackageVersion.template.cs" OutputFile="$(ProjectDir)\\NuGetPackageVersion.cs" TextToReplace="NUGET_VERSION" TextToReplaceWith="$(NuGetPackageVersion)" WriteOnlyWhenChanged="true" />

<ItemGroup>
<Compile Include="$(ProjectDir)\\NuGetPackageVersion.cs"
Condition="'%(Compile.Identity)' == '$(ProjectDir)\\NuGetPackageVersion.cs'" />
<Compile Include="$(ProjectDir)\\NuGetPackageVersion.cs" />
</ItemGroup>
</Target>

Expand Down

0 comments on commit 5632fbc

Please sign in to comment.