Compare commits
28 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd27eb85ca | ||
|
|
dfa594724e | ||
|
|
4d0ccbf5b4 | ||
|
|
1b69dbad57 | ||
|
|
d6bc41548e | ||
|
|
0852227caf | ||
|
|
f358604410 | ||
|
|
997233a5f1 | ||
|
|
96f23b211e | ||
|
|
7e48c76fd9 | ||
|
|
d446771de8 | ||
|
|
30c8a22016 | ||
|
|
8c1b5b98ef | ||
|
|
8ad39694bd | ||
|
|
089425ca59 | ||
|
|
036d562f6a | ||
|
|
e4e7e637c5 | ||
|
|
b35ec0902b | ||
|
|
fd1a4a730e | ||
|
|
70d509a5a0 | ||
|
|
08cdf57817 | ||
|
|
4eb51e11e4 | ||
|
|
1970770f13 | ||
|
|
910033e1e7 | ||
|
|
baba93d3cc | ||
|
|
dd600a1219 | ||
|
|
6283707fdf | ||
|
|
5cc9996f39 |
79
.gitea/workflows/develop.yml
Normal file
79
.gitea/workflows/develop.yml
Normal file
@@ -0,0 +1,79 @@
|
||||
name: Develop Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
source-url: http://192.168.2.83:3100/api/packages/sxhundred/nuget/index.json
|
||||
env:
|
||||
NUGET_AUTH_TOKEN: ${{secrets.READ_NUGET_PAT}}
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
name: Checkout
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Add Nuget Credentials
|
||||
# run: dotnet nuget update source gitea --username sxhundred --password ${{ secrets.READ_NUGET_PAT }} --store-password-in-clear-text --configfile nuget.config
|
||||
run: dotnet nuget update source gitea --username ${{ secrets.READ_NUGET_USER }} --password ${{ secrets.READ_NUGET_PAT }} --store-password-in-clear-text --configfile nuget.config
|
||||
|
||||
|
||||
- name: Install GitVersion
|
||||
uses: gittools/actions/gitversion/setup@v0
|
||||
with:
|
||||
versionSpec: '5.x'
|
||||
|
||||
- name: Determine Version
|
||||
uses: gittools/actions/gitversion/execute@v0
|
||||
|
||||
# restore
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore "PackageTest.sln"
|
||||
|
||||
# SimplePackage
|
||||
- name: Build SimplePackage
|
||||
run: dotnet build "SimplePackage/SimplePackage.csproj" --no-restore -c Debug /property:Version=${{ env.GitVersion_SemVer }}
|
||||
- name: Pack SimplePackage
|
||||
run: dotnet pack "SimplePackage/SimplePackage.csproj" --no-restore -c Debug /property:Version=${{ env.GitVersion_SemVer }}
|
||||
|
||||
- name: Upload Artifact SimplePackage
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: nupkg_SimplePackage
|
||||
path: SimplePackage/bin/Debug/*.*nupkg
|
||||
|
||||
- name: Publish Develop SimplePackage
|
||||
run: dotnet nuget push SimplePackage/bin/Debug/*.nupkg --api-key ${{ secrets.READ_NUGET_PAT }} --no-symbols
|
||||
|
||||
- name: Login to Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: http://192.168.2.83:3100
|
||||
username: ${{ secrets.READ_NUGET_USER }}
|
||||
password: ${{ secrets.READ_NUGET_PAT }}
|
||||
|
||||
|
||||
- name: Build Docker Image
|
||||
run: |
|
||||
docker build --build-arg BuildVersion=${{ env.GitVersion_SemVer }} \
|
||||
--build-arg PACKAGETEST_FEED_URL=http://192.168.2.83:3100/api/packages/sxhundred/nuget/index.json \
|
||||
--build-arg READ_NUGET_USER=${{ secrets.READ_NUGET_USER }} \
|
||||
--build-arg READ_NUGET_PAT=${{ secrets.READ_NUGET_PAT }} \
|
||||
-f SimplePackage/Dockerfile \
|
||||
-t 192.168.2.83:3100/sxhundred/packagetest:latest .
|
||||
|
||||
- name: Push Docker Image
|
||||
run: |
|
||||
echo ${{ secrets.READ_NUGET_PAT }} | docker login http://192.168.2.83:3100 -u ${{ secrets.READ_NUGET_USER }} --password-stdin
|
||||
docker tag 192.168.2.83:3100/sxhundred/packagetest:latest 192.168.2.83:3100/sxhundred/packagetest:develop
|
||||
docker push 192.168.2.83:3100/sxhundred/packagetest:develop
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -12,3 +12,5 @@
|
||||
# Built Visual Studio Code Extensions
|
||||
*.vsix
|
||||
|
||||
SimplePackage/obj/Debug/netstandard2.1/SimplePackage.AssemblyInfo.cs
|
||||
SimplePackage/obj/Debug/netstandard2.1/SimplePackage.AssemblyInfoInputs.cache
|
||||
|
||||
34
PackageTest.sln
Normal file
34
PackageTest.sln
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.0.31903.59
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimplePackage", "SimplePackage\SimplePackage.csproj", "{A640E140-8347-49BE-8089-B081AE263C4B}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Release|x64.Build.0 = Release|Any CPU
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{A640E140-8347-49BE-8089-B081AE263C4B}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
9
SimplePackage/Class1.cs
Normal file
9
SimplePackage/Class1.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using System;
|
||||
|
||||
namespace SimplePackage
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
8
SimplePackage/SimplePackage.csproj
Normal file
8
SimplePackage/SimplePackage.csproj
Normal file
@@ -0,0 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
45
SimplePackage/dockerfile
Normal file
45
SimplePackage/dockerfile
Normal file
@@ -0,0 +1,45 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build
|
||||
ARG BuildVersion
|
||||
ARG PACKAGETEST_FEED_URL
|
||||
ARG READ_NUGET_PAT
|
||||
ARG READ_NUGET_USER
|
||||
ARG BuildUniqueID
|
||||
LABEL build.uniqueid="${BuildUniqueID:-1}"
|
||||
RUN wget -qO- https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh | bash
|
||||
# Optional: Sometimes the http client hangs because of a .NEt issue. Setting this in dockerfile helps
|
||||
ENV DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0
|
||||
# Environment variable to enable seesion token cache. More on this here: https://github.com/Microsoft/artifacts-credprovider#help
|
||||
ENV NUGET_CREDENTIALPROVIDER_SESSIONTOKENCACHE_ENABLED true
|
||||
|
||||
# EEnvironment variable for adding endpoint credentials. More on this here: https://github.com/Microsoft/artifacts-credprovider#help
|
||||
# Add "FEED_URL" AND "PAT" using --build-arg in docker build step. "endpointCredentials" field is an array, you can add multiple endpoint configurations.
|
||||
# Make sure that you *do not* hard code the "PAT" here. That is a sensitive information and must not be checked in.
|
||||
# ENV VSS_NUGET_EXTERNAL_FEED_ENDPOINTS {\"endpointCredentials\": [{\"endpoint\":\"${FEED_URL}\", \"username\":\"ArtifactsDocker\", \"password\":\"${PAT}\"}, {\"endpoint\":\"${GITHUB_FEED_URL}\", \"username\":\"${GITHUB_USER}\", \"password\":\"${GITHUB_PAT}\"}]}
|
||||
# RUN dotnet nuget add source ${FEED_URL} --name "myfeed" --username "whatever" --password="${PAT}" --store-password-in-clear-text --valid-authentication-types "basic"
|
||||
RUN dotnet nuget add source ${PACKAGETEST_FEED_URL} --name "myfeed_gitea" --username "${READ_NUGET_USER}}" --password="${READ_NUGET_PAT}}" --store-password-in-clear-text --valid-authentication-types "basic"
|
||||
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN dotnet restore "SimplePackage/SimplePackage.csproj" --runtime linux-x64
|
||||
WORKDIR "/src/SimplePackage"
|
||||
RUN dotnet build "SimplePackage.csproj" --no-restore -c Release -o /app /property:Version=${BuildVersion:-1.0.0-dev} --self-contained --runtime linux-x64
|
||||
|
||||
FROM build AS publish
|
||||
ENV TZ=Europe/Berlin
|
||||
ENV LANG de_DE.UTF-8
|
||||
ENV LANGUAGE de_DE:de
|
||||
ENV LC_ALL de_DE.UTF-8
|
||||
ARG BuildVersion
|
||||
RUN dotnet publish "SimplePackage.csproj" --no-restore -c Release -o /app /property:Version=${BuildVersion:-1.0.0-dev} --self-contained --runtime linux-x64
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-jammy-chiseled-extra AS final
|
||||
ENV TZ=Europe/Berlin
|
||||
ENV LANG de_DE.UTF-8
|
||||
ENV LANGUAGE de_DE:de
|
||||
ENV LC_ALL de_DE.UTF-8
|
||||
ENV ASPNETCORE_HTTP_PORTS=8080
|
||||
ENV ASPNETCORE_URLS=http://*:8080
|
||||
EXPOSE 8080
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app .
|
||||
ENTRYPOINT ["./SimplePackage"]
|
||||
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
|
||||
@@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("SimplePackage")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8c1b5b98efcd5ae7de7bc0b1acca41a99ae0a5f9")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("SimplePackage")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("SimplePackage")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
d13dd859a44f6a959948a67993e67874b403f208d72a15200efac2129f0e0b8a
|
||||
@@ -0,0 +1,8 @@
|
||||
is_global = true
|
||||
build_property.RootNamespace = SimplePackage
|
||||
build_property.ProjectDir = C:\Projects\Prototyping\PackageTest\SimplePackage\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.CsWinRTUseWindowsUIXamlProjections = false
|
||||
build_property.EffectiveAnalysisLevelStyle =
|
||||
build_property.EnableCodeStyleSeverity =
|
||||
Binary file not shown.
76
SimplePackage/obj/SimplePackage.csproj.nuget.dgspec.json
Normal file
76
SimplePackage/obj/SimplePackage.csproj.nuget.dgspec.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Projects\\Prototyping\\PackageTest\\SimplePackage\\SimplePackage.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Projects\\Prototyping\\PackageTest\\SimplePackage\\SimplePackage.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Projects\\Prototyping\\PackageTest\\SimplePackage\\SimplePackage.csproj",
|
||||
"projectName": "SimplePackage",
|
||||
"projectPath": "C:\\Projects\\Prototyping\\PackageTest\\SimplePackage\\SimplePackage.csproj",
|
||||
"packagesPath": "C:\\Users\\r.fieger\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Projects\\Prototyping\\PackageTest\\SimplePackage\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\r.fieger\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netstandard2.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"http://192.168.2.83:3100/api/packages/sxhundred/nuget/index.json": {},
|
||||
"https://api.nuget.org/v3/index.json": {},
|
||||
"https://nuget.pkg.github.com/CMFramework/index.json": {},
|
||||
"https://tfs.paragon-systems.de/ParagonData/_packaging/Paragon_nuget/nuget/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.1": {
|
||||
"targetAlias": "netstandard2.1",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
},
|
||||
"SdkAnalysisLevel": "9.0.300"
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.1": {
|
||||
"targetAlias": "netstandard2.1",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"NETStandard.Library": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.304\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
SimplePackage/obj/SimplePackage.csproj.nuget.g.props
Normal file
16
SimplePackage/obj/SimplePackage.csproj.nuget.g.props
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\r.fieger\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.14.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\r.fieger\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
2
SimplePackage/obj/SimplePackage.csproj.nuget.g.targets
Normal file
2
SimplePackage/obj/SimplePackage.csproj.nuget.g.targets
Normal file
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
||||
82
SimplePackage/obj/project.assets.json
Normal file
82
SimplePackage/obj/project.assets.json
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
".NETStandard,Version=v2.1": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
".NETStandard,Version=v2.1": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\r.fieger\\.nuget\\packages\\": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Projects\\Prototyping\\PackageTest\\SimplePackage\\SimplePackage.csproj",
|
||||
"projectName": "SimplePackage",
|
||||
"projectPath": "C:\\Projects\\Prototyping\\PackageTest\\SimplePackage\\SimplePackage.csproj",
|
||||
"packagesPath": "C:\\Users\\r.fieger\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Projects\\Prototyping\\PackageTest\\SimplePackage\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\r.fieger\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netstandard2.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"http://192.168.2.83:3100/api/packages/sxhundred/nuget/index.json": {},
|
||||
"https://api.nuget.org/v3/index.json": {},
|
||||
"https://nuget.pkg.github.com/CMFramework/index.json": {},
|
||||
"https://tfs.paragon-systems.de/ParagonData/_packaging/Paragon_nuget/nuget/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.1": {
|
||||
"targetAlias": "netstandard2.1",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
},
|
||||
"SdkAnalysisLevel": "9.0.300"
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.1": {
|
||||
"targetAlias": "netstandard2.1",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"NETStandard.Library": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.304\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
8
SimplePackage/obj/project.nuget.cache
Normal file
8
SimplePackage/obj/project.nuget.cache
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "54+f9PJRD6U=",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Projects\\Prototyping\\PackageTest\\SimplePackage\\SimplePackage.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
||||
20
nuget.config
Normal file
20
nuget.config
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="github-cmframework" value="https://nuget.pkg.github.com/CMFramework/index.json" protocolVersion="3" />
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||
<!-- add key="LocalPackages" value="C:\Projects\graphql-platform\output\packages" /> -->
|
||||
<add key="gitea" value="http://192.168.2.83:3100/api/packages/sxhundred/nuget/index.json" protocolVersion="3" allowInsecureConnections="true" />
|
||||
</packageSources>
|
||||
<packageSourceCredentials>
|
||||
<github-cmframework>
|
||||
<add key="Username" value="RolandFieger" />
|
||||
<add key="ClearTextPassword" value="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" />
|
||||
</github-cmframework>
|
||||
<gitea>
|
||||
<add key="Username" value="sxhundred" />
|
||||
<add key="Password" value="AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA5avtCte4zkeYwtYGfEUVJgAAAAACAAAAAAAQZgAAAAEAACAAAAA+gnGUT/M7JyIjsnVajlSY2MogTFOp/1oQWk63ew1C/QAAAAAOgAAAAAIAACAAAABjiIEWXBa0PHeEpTyKVAwLKAqxz+I9mzR/0oZjzhr2LDAAAAAhKLZ08rALZ4RrYMvPits54SpvKrE/iaLluqhOb90r+wQPzp13ctqsIaKG8UXI1JFAAAAAq0JJQMreqowYMuUQCPX6hb9MnrCB7Y++Q2WWR3C66kVpYluZpkY6SxM1lyrHaUFwp8cve4dd8kgLFDJrk+9Kpw==" />
|
||||
</gitea>
|
||||
</packageSourceCredentials>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user