Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Publish NuGet packages
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillOsenkov committed Jul 26, 2022
1 parent 0f2ad7d commit b38d0b3
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 7 deletions.
16 changes: 15 additions & 1 deletion Core/MonoDevelop.Xml.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>MonoDevelop.Xml.Core</PackageId>
<Version>1.0.0</Version>
<Authors>mhutch, Microsoft</Authors>
<Company>Microsoft</Company>
<Summary>A full-fidelity XML parser</Summary>
<Description>A full-fidelity XML parser. Produces a syntax tree from XML text, and provides low-level API to examine the exact structure of the source text.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/xamarin/MonoDevelop.Xml</PackageProjectUrl>
<RepositoryUrl>https://github.com/xamarin/MonoDevelop.Xml</RepositoryUrl>
<PackageTags>Xml Parser</PackageTags>
</PropertyGroup>

</Project>
3 changes: 3 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)private.snk</AssemblyOriginatorKeyFile>
<LangVersion>latest</LangVersion>
<DebugType>embedded</DebugType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

</Project>
28 changes: 22 additions & 6 deletions Editor/MonoDevelop.Xml.Editor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,26 @@

<PropertyGroup>
<TargetFrameworks>net6.0;net472</TargetFrameworks>
<LangVersion>latest</LangVersion>
<!--
NU1701 - Restoring some net472 packages in net6.0.
-->
<NoWarn>$(NoWarn);NU1701</NoWarn>
</PropertyGroup>

<PropertyGroup>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>MonoDevelop.Xml.Editor</PackageId>
<Version>1.0.0</Version>
<Authors>mhutch, Microsoft</Authors>
<Company>Microsoft</Company>
<Summary>A full-fidelity XML language service</Summary>
<Description>A full-fidelity XML language service.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/xamarin/MonoDevelop.Xml</PackageProjectUrl>
<RepositoryUrl>https://github.com/xamarin/MonoDevelop.Xml</RepositoryUrl>
<PackageTags>Xml Parser</PackageTags>
</PropertyGroup>

<ItemGroup>
<Compile Remove="BaseXmlEditorExtension.cs" />
<Compile Remove="XmlParsedDocument.cs" />
Expand All @@ -23,11 +36,14 @@

<ItemGroup>
<ProjectReference Include="..\Core\MonoDevelop.Xml.Core.csproj" />
<PackageReference Include="Microsoft.VisualStudio.ImageCatalog" Version="17.1.32107.28" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.VisualStudio.Language" Version="17.1.387" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.VisualStudio.Language.Intellisense" Version="17.1.387" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.VisualStudio.Language.StandardClassification" Version="17.1.387" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.1.46" ExcludeAssets="runtime" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.ImageCatalog" Version="17.2.32505.113" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.VisualStudio.Language" Version="17.2.3194" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.VisualStudio.Language.Intellisense" Version="17.2.3194" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.VisualStudio.Language.StandardClassification" Version="17.2.3194" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.2.32" ExcludeAssets="runtime" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions push.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nuget.exe push -Source https://devdiv.pkgs.visualstudio.com/DevDiv/_packaging/VSMac/nuget/v3/index.json -ApiKey AzureDevOps Core\bin\Release\*.nupkg
nuget.exe push -Source https://devdiv.pkgs.visualstudio.com/DevDiv/_packaging/VSMac/nuget/v3/index.json -ApiKey AzureDevOps Editor\bin\Release\*.nupkg

0 comments on commit b38d0b3

Please sign in to comment.