forked from andrewlock/StronglyTypedId
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update metapackage to use recommended configuration
- Loading branch information
1 parent
b05ff7b
commit 6eb5d9f
Showing
2 changed files
with
22 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,28 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<!-- Add the following element above any others: --> | ||
<Sdk Name="CodeGeneration.Roslyn.PluginMetapackage.Sdk" Version="0.7.63" /> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<NuspecFile>StronglyTypedId.nuspec</NuspecFile> | ||
<NuspecProperties>releaseNotes=$(PackageReleaseNotes);version=$(PackageVersion);authors=$(Authors);licenseUrl=$(PackageLicenseUrl);projectUrl=$(PackageProjectUrl);iconUrl=$(PackageIconUrl);copyright=$(Copyright);tags=$(PackageTags);versionOfCodegenRoslyn=$(CodeGenerationRoslynPackagesVersion);requireLicenseAcceptance=false</NuspecProperties> | ||
<!-- Declare the TargetFramework(s) the same as in your Attributes package --> | ||
<TargetFrameworks>netstandard1.0;netstandard2.0</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
</Project> | ||
|
||
<ItemGroup> | ||
<!-- Reference your Attributes project normally --> | ||
<ProjectReference Include="../StronglyTypedId.Attributes/StronglyTypedId.Attributes.csproj" /> | ||
<!-- | ||
Reference your generators package by adding an item to NupkgAdditionalDependency | ||
with IncludeAssets="all" to flow "build" assets. | ||
Version used will be the PackageVersion Pack resolves, | ||
but you can specify Version metadata to override it. | ||
This is necessary to do like that, because it ensures the dependency is setup | ||
correctly (e.g. simple transient dependency), and skips validation of TFM (Plugin is a tool, | ||
it's TFM has no meaning for the consumer). | ||
--> | ||
<NupkgAdditionalDependency | ||
Include="StronglyTypedId.Generator" | ||
IncludeAssets="all" /> | ||
</ItemGroup> | ||
</Project> |
This file was deleted.
Oops, something went wrong.