Skip to content

Commit

Permalink
Removed dependency on Microsoft.CSharp for Reqnroll.Verify.ReqnrollPl…
Browse files Browse the repository at this point in the history
…ugin

Cleaned Reqnroll.Verify.ReqnrollPlugin.csproj to be more consistent with the other plugin project files
Fixed wrong tags in Reqnroll.Verify.nuspec
  • Loading branch information
ajeckmans committed May 30, 2024
1 parent b12ab8b commit 89bb559
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net472;net6.0</TargetFrameworks>
<NuspecFile>$(MSBuildThisFileDirectory)Reqnroll.Verify.nuspec</NuspecFile>
<AssemblyOriginatorKeyFile>$(Reqnroll_KeyFile)</AssemblyOriginatorKeyFile>
<SignAssembly>$(Reqnroll_EnableStrongNameSigning)</SignAssembly>
<PublicSign>$(Reqnroll_PublicSign)</PublicSign>

<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<NuspecFile>$(MSBuildThisFileDirectory)Reqnroll.Verify.nuspec</NuspecFile>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

Expand All @@ -21,7 +21,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Verify.Xunit" Version="24.2.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<icon>images\reqnroll-icon.png</icon>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">LICENSE</license>
<tags>reqnroll externaldata json</tags>
<tags>reqnroll verify</tags>
<copyright>$copyright$</copyright>

<dependencies>
Expand All @@ -30,9 +30,6 @@
<files>
<file src="build\**\*" target="build"/>

<file src="bin\$config$\net472\**\*" target="build\net472"/>
<file src="bin\$config$\net6.0\*" target="build\net6.0"/>

<file src="bin\$config$\net472\Reqnroll.Verify.ReqnrollPlugin.*" target="lib\net472"/>
<file src="bin\$config$\net6.0\Reqnroll.Verify.ReqnrollPlugin.*" target="lib\net6.0"/>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" TreatAsLocalProperty="TaskFolder;TaskAssembly">
<ItemGroup>
<ReqnrollGeneratorPlugins Include="$(_VerifyGeneratorPluginPath)" />
</ItemGroup>
<ItemGroup>
<None Include="$(_VerifyGeneratorPluginPath)" >
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
<PropertyGroup>
<_VerifyGeneratorPluginFramework Condition=" '$(MSBuildRuntimeType)' == 'Core'">netstandard2.0</_VerifyGeneratorPluginFramework>
<_VerifyGeneratorPluginFramework Condition=" '$(MSBuildRuntimeType)' != 'Core'">net462</_VerifyGeneratorPluginFramework>

<_VerifyGeneratorPluginPath>$(MSBuildThisFileDirectory)$(_VerifyGeneratorPluginFramework)\Reqnroll.Verify.ReqnrollPlugin.dll</_VerifyGeneratorPluginPath>

</PropertyGroup>
</Project>

0 comments on commit 89bb559

Please sign in to comment.