Skip to content

Commit 8b67880

Browse files
committed
Add nuspec file
1 parent c3904de commit 8b67880

2 files changed

Lines changed: 45 additions & 2 deletions

File tree

source/IdentityServer3.Contrib.Localization.UI/IdentityServer3.Contrib.Localization.UI.csproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
<DebugSymbols>true</DebugSymbols>
1717
<DebugType>full</DebugType>
1818
<Optimize>false</Optimize>
19-
<OutputPath>bin\Debug\</OutputPath>
19+
<OutputPath>..\..\output\debug\</OutputPath>
2020
<DefineConstants>DEBUG;TRACE</DefineConstants>
2121
<ErrorReport>prompt</ErrorReport>
2222
<WarningLevel>4</WarningLevel>
2323
</PropertyGroup>
2424
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2525
<DebugType>pdbonly</DebugType>
2626
<Optimize>true</Optimize>
27-
<OutputPath>bin\Release\</OutputPath>
27+
<OutputPath>..\..\output\release\</OutputPath>
2828
<DefineConstants>TRACE</DefineConstants>
2929
<ErrorReport>prompt</ErrorReport>
3030
<WarningLevel>4</WarningLevel>
@@ -77,6 +77,7 @@
7777
</ItemGroup>
7878
<ItemGroup>
7979
<None Include="IdentityServer3.Contrib.Localization.UI.csproj.paket.references" />
80+
<None Include="IdentityServer3.Contrib.Localization.UI.nuspec" />
8081
<None Include="Resources\de.po">
8182
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
8283
</None>
@@ -190,4 +191,10 @@
190191
</ItemGroup>
191192
</When>
192193
</Choose>
194+
<PropertyGroup>
195+
<PostBuildEvent>if $(ConfigurationName) == Release (
196+
if not exist "$(SolutionDir)..\packages" mkdir "$(SolutionDir)..\packages"
197+
"$(SolutionDir)..\tools\nuget.exe" pack "$(SolutionDir)IdentityServer3.Contrib.Localization.UI\IdentityServer3.Contrib.Localization.UI.nuspec" -OutputDirectory "$(SolutionDir)..\packages"
198+
)</PostBuildEvent>
199+
</PropertyGroup>
193200
</Project>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3+
<metadata>
4+
<id>IdentityServer3.Contrib.Localization.UI</id>
5+
<version>1.0.0</version>
6+
<title>Thinktecture IdentityServer3 - Localization.UI</title>
7+
<authors>Norbert Eder (MARMIND)</authors>
8+
<licenseUrl>https://github.com/marmind/IdentityServer3.Contrib.Localization.UI/blob/master/LICENSE</licenseUrl>
9+
<projectUrl>https://github.com/marmind/IdentityServer3.Contrib.Localization.UI</projectUrl>
10+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
11+
<description>Contrib implementation of IViewLoader for IdentityServer3 views in multiple languages</description>
12+
<releaseNotes>Working release.</releaseNotes>
13+
<tags>IdentityServer3, i18n, Localize, UI</tags>
14+
<dependencies>
15+
<dependency id="Thinktecture.IdentityServer3" version="1.6.1" />
16+
<dependency id="SecondLanguage" version="1.0.1" />
17+
<dependency id="Newtonsoft.Json" version="6.0.8" />
18+
</dependencies>
19+
</metadata>
20+
<files>
21+
<file src="assets\checksession.html" target="assets\checksession.html" />
22+
<file src="assets\FormPostResponse.html" target="assets\FormPostResponse.html" />
23+
<file src="assets\layout.html" target="assets\layout.html" />
24+
<file src="assets\welcome.html" target="assets\welcome.html" />
25+
<file src="assets\_consent.html" target="assets\_consent.html" />
26+
<file src="assets\_error.html" target="assets\_error.html" />
27+
<file src="assets\_loggedOut.html" target="assets\_loggedOut.html" />
28+
<file src="assets\_login.html" target="assets\_login.html" />
29+
<file src="assets\_logout.html" target="assets\_logout.html" />
30+
<file src="assets\_permissions.html" target="assets\_permissions.html" />
31+
<file src="Resources\de.po" target="resources\de.po" />
32+
<file src="Resources\en.po" target="resources\en.po" />
33+
<file src="..\..\output\release\IdentityServer3.Contrib.Localization.UI.dll" target="lib\net45\IdentityServer3.Contrib.Localization.UI.dll" />
34+
<file src="..\..\output\release\IdentityServer3.Contrib.Localization.UI.pdb" target="lib\net45\IdentityServer3.Contrib.Localization.UI.pdb" />
35+
</files>
36+
</package>

0 commit comments

Comments
 (0)