Skip to content

Commit

Permalink
Added common MSBuild properties to keep packages in sync.
Browse files Browse the repository at this point in the history
  • Loading branch information
Grizzlly committed Jul 18, 2023
1 parent 66bbc35 commit 5b437c4
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 23 deletions.
17 changes: 17 additions & 0 deletions CommonProject.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<Project>

<PropertyGroup>
<IsPackable>true</IsPackable>
<Version>0.0.2</Version>
<Authors>Andrei Stan</Authors>
<Description>Build UI with Vue components! React coming soon...</Description>
<PackageTags>jsinterop</PackageTags>
<Copyright>Copyright ©Andrei Stan 2023</Copyright>
<PackageProjectUrl>https://github.com/Grizzlly/Grizzlly.BlazorJS</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/Grizzlly/Grizzlly.BlazorJS</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<GenerateDependencyFile>true</GenerateDependencyFile>
</PropertyGroup>

</Project>
11 changes: 10 additions & 1 deletion Grizzlly.BlazorJS.sln
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,18 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.gitattributes = .gitattributes
.gitignore = .gitignore
LICENSE.txt = LICENSE.txt
CommonProject.xml = CommonProject.xml
README.md = README.md
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Grizzlly.BlazorJS.MSBuild.Test", "test\Grizzlly.BlazorJS.MSBuild.Test\Grizzlly.BlazorJS.MSBuild.Test.csproj", "{E3A9B283-D97C-46C8-AD30-DF3F9585206B}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Grizzlly.BlazorJS.MSBuild.Test", "test\Grizzlly.BlazorJS.MSBuild.Test\Grizzlly.BlazorJS.MSBuild.Test.csproj", "{E3A9B283-D97C-46C8-AD30-DF3F9585206B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{733D8E63-028D-48EC-91FE-3924939EF4A6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{BF931F52-821C-4256-8DC2-6498D185BC34}"
ProjectSection(SolutionItems) = preProject
.github\workflows\dotnet-test.yml = .github\workflows\dotnet-test.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -54,6 +62,7 @@ Global
{1F82B474-01D0-4314-BD82-7B10B0CA9CD6} = {AAA07058-90F0-43D5-9B1F-52A695E57554}
{25340CCA-DE43-4D8A-9536-DB75DFFB83F0} = {F2B97CA5-DDBE-4F8B-8406-EDB503E67467}
{E3A9B283-D97C-46C8-AD30-DF3F9585206B} = {F2B97CA5-DDBE-4F8B-8406-EDB503E67467}
{BF931F52-821C-4256-8DC2-6498D185BC34} = {733D8E63-028D-48EC-91FE-3924939EF4A6}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {40A8B93C-2664-469A-866B-E2E6F2D384DB}
Expand Down
13 changes: 2 additions & 11 deletions src/Grizzlly.BlazorJS.MSBuild/Grizzlly.BlazorJS.MSBuild.csproj
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../../CommonProject.xml"/>

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>9.0</LangVersion>
<PackageId>Grizzlly.BlazorJS.MSBuild</PackageId>

<IsPackable>true</IsPackable>
<Version>0.0.2</Version>
<Title>Grizzlly.BlazorJS.MSBuild</Title>
<Authors>Andrei Stan</Authors>
<Description>Build UI with Vue components! React coming soon...</Description>
<PackageTags>jsinterop</PackageTags>
<Copyright>Copyright ©Andrei Stan 2023</Copyright>
<PackageProjectUrl>https://github.com/Grizzlly/Grizzlly.BlazorJS</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/Grizzlly/Grizzlly.BlazorJS</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>

<TargetsForTfmSpecificBuildOutput>
$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage
Expand Down
14 changes: 3 additions & 11 deletions src/Grizzlly.BlazorJS/Grizzlly.BlazorJS.csproj
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<Import Project="../../CommonProject.xml"/>

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

<IsPackable>true</IsPackable>
<Version>0.0.2</Version>
<PackageId>Grizzlly.BlazorJS</PackageId>
<Title>Grizzlly.BlazorJS</Title>
<Authors>Andrei Stan</Authors>
<Description>Build UI with Vue components! React coming soon...</Description>
<PackageTags>jsinterop</PackageTags>
<Copyright>Copyright ©Andrei Stan 2023</Copyright>
<PackageProjectUrl>https://github.com/Grizzlly/Grizzlly.BlazorJS</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/Grizzlly/Grizzlly.BlazorJS</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<GenerateDependencyFile>true</GenerateDependencyFile>

<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>
Expand Down

0 comments on commit 5b437c4

Please sign in to comment.